====== Remote Access to Lab Computers ====== To access the lab computers remotely, we suggest the methods described below. See [[courses:aro:tutorials:remote_access#more_information|more information]] if the suggested methods don't work. ===== Get a Computer ===== The lab computers are typically not running. To start a computer,\\ ''ssh student@turtle.felk.cvut.cz'' (password ''xxx'')\\ and select the lab you like to get a computer from. You'll be assigned a computer which you can connect to with one of the following methods (after waiting a minute or so). The computer will be started if it is not already running. Note that the computer may still be shared with other students. If so, try getting another computer, or set your own [[http://wiki.ros.org/roslaunch/Commandline%20Tools#Launch_syntax|roscore port]] to avoid conflicts. ===== SSH ===== SSH client [[https://www.putty.org/|PuTTY]] can be used on Windows. Connect to the ''target-computer'' you got [[courses:aro:tutorials:remote_access#get_a_computer|above]] using a jump host (flag ''-J'') and your ''username'':\\ ''ssh -Y -J username@turtle.felk.cvut.cz username@target-computer''\\ Flag ''-Y'' enables trusted X11 forwarding. Then, you can directly run [[https://en.wikipedia.org/wiki/X_Window_System|X]] applications. On Windows, you'll need to install an X server, e.g. [[http://www.straightrunning.com/XmingNotes/|Xming]]. Using the remote desktop below may be preferred as it provides full access to the computer and works better on low-quality connections. ===== Remote Desktop ===== Connect to the ''target-computer'' you got [[courses:aro:tutorials:remote_access#get_a_computer|above]]:\\ ''ssh -Y -J username@turtle.felk.cvut.cz username@target-computer''\\ Start a desktop window manager accessible via [[https://xpra.org/|Xpra]]:\\ ''remote-desktop start xpra'' Later, to list running desktops:\\ ''remote-desktop list''\\ Or, to kill desktop on display '':1'':\\ ''remote-desktop stop 1'' On your computer, [[https://xpra.org/trac/wiki/Download|download]] and install an Xpra client. (The version in the default Ubuntu 18.04 repository does not support proxy host.) Run the client. Connect to the session started above, using mode SSH -> SSH and proxy ''turtle.felk.cvut.cz''. ===== More Information ===== For more details, see * [[https://www.thewoodcraft.org/pub/hornilouka/videa/|video tutorials]] (in Czech and English), and * [[https://support.dce.felk.cvut.cz/mediawiki/index.php/Vzd%C3%A1len%C3%BD_p%C5%99%C3%ADstup_do_laborato%C5%99%C3%AD|how-to]] (in Czech).