LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Error at VNCServer in CentOS VPS. Won't load remote desktop. (https://www.linuxquestions.org/questions/linux-newbie-8/error-at-vncserver-in-centos-vps-wont-load-remote-desktop-858417/)

Manimecker 01-24-2011 03:13 PM

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:

Code:

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

Xvnc Free Edition 4.1.2
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com 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: 187.132.47.10::15597
 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:

Code:

#!/bin/sh

# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# 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
Company: VPS-Hosting.ca
100mbps Connection.

Manimecker 01-24-2011 04:14 PM

Solved.
 
I've solved it.

I did it with the help of this:

http://www.rsbots.net/forums/index.php?topic=53112.0

Thank you anyway.


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