This has been really frustrating as I have done this before successfully without issue. For some reason, I just cannot seem to get vncserver to properly run on my server. I've installed it properly, setup users, made changes to the /etc/sysconfig/vncservers file, the port is open and I have port forwarding setup on my Linksys router.
Here is what I see when I run vncserver
Code:
[root@blackbox ~]# vncserver :1
New 'blackbox.testserver.net:1 (root)' desktop is blackbox.testserver.net:1
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/blackbox.testserver.net:1.log
[root@blackbox ~]#
But when I use the 'lsof' command, I am not seeing vncserver listening on any ports
Code:
[root@blackbox ~]# lsof -i | grep 'LISTEN'
portmap 2047 rpc 4u IPv4 6127 TCP *:sunrpc (LISTEN)
rpc.statd 2084 root 7u IPv4 6254 TCP *:ircs (LISTEN)
sshd 5825 root 3u IPv6 11599 TCP *:8746 (LISTEN)
sshd 5825 root 4u IPv6 11602 TCP *:ssh (LISTEN)
sendmail 5881 root 4u IPv4 11785 TCP blackbox.testserver.net:smtp (LISTEN)
smbd 5968 root 19u IPv4 12040 TCP *:microsoft-ds (LISTEN)
smbd 5968 root 20u IPv4 12041 TCP *:netbios-ssn (LISTEN)
psybnc 17406 root 3u IPv4 340488 TCP 192.168.1.6:31334 (LISTEN)
ftp 21704 root 5u IPv4 348531 TCP 192.168.1.6:49325 (LISTEN)
rpc.rquot 27236 root 4u IPv4 275189 TCP *:elcsd (LISTEN)
rpc.mount 27264 root 7u IPv4 275267 TCP *:netviewdm3 (LISTEN)
I am not even seeing the process running under ps aux or top.
I have posted the error_log below. If anybody can help me out here, I would be greatly thankful as I have been trying to get this working for days now. If you need any other information, just let me know.
Log file is /root/.vnc/blackbox.testserver.net:1.log
Code:
ouldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'
Xvnc Free Edition 4.1.3 - built Oct 15 2008 12:55:42
Copyright (C) 2002-2008 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 40201000, The XFree86 Project, Inc
Fri Jan 4 19:08:34 2002
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 list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list!
Fatal server error:
could not open default font 'fixed'
xrdb: Connection refused
xrdb: Can't open display 'blackbox.testserver.net:1'
xmodmap: unable to open display 'blackbox.testserver.net:1'
xhost: unable to open display "blackbox.testserver.net:1"
No profile for user 'root' found
(gnome-session:23338): Gtk-WARNING **: cannot open display: