LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 04-15-2010, 08:12 AM   #1
TheN00B
LQ Newbie
 
Registered: Mar 2010
Posts: 4

Rep: Reputation: 0
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.
 
Old 04-15-2010, 09:29 AM   #2
strick1226
Member
 
Registered: Feb 2005
Distribution: Arch, CentOS, Fedora, macOS, SLES, Ubuntu
Posts: 327

Rep: Reputation: 63
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?
 
Old 04-15-2010, 09:29 AM   #3
strick1226
Member
 
Registered: Feb 2005
Distribution: Arch, CentOS, Fedora, macOS, SLES, Ubuntu
Posts: 327

Rep: Reputation: 63
(duplicate post removed)

Last edited by strick1226; 04-15-2010 at 09:29 AM. Reason: Duplicate post
 
Old 04-15-2010, 01:35 PM   #4
TheN00B
LQ Newbie
 
Registered: Mar 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by strick1226 View Post
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...
 
Old 04-16-2010, 05:53 PM   #5
TheN00B
LQ Newbie
 
Registered: Mar 2010
Posts: 4

Original Poster
Rep: Reputation: 0
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?
 
  


Reply



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
VNC Server on CentOS - Viewer on XP pdelassus Linux - Software 12 05-28-2011 04:45 AM
VNC displays 'terminal window' that can't be closed after VNC connection to CentOS Hispacific Red Hat 1 10-15-2010 03:44 PM
need VNC help on CentOS 5 brettreyu Linux - Networking 2 05-30-2009 03:55 PM
Can't VNC into XFCE on CentOS smakdown61 Linux - Software 2 12-28-2008 11:11 PM
How do I make vnc work in CentOS 5? TheStupid Red Hat 16 08-22-2007 12:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:46 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration