LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CentOS 5.3 VNC problems (https://www.linuxquestions.org/questions/linux-newbie-8/centos-5-3-vnc-problems-802176/)

TheN00B 04-15-2010 08:12 AM

CentOS 5.3 VNC problems
 
Hi there,

To start with, I am running this OS at the moment:
centos-5-x86_64-default-5.3-20090803

Today I tried to install KDE & VNC in order to have Remote Desktop Access to the VPS.
Though I have a problem doing this, I followed the tutorial here:
http://www.webhostingtalk.com/showthread.php?t=589702

On startup, there are a few errors, I will note them down for you here:
Code:


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


Thu Apr 15 07:05:24 2010
 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/lib64/xserver/SecurityPolicy
Could not init font path element unix/:7100, removing from list!

Fatal server error:
could not open default font 'fixed'
XIO:  fatal IO error 104 (Connection reset by peer) on X server ":1.0"
      after 0 requests (0 known processed) with 0 events remaining.
xsetroot:  unable to open display ':1'
/root/.vnc/xstartup: line 5: xterm: command not found
xsetroot:  unable to open display ':1'
xset:  unable to open display ":1"
xsetroot:  unable to open display ':1'
startkde: Starting up...
ksplash: cannot connect to X server :1
kdeinit: Can't connect to the X Server.
kdeinit: Might not terminate at end of session.
kded: cannot connect to X server :1
DCOP aborting call from 'anonymous-15698' to 'kded'
kcminit_startup: cannot connect to X server :1
ksmserver: cannot connect to X server :1
startkde: Shutting down...
klauncher: Exiting on signal 1
startkde: Running shutdown scripts...
startkde: Done.

This is a copy/paste from /root/.vnc/team-joc.com:1.log

Can anyone help me with this issue please?
I tried a few things that I found on Google but it won't work.

Thanks in advance.

strick1226 04-15-2010 09:29 AM

Is the box actually configured to run a GUI? If it's console-only access you won't be able to connect to an X11 session.

Many hosted servers don't have X installed as it takes up additional space, presents a potential slew of security issues, etc.

It sounds like X isn't even running.... have you tried "startx" from the console?

strick1226 04-15-2010 09:29 AM

(duplicate post removed)

TheN00B 04-15-2010 01:35 PM

Quote:

Originally Posted by strick1226 (Post 3936479)
Is the box actually configured to run a GUI? If it's console-only access you won't be able to connect to an X11 session.

Many hosted servers don't have X installed as it takes up additional space, presents a potential slew of security issues, etc.

It sounds like X isn't even running.... have you tried "startx" from the console?

I don't think it's configured for a GUI, but I am not sure...
Anyways, check out what I get when I executed "startx":
Code:

[root@team-joc ~]# startx
xauth:  creating new authority file /root/.serverauth.21933
xinit:  No such file or directory (errno 2):  no server "X" in PATH

Use the -- option, or make sure that /usr/bin is in your path and
that "X" is a program or a link to the right type of server
for your display.  Possible server names include:

    Xorg        X.Org displays

xinit:  Server error.
Couldnt get a file descriptor referring to the console
[root@team-joc ~]#

Hopefully this helps...

TheN00B 04-16-2010 05:53 PM

Furthermore, I would like to add that I contacted my VPS provider and that they will look into it.
Is there any way to install "X" through SSH?


All times are GMT -5. The time now is 10:35 AM.