Difference between revisions of "User account"

From radwiki
Jump to navigation Jump to search
Line 25: Line 25:
 
* running `vncserver -name <yourname> :4` will give you a VNC at port 5904. The port formula is 5900+N.
 
* running `vncserver -name <yourname> :4` will give you a VNC at port 5904. The port formula is 5900+N.
 
* check your existing vncs with `vncserver -list`. Terminate them with `vncserver -kill <N>` where <N> is the integer.
 
* check your existing vncs with `vncserver -list`. Terminate them with `vncserver -kill <N>` where <N> is the integer.
* In case the desktop is blank upon login, replace the last line in ~/.vnc/xstartup with `dbus-launch xfce-session`. This seems to be a bug related to xfce and/or anaconda.
+
* In case the desktop is blank upon login, replace the last line in ~/.vnc/xstartup with `dbus-launch xfce-session`. This seems to be a bug related to xfce and/or anaconda. If that fails try `conda uninstall dbus`.

Revision as of 05:50, 11 April 2020

User accounts for the GPU cluster must be created by someone with administrative-level access to the servers. Currently (March 2020) Cao Peng is designated Admin.

The standard process is:

  • Request account from Admin
  • Receive ID and password via email or WhatsApp.

Initial setup

  • SSH login and change your password upon first login, using the command passwd.

After this, the user will have a folder on /home/[userID] that can't be accessed by non-admins.

Deactivate your anaconda environment (optional)

The Anaconda base environment may be activated by default when you first log in. To prevent this automatic activation type: conda config --set auto_activate_base false

Guide to using MATLAB commandline

Just use matlab on the commandline to start the interactive console. See the MATLAB documentation for more options.

currently not installed systemwide, see HKU MATLAB for installation notes

Guide to using VNC

  • set a vnpcpasswd
  • check if the folder ~/.vnc exists, if not try running vncserver
  • copy 2 config files into ~/.Xresources and ~/.vnc/xstartup
  • running vncserver -name <yourname> :4 will give you a VNC at port 5904. The port formula is 5900+N.
  • check your existing vncs with vncserver -list. Terminate them with vncserver -kill <N> where <N> is the integer.
  • In case the desktop is blank upon login, replace the last line in ~/.vnc/xstartup with dbus-launch xfce-session. This seems to be a bug related to xfce and/or anaconda. If that fails try conda uninstall dbus.