User Tools

Site Tools


informatica:linux:vncserver

This is an old revision of the document!


VNCSERVER

Instalamos los paquetes vnc-common y vnc-viewer
#apt-get install vnc-common vnc-viewer

Desde el usuario que queremos arrancar el servidor vnc ejecutamos:
#vncserver -geometry 1024×768 -depth 24

New 'X' desktop is debian4:1

Starting applications specified in /etc/X11/Xsession
Log file is /home/jose/.vnc/debian4:1.log

debian4 es el nombre de la máquina y :1 es el puerto, el 5901
Lo comprobamos con un netstat.
#netstat -anp | grep vnc
tcp 0 0 0.0.0.0:6001 0.0.0.0:* LISTEN 4560/Xrealvnc
tcp6 0 0 :::5901 :::* LISTEN 4560/Xrealvnc

Nos conectamos con un cliente de vnc (http://www.tightvnc.com/) a la ip:5901 o ip:1
A través de proxy, tenemos que hacer un tunel, por ejemplo:

informatica/linux/vncserver.1192778419.txt.gz · Last modified: 2015/04/13 20:19 (external edit)