Search
This approach can help you in case you do not have a device capable of running the ARO workspace (Singularity). We have prepared a virtual machine you can connect to using remote desktop. And it can run the whole ARO codebase.
First of all, connect to the faculty VPN.
Connect to the virtual computer using a jump host (flag -J) and your school <username> : ssh -YC -J <username>@turtle.felk.cvut.cz <username>@192.168.65.65
-J
<username>
ssh -YC -J <username>@turtle.felk.cvut.cz <username>@192.168.65.65
Next, you need to figure out a unique set of ports. The following algorithm is expected to find one based on your CTU ID. It also makes sure you use unique ports for ROS and Gazebo:
export vnc_port=$(echo -n 2; id -u | tail -c 5) export vnc_port2=$(echo $vnc_port + 5900 | bc) export ros_port=$(echo $vnc_port + 11311 | bc) export gz_port=$(echo $vnc_port + 11345 | bc) export ROS_MASTER_URI=http://localhost:${ros_port} export GAZEBO_MASTER_URI=http://localhost:${gz_port} export ARO_SINGULARITY_NV=1 export VGL_DISPLAY=/dev/dri/card1 echo "Connect to VNC server 192.168.65.65:${vnc_port2} or 192.168.65.65:${vnc_port}"
Then, start the remote desktop server (you can choose the desktop resolution in the geometry parameter):
geometry
vglrun +v /opt/TurboVNC/bin/vncserver -log /dev/stdout -geometry 1920x1080 -fg -xstartup xfce4-session :${vnc_port}
When you launch it for the first time, it will want you to set a password. Call /opt/TurboVNC/bin/vncpasswd to do that.
/opt/TurboVNC/bin/vncpasswd
screen
tmux
vnc_port
Once you have the server running, you can use any VNC remote desktop client (TurboVNC, Remmina, TightVNC, TigerVNC) to connect to it. Remmina is the one preinstalled in Ubuntu.
Set the destination IP address to 192.168.65.65 and choose one of the two ports printed by the previous script. You also have to set up a jump host over turtle.felk.cvut.cz with your SSH login details.
turtle.felk.cvut.cz
Once the remote desktop connects, open a graphical terminal by clicking on the terminal icon in the bottom part of the screen.
Follow the ROS guide for lab computers to get your workspace up and running. The virtual machine shares the same home drive as the lab computers and turtlebots.
You can also launch PyCharm/VSCode from inside the Singularity image.
In case of technical difficulties with connecting you can drop an email to kapica@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!