Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-24-2011, 04:13 PM   #1
LQ Newbie
Registered: Jan 2011
Posts: 2

Rep: Reputation: 0
Error at VNCServer in CentOS VPS. Won't load remote desktop.

I have this problem.

I recently bought a VPS with CentOS installed, 512 MB RAM and 80 GB ram, but I have a problem, I want to get VNC Desktop with it but I couldn't.

I installed KDE, GNOME but no one works.

This is my log from vncserver:

Couldn't open RGB_DB '/usr/share/X11/rgb'

Xvnc Free Edition 4.1.2
Copyright (C) 2002-2005 RealVNC Ltd.
See for information on VNC.
Underlying X server release 70101000, The X.Org Foundation

Mon Jan 24 10:49:49 2011
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on port 5901
 vncext:      Listening for HTTP connections on port 5801
 vncext:      created VNC server for screen 0
error opening security policy file /usr/lib/xserver/SecurityPolicy
/root/.vnc/xstartup: line 9: xsetroot: command not found
/root/.vnc/xstartup: line 12: exec: gnome-session: not found
/root/.vnc/xstartup: line 11: xterm: command not found
Could not init font path element unix/:7100, removing from list!

Mon Jan 24 10:50:02 2011
 Connections: accepted:
 SConnection: Client needs protocol version 3.8

Mon Jan 24 10:50:03 2011
 SConnection: Client requests security type VncAuth(2)

Mon Jan 24 10:50:05 2011
 VNCSConnST:  Server default pixel format depth 16 (16bpp) little-endian rgb565

Mon Jan 24 10:50:06 2011
 VNCSConnST:  Client pixel format depth 8 (8bpp) colour-map
And this is my xstartup:


# Uncomment the following two lines for normal desktop:
# exec /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
exec gnome-session &
And with RealVNC I only get a grey box with 3 options:
  • Accept clipboard from viewers
  • Send clipboard to viewers
  • Send primary selection to viewers

I need help plz.

PC Specs:

OS: CentOS 5.5 32bit
RAM: 512 MB
HDD: 80 GB
100mbps Connection.

Last edited by Manimecker; 01-24-2011 at 05:14 PM.
Old 01-24-2011, 05:14 PM   #2
LQ Newbie
Registered: Jan 2011
Posts: 2

Original Poster
Rep: Reputation: 0

I've solved it.

I did it with the help of this:

Thank you anyway.


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
[SOLVED] vncserver AND remote desktop sharing on Fedora 11 mr94040 Fedora 1 10-26-2010 04:39 AM
Remote Desktop from Windows XP to a CentOS server? How To? roshanekka Linux - Server 3 06-15-2010 01:09 PM
CentOS Remote Desktop k_oudom Linux - Networking 4 02-08-2010 12:48 PM
CentOS - Desktop & VNC on a VPS CoronVB Linux - Newbie 6 11-21-2009 01:39 PM
remote desktop on a VPS ? def.ho Linux - Server 0 06-03-2008 04:42 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:09 AM.

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