LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Xvnc will not start (CentOS vps) (http://www.linuxquestions.org/questions/linux-software-2/xvnc-will-not-start-centos-vps-499640/)

WojtekO 11-08-2006 01:53 AM

Xvnc will not start (CentOS vps)
 
Hello folks,

I just got a nice CentOS vps and I'm trying to install vnc on it.

I ran the yum install and it installed it.

Code:

root@vps [/root/.vnc]# vncserver

New 'vps.host.net:1 (root)' desktop is vps.host.net:1

Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/vps.host.net:1.log



root@vps [/root/.vnc]# nano vps.host.net:1.log

_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/vps.host.net:1
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

Xvnc version 4.0 - built Feb 21 2005 15:50:07
Underlying X server release 60801000, The X.Org Foundation


Tue Nov  7 21:34:51 2006
 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/X11R6/lib/X11/xserver/SecurityPolicy
Could not init font path element /usr/X11R6/lib/X11/fonts/misc/, removing from $
Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing from l$
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from$
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from l$
Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from$

Fatal server error:
could not open default font 'fixed'
/root/.vnc/xstartup: line 9: xsetroot: command not found
/root/.vnc/xstartup: line 11: xterm: command not found
/root/.vnc/xstartup: line 12: twm: command not found
vncconfig: unable to open display "vps.host.net:1"

When I do netstat -a, it does not show anywhere vnc or 5901 or similar vnc stuff.

Any solutions?
Thank You

Brian1 11-09-2006 05:51 PM

Check out this link to see if all is setup. http://fedoranews.org/tchung/vnc/
Also make sure the 5901 port is open if a firewall is active. Same may apply if using selinux.

Brian


All times are GMT -5. The time now is 03:22 AM.