Get Paid to Participate     Twitter     Facebook     Google+
Hosting Discussion
 

Hosting Discussion > Web Hosting Forums > VPS, Dedicated & Colocation Hosting > How to Install VNC w/ GNOME on Debian VPS
forgot password?


Reply


Old
  Post #1 (permalink)   01-08-2012, 02:12 PM
HD Newbie
 
Join Date: Nov 2011
Posts: 41

Status: VPS6.NET is offline
VNC is a remote desktop sharing system that will allow you to connect your home PC to a GUI (graphical interface) hosted on your VPS, for easy remote management. This guide will walk you through the steps required to setup and access a VNC server hosted on a Debian VPS.

Before beginning, ensure you are logged in to your VPS as the root user, and run the following:

Code:
# apt-get update
# apt-get upgrade
1. Install GNOME:

Code:
#apt-get install gnome-desktop-environment
2. Install required fonts:

Code:
# 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:

Code:
# apt-get install tightvncserver
4. Start TightVNCServer for the first time, it will copy config files and prompt you for a password:

Code:
# tightvncserver :1
5. Stop the VNC server, so we can continue to configure it:

Code:
# tightvncserver -kill :1
6. Edit the xstartup file:

Code:
# vi ~/.vnc/xstartup
Press "A" to enter edit mode. Replace the contents of the file with the following (or edit to match):

Code:
#!/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:

Code:
# tightvncserver -geometry 1024x768 :1
You 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.

<MOD NOTE: URLs removed in accordance with Rule 3.4.>
__________________
| Jeremy Hartnett, Managing Partner :: VPS6.NET, LP
| VPS6.NET - Managed, Semi-Managed Linux & Windows VPS Hosting | USA, DE, TR
| www.vps6.net | @vps6net | msn: jeremy.hartnett @live.com | email: jh @vps6.net
 
 
 
Reply

Thread Tools

New Post New Post   Old Post Old Post
Posting Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Sponsored By: