Difference between revisions of "User account"

From radwiki
Jump to navigation Jump to search
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
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]].  
+
User accounts are required for [[SSH login|shell access]] to our [[GPU Cluster|HPC nodes]], including [[VNC|remote desktop usage]].
 +
 
 +
== Account creation ==
 +
User accounts for the [[GPU cluster]] must be created by someone with [[Admin|administrative-level]] access to the servers.  
  
 
The standard process is:  
 
The standard process is:  
Line 5: Line 8:
 
* Receive ID and password via email or WhatsApp.
 
* Receive ID and password via email or WhatsApp.
  
== Initial setup ==
+
After this, the user will have a private folder on `/home/[userID]` that can't be accessed by non-admins.
* [[SSH login]] and change your password upon first login, using the command <code>passwd</code>.
+
 
 +
== Connect ==
 +
Users can connect via [[SSH login|ssh]]. Refer to the server [[GPU_Cluster#Hardware_Specifications|spec table]] for the IP or URL.
  
After this, the user will have a folder on `/home/[userID]` that can't be accessed by non-admins.
+
== Change your password (recommended) ==
 +
* Change your password upon first login, using the command <code>passwd</code>. Don't use a weak password.
  
 
== Deactivate your anaconda environment (optional) ==
 
== 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`
+
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`. The modifications to `$PATH` have been associated with buggy remote desktop issues.
 
 
== Guide to using MATLAB commandline ==
 
Just use `matlab` on the commandline to start the interactive console.  
 
See [https://www.mathworks.com/help/matlab/ref/matlablinux.html the MATLAB documentation] for more options.
 
 
 
{{Note|currently not installed systemwide, see [[HKU MATLAB]] for installation notes|error}}
 
 
 
== Guide to using VNC ==
 
A user must start a running vnserver process and connect to it: `vncserver -name <sessionname> :<N>` where <N> is an integer. E.g. `vncserver -name bobsvnc :23` will create a session at display number 23, which means they have to connect to port 5923. The port formula is 5900+N. Ports occupied by others are not available, so if 23 was taken in the previous example it would have tried 24, etc. Users may request a permanent VNC on a fixed display number, if they use it alot.
 
 
 
Before a user can run a VNC session, they must have proper configurations, including setting a vnc password:
 
* set a `vnpcpasswd`
 
* check if the folder `~/.vnc` exists, if not try running `vncserver`
 
* copy 2 config files from `/home/utility/vncstuff` into ~/.Xresources and ~/.vnc/xstartup
 
* check your existing vncs with `vncserver -list`. Terminate them with `vncserver -kill <N>`.
 
* 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` or deleting `~/.config`.
 
 
 
The firewalls '''do not allow direct access''' on the VNC ports. To connect to the port you must first establish an [[SSH/SFTP|SSH tunnel]].
 
 
 
{{Note| To minimize bandwidth and cpu usage, do not use too many sessions, kill redundant sessions with `vncserver -kill`, and don't use uncompressed high quality video settings|warn}}
 

Latest revision as of 07:11, 17 August 2020

User accounts are required for shell access to our HPC nodes, including remote desktop usage.

Account creation

User accounts for the GPU cluster must be created by someone with administrative-level access to the servers.

The standard process is:

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

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

Connect

Users can connect via ssh. Refer to the server spec table for the IP or URL.

Change your password (recommended)

  • Change your password upon first login, using the command passwd. Don't use a weak password.

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. The modifications to $PATH have been associated with buggy remote desktop issues.