Remote desktop

Remote desktop service for the CITIUS Ubuntu. This service can be run even from a SSH connection and doesn't need a graphical session initiated beforehand.

To activate the remote desktop open a terminal window or connect trough SSH to the computer and enter the command escritorio-remoto. You'll see the following:

$ escritorio-remoto 
VNC Server started on DISPLAY :0, TCP port 5900.
You may connect now to 172.16.xxx.yyy:5900 with any VNC client.
The session will expire after 60 seconds.

Now you can connect to the IP address and port shown with any VNC client like Remmina. Once connected you'll see the following in the console and then recover control over the terminal:

Incoming connection from 172.16.xxx.yyy.
For security reasons, the server won't listen for incoming connections anymore.
If you want to connect later, run «escritorio-remoto» again. Go to
http://wiki.citius.usc.es/centro:servizos:escritorio-remoto for details.

The server only listens until the first connection is made, the command must be run again if you want to make a new connection afterwards. The server has no password, so the usual flow will be: connect with SSH, run escritorio-remoto and then inmediately connecting with a VNC client.

The first user that connects will have control over the computer. If the graphical session was already open you can kill the x11vnc process with killall x11vnc.

If more than 60 seconds pass without a connection being made the VNC server will close itself.

  • en/centro/servizos/escritorio-remoto.txt
  • Last modified: 2016/04/18 17:43
  • by fernando.guillen