Before beginning, ensure you are logged in to your VPS as the root user, and run the following:
# apt-get update# apt-get upgrade1. Install GNOME:#apt-get install gnome-desktop-environment2. Install required 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-base3. Install TightVNCServer:# apt-get install tightvncserver4. Start TightVNCServer for the first time, it will copy config files and prompt you for a password:# tightvncserver :15. Stop the VNC server, so we can continue to configure it:# tightvncserver -kill :16. Edit the xstartup file:# vi ~/.vnc/xstartupPress "A" to enter edit mode. Replace the contents of the file with the following (or edit to match):#!/bin/shxrdb $HOME/.Xresourcesxsetroot -solid greyx-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 :1You can now access your server's remote GNOME desktop with a desktop VNC client. Enter your server's main IP address, Port 1 (or 5901, alternately), and the password you set earlier to connect to the desktop.
Rabu, 19 Februari 2014
How to Install VNC and GNOME on Debian
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar