Search
To access the lab computers remotely, we suggest the methods described below. See more information if the suggested methods don't work.
The lab computers are typically not running, therefore the computer has to be remotely started. To start a computer, type ssh student@turtle.felk.cvut.cz (password xxx) and select the lab you like to get a computer from.
ssh student@turtle.felk.cvut.cz
xxx
student
Select a pool from which you want the computer from. Type yes if you are prompted to start the machine. Use 0) Lab E:130 with TurtleBots (7x HP first floor) only if you need to interact with a physical turtlebot in the lab. You'll be assigned a computer <target-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. Remember the <target-computer> eg. e132-21 for future use.
yes
0) Lab E:130 with TurtleBots (7x HP first floor)
<target-computer>
Note that the computer may still be shared with other students. If so, try getting another computer, or set your own roscore port to avoid conflicts.
Once you get your computer <target-computer>, you can access it through SSH or remote desktop.
Any SSH client can be used for a remote access from Linux or MacOS. Use PuTTY on Windows.
Connect to the <target-computer> you got 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.
-J
<username>
ssh -Y -J <username>@turtle.felk.cvut.cz <username>@<target-computer>
-Y
Then, you can directly run X applications. On Windows, you'll need to install an X server, e.g. Xming.
Using the remote desktop below may be preferred as it provides full access to the computer including X server and works better on low-quality connections.
Connect to the <target-computer> you got above using ssh: (ssh -Y -J <username>@turtle.felk.cvut.cz <username>@<target-computer>) You do not have to open new ssh connection if you already have one, you just need to have a shell to start remote-desktop server.
remote-desktop
Start a desktop window manager accessible via Xpra: remote-desktop start xpra Now you can close the ssh connection, if you don't need it, the remote-desktop will be still running.
remote-desktop start xpra
Later, to list running desktops: remote-desktop list Or, to kill desktop on display :1: remote-desktop stop 1
remote-desktop list
:1
remote-desktop stop 1
On your computer, 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.
turtle.felk.cvut.cz
At labs (e.g., E130, E132), Robot Operating System (ROS) is available through Singularity containers.
Open terminal and run singularity image with Ubuntu 20.04 + ROS Noetic: singularity shell --nv /opt/singularity/robolab/noetic (--nv is needed for graphical output, e.g. RViz) Then source common ARO catkin workspace: source /opt/ros/aro/setup.bash
singularity shell --nv /opt/singularity/robolab/noetic
--nv
source /opt/ros/aro/setup.bash
If you encounter strange behaviour in ros/rviz/gazebo it might be caused by somebody else is publishing on same topics. You have to change roscore port and gazebo server port in such case.
export GAZEBO_MASTER_URI="http://localhost:54321" export ROS_MASTER_URI="http://localhost:12345" roslaunch -p 12345 aro_sim onlysim.launch
netstat -ntl
netstat -ntl|grep 12345
In case of technical difficulties with connecting you can drop an email to himmebed@fel.cvut.cz but describe in detail what are you trying to do and what is the result. Messages It doesn't work, help! will be ignored. Any constructive feedback is welcome.
It doesn't work, help!
For more details, see