Jump to content
  • 0
GraD0s

Installing VNC Server on linux VPS ( CentOS 6 )

Question

 

1. Login to to VPS via SSH and install gnome

 

sudo yum groupinstall Desktop

 

2. install Vnc Server,Nano Editor and Font.

 

sudo yum install nano
 
sudo yum install tigervnc-server
 
sudo yum install xorg-x11-fonts-Type1

 Confirm with ( Y )

 

3. To make VNC start automatic after reboot. Use this commands.

 

sudo chkconfig vncserver on

 

4. Make password for you VNC server. Enter password and Verify.

 

vncpasswd

 

5. Now set resolution and user on you VNC server. Edit using nano or another editor.

 

nano /etc/sysconfig/vncservers
 
Copy/Paste this code at last line.
 
VNCSERVERS="1:root"
VNCSERVERARGS[1]="-geometry 1024x600"

save and exit. Then restart VNC.

 

service vncserver restart

 

6. To enter GUI GNOME when startup. Kill VNC service first.

 

vncserver -kill :1
 
and edit this file.
 
nano .vnc/xstartup

 at the last line, put # on "twm &" and add this code "exec gnome-session &"

 

#twm &
exec gnome-session &

save and exit.

 

7. Lastly start and restart VNC with this command.

 

service vncserver start
service vncserver restart

Done  B)  B)

 

To connect to your GUI GNOME please use VNC Viewer.

Download from Here : VNC Viewer

and insert YOUIPVPS:1 and vnc password you create early.

post-12615-0-32568500-1462999141_thumb.jpg

Edited by Hyena

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

You should be specific of OS.

To those who are wondering, Above guide is for CentOS

Share this post


Link to post
Share on other sites
  • 0

did somebody told you how awsome you are? ive been using a different VPS hosting and i have no idea how to set this all up. 

because usually RO hostings are pre set up and all you need to do is edit some files.

now that ive already done this, all i need to do is upload my server to my VPS and im good to go!

thank you!

ive saved up to 4$ a month using a different VPS hosting sites  ;)

Share this post


Link to post
Share on other sites
  • 0

You should be specific of OS.

To those who are wondering, Above guide is for CentOS

 

Ohh yah i forgot bout that .

 

did somebody told you how awsome you are? ive been using a different VPS hosting and i have no idea how to set this all up. 

because usually RO hostings are pre set up and all you need to do is edit some files.

 

now that ive already done this, all i need to do is upload my server to my VPS and im good to go!

 

thank you!

 

ive saved up to 4$ a month using a different VPS hosting sites  ;)

 

You welcome dude  :rolleyes:  :rolleyes:

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.