LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-04-2011, 10:00 PM   #1
n3tn3ws_dot_net
LQ Newbie
 
Registered: Nov 2010
Location: Michigan
Distribution: Centos 5.5 32-64 bit Architectures & Ubuntu 10.10 Desktop 32 bit.
Posts: 2

Rep: Reputation: 0
Problem with vncserver on centos 5.5 32-bit


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:

Last edited by Tinkster; 03-14-2011 at 02:59 PM.
 
Old 03-05-2011, 01:16 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

It looks to me like vncserver is looking in the wrong place for those files. Check your vncserver configuration files. Do a search on your system for those files to find out where exactly they are located and change your vncserver configuration accordingly.

Also, please remove your advertisement from your signature.

Kind regards,

Eric
 
  


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
vncserver problems (centos 5.5 32 bit) n3tn3ws_dot_net Linux - Software 1 11-16-2010 12:36 PM
CentOS 5.5 64 bit installation problem zaeem Linux - Distributions 2 07-03-2010 02:34 PM
LXer: Vncserver on SNV97 DomU at Xen 3.3 CentOS 5.2 Dom0 (64-bit) LXer Syndicated Linux News 0 09-07-2008 02:00 PM
LXer: Install HVM FreeBSD 7.0 DomU (32-bit) at Xen 3.2.1 CentOS 5.1 Dom0 (64-bit) LXer Syndicated Linux News 0 05-01-2008 08:00 PM
LXer: Install Xen 3.1 Solaris domU (64 bit) under CentOS 5 dom0 (64 bit) LXer Syndicated Linux News 0 09-21-2007 12:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:57 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