VNC Server on Debian

Upgrade

apt-get update
apt-get upgrade
apt-get dist-upgrade

Install Gnome

apt-get install gnome-desktop-environment

Install fonts

apt-get install xfonts-100dpi
apt-get install xfonts-100dpi-transcoded
apt-get install xfonts-75dpi
apt-get install xfonts-75dpi-transcoded
apt-get install xfonts-base

Install & start VNC

apt-get install tightvncserver
tightvncserver :1

Config

tightvncserver -kill :1
vim ~/.vnc/xstartup

Configuration similar to:
--------------
#!/bin/shxrdb $HOME/.Xresources
xsetroot -solid grey
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
# x-window-manager &
gnome-session &
--------------

And final start

tightvncserver -geometry 1024x768 :1

Source: http://news.metaparadigma.de/linux-setting-up-a-debian-vnc-server-237/

Leave a Reply

Your email address will not be published. Required fields are marked *