LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-01-2010, 03:44 PM   #1
andreas.cyp
LQ Newbie
 
Registered: Sep 2010
Posts: 1

Rep: Reputation: 0
Cool Absolutely newbie - vnc install on dedicated server


Recently bought dedicated server from hetzner.com

Running CentOS 5.5. how can i install the vnc using the putty?

thanks in advance guys
 
Old 09-01-2010, 03:53 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,497

Rep: Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883
Welcome to LQ
As root type
Code:
yum install vnc-server
It's possible you need to install rpmforge first
http://wiki.centos.org/AdditionalRes...ories/RPMForge

Kind regards

Last edited by repo; 09-01-2010 at 04:24 PM.
 
Old 09-01-2010, 04:23 PM   #3
suthagarka
LQ Newbie
 
Registered: Jul 2010
Location: London
Distribution: Cent OS, RH, Ubuntu
Posts: 7

Rep: Reputation: 0
Hi Andreas,

I installed a VNC server recently. Hence I will give a rough outline.

- Since you have CentOS 5.5 you will have a GUI.

- $> yum install vnc-server* (install the VNC server)

- $> service vncserver start

- $> vncpasswd ()provide a password

- $> vncserver

A message will be displayed saying 'New 'yourservername:1 username... this is important. Hence write it down.

I will assume you are running VNC as the root.

-$>cd ~

-$> cd .vnc
-$> vi xstartup

now uncomment the following lines.

unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

This should do the trick. Also please configure SELINUX and iptables to suit your need.

I used $> lsof -i to identify the listening port and used iptables to configure the firewall.
 
Old 09-01-2010, 04:25 PM   #4
jefro
Guru
 
Registered: Mar 2008
Posts: 11,340

Rep: Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386
Also see pages on how to setup vnc over ssh with putty maybe.
 
Old 09-01-2010, 04:29 PM   #5
suthagarka
LQ Newbie
 
Registered: Jul 2010
Location: London
Distribution: Cent OS, RH, Ubuntu
Posts: 7

Rep: Reputation: 0
Oops! forgot a main step.

-$> vi xstartup

now uncomment the following lines.

unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

at the end of this file.

-title "$VNCD... twm &

replace twm with startx

good luck
 
  


Reply

Tags
dedicated, putty, vnc


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[HELP] Dedicated server VNC artec12 Linux - Newbie 4 06-07-2009 04:24 PM
Cannot install application on a virtual dedicated server raydona Linux - Software 1 06-03-2009 08:12 PM
Trying to install NX c/n/s on a dedicated ubuntu 7.10 server hashbangbinbash Linux - Newbie 1 03-27-2008 05:23 AM
How can i install a dedicated server?? randyorton Linux - Newbie 17 09-10-2006 12:36 AM
Dedicated server RealVNC install psychodreams Red Hat 0 04-03-2004 09:15 AM


All times are GMT -5. The time now is 02:55 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration