hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : VPS Hosting : VPS Tutorials : How to Install VNC w/ GNOME on Debian VPS
Reply

VPS Tutorials Tutorials related to VPS.
Forum Jump

How to Install VNC w/ GNOME on Debian VPS

Reply Post New Thread In VPS Tutorials Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 01-08-2012, 04:28 PM
VPS6NET_jh VPS6NET_jh is offline
Temporarily Suspended
 
Join Date: Nov 2011
Location: United States
Posts: 97
Arrow

How to Install VNC w/ GNOME on Debian VPS


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.

Reply With Quote


Sponsored Links
  #2  
Old 01-09-2012, 07:14 PM
ezbnc ezbnc is offline
Web Hosting Master
 
Join Date: Jun 2003
Location: Oklahoma City
Posts: 2,087
Nice little tutorial there it will help people out that need a VNC.

Reply With Quote
  #3  
Old 03-16-2012, 05:35 PM
levat levat is offline
Newbie
 
Join Date: Sep 2010
Location: Novi Travnik
Posts: 10
*

i did this but i used fluxbox and vnc4server...

after googling it, ppl say that vnc4server is much faster and better, and fluxbox (for me at least) is all I need on vps.


same tutorial just change "tightvncserver" with "vnc4server"
and "gnome-desktop-environment" with "fluxbox" ))

Reply With Quote
Sponsored Links
  #4  
Old 04-07-2012, 11:21 AM
jpoulte jpoulte is offline
Junior Guru Wannabe
 
Join Date: Apr 2012
Posts: 55
Hey I used this tutorial, I installed it all on my debian OS on my VPS, and no matter what I do I cant connect to it with a VNC viewer. I have tried 2 and neither of them have been able to connect. I have opened up port 5900 and still cant get it connected, What it currently says in putty is:

Starting applications specified in /root/.vnc/xstartup
Log file is ......

So by the looks of it everything went well server end, I just need help getting VNC to work on my windows end. Thanks and great tutorial

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Setup Either KDE + VNC or GNOME + VNC in dedi imzie Dedicated Server 1 02-28-2011 03:28 AM
VPS CentOS + Gnome + VNC WebCobra VPS Hosting 16 04-12-2010 06:12 PM
small job; vnc/gnome install, plesk port change bubsyboy Employment / Job Offers 7 06-23-2009 04:06 PM
Viewing a gnome desktop in VNC? mkaufman Hosting Security and Technology 3 01-26-2002 01:39 PM
Accessing Gnome via VNC mkaufman Hosting Security and Technology 1 12-19-2001 11:15 PM

Related posts from TheWhir.com
Title Type Date Posted
Web Host Rackspace Adds FreeBSD 9, CentOS 6.3 Support to Cloud Servers Web Hosting News 2012-07-30 12:47:10
Web Host A2 Hosting Launches Customizable VPS Hosting Plans Web Hosting News 2012-06-07 15:11:57
Major DreamHost Outage Hits VPS, Dedicated Hosting Customers Web Hosting News 2012-01-30 10:57:44
Hosting Automation Software Provider 1H.com Adds Debian Support Web Hosting News 2011-11-15 21:53:57
Attracta Offers Single-Click Web App Installation to Customers Web Hosting News 2011-08-11 16:57:09


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?