7 Mar 2015

instalasi VNC di debian 7

vnc adalah protocol untuk remote desktop di linux. berikut cara instalasi vnc di debian 7 whezzy


#apt-get update
#apt-get upgrade

instalasi Gnome
  1.  # apt-get install gnome-desktop-environment

instalasi font

# 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


3. Install TightVNCServer:
apt-get install tightvncserver
4. Start TightVNCServer for the first time, it will copy config files and prompt you for a password:
tightvncserver :1
5. Stop the VNC server, so we can continue to configure it:
# tightvncserver -kill :1
6. Edit the xstartup file:
# vi ~/.vnc/xstartup
Press "A" to enter edit mode. Replace the contents of the file with the following (or edit to match):
#!/bin/shxrdb $HOME/.Xresources
xsetroot -solid grey
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
# x-window-manager &

gnome-session &
Press ESC, type :wq, then press enter to save and close the file.
7. Start the VNC server with your desired resolution:
tightvncserver -geometry 1024x768 :1
Load disqus comments

0 comment