VNC

vnc4server

Mieux …

tightvnc

Installer un serveur VNC

sudo apt-get install build-essential ubuntu-desktop gnome-desktop-environment xfonts-100dpi xfonts-100dpi-transcoded xfonts-75dpi xfonts-75dpi-transcoded xfonts-base tightvncserver
vim ~/.vnc/xstartup
#!/bin/sh

xrdb $HOME/.Xresources
xsetroot -solid blue
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
# Fix to make GNOME work
export XKL_XMODMAP_DISABLE=1
unset SESSION_MANAGER
gnome-session

Lancer un serveur VNC

tightvncserver :1

Terminer le serveur

tightvncserver -kill :1

vino

Lister la config vino

gconftool-2 -R /desktop/gnome/remote_access

Editer un param├Ętre vino

gconftool-2 -s -t bool /desktop/gnome/remote_access/enabled true
vim /home/neolao/.gconf/desktop/gnome/remote_access/\%gconf.xml

Changer le mot de passe de vino

echo -n "my_vnc_password" | base64
gconftool-2 -s -t string /desktop/gnome/remote_access/vnc_password bXlfdm5jX3Bhc3N3b3Jk

x11vnc

Enregistrer le mot de passe

x11vnc -storepasswd "password" ~/.vnc_passwd

Lancer

x11vnc -many -rfbauth ~/.vnc_passwd -display :2

Autoriser le lancement de X

sudo dpkg-reconfigure x11-common