LinuxQuestions.org
Review your favorite Linux distribution.
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 04-22-2009, 09:35 AM   #1
nataloi
Member
 
Registered: Apr 2009
Distribution: Linux version 2.6.25-14.fc9.i686 (mockbuild@) (gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) )
Posts: 30

Rep: Reputation: 15
any vncserver experts out there?


any vncserver experts out there? I am trying to get this thing to run - now when I execute my vncserver I am excuting from ssh session and NOT directly from the server - is this the problem? (see errors in log file below)

[naloi@nagios bin]$ ./vncserver :1

New 'nagios.experis.com:1 (naloi)' desktop is nagios.experis.com:1

Starting applications specified in /home/naloi/.vnc/xstartup
Log file is /home/naloi/.vnc/nagios.experis.com:1.log

[naloi@nagios bin]$ ps -ef | grep vncserver
naloi 15861 8261 0 10:25 pts/0 00:00:00 grep vncserver

[naloi@nagios .vnc]$ more nagios.experis.com:1.log
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/nagios.experis.com:1
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

Xvnc Free Edition 4.1.3
Copyright (C) 2002-2008 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 10502000,


Wed Apr 22 10:25:10 2009
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5901
vncext: created VNC server for screen 0
(EE) AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swra
st_dri.so: cannot open shared object file: No such file or directory)
(EE) GLX: could not load software renderer
expected keysym, got XF86Info: line 914 of inet
Started none
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/15677,unix/unix:/tmp/.ICE-unix/15677
** Message: another SSH agent is running at: /tmp/ssh-xPqeG15677/agent.15677
Window manager warning: Failed to read saved session file /home/naloi/.metacity/
sessions/default1.ms: Failed to open file '/home/naloi/.metacity/sessions/defaul
t1.ms': No such file or directory

** (nautilus:15719): WARNING **: Can not calculate _NET_NUMBER_OF_DESKTOPS

** (nautilus:15719): WARNING **: Can not calculate _NET_NUMBER_OF_DESKTOPS

** (nautilus:15719): WARNING **: Can not get _NET_WORKAREA

** (nautilus:15719): WARNING **: Can not determine workarea, guessing at layout

** (nautilus:15719): WARNING **: Unable to add monitor: Not supported
Failure: Module initalization failed

** (nm-applet:15800): WARNING **: <WARN> applet_dbus_manager_start_service(): C
ould not acquire the NetworkManagerUserSettings service as it is already taken.
Return: 3


(nm-applet:15800): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJ
ECT (object)' failed
could not attach to desktop process

** (gnome-panel:15715): WARNING **: panel-applet-frame.c:1285: failed to load ap
plet OAFIID:TomboyApplet:
System exception: IDL:Bonobo/GeneralError:1.0 : Child process did not give an er
ror message, unknown failure occurred
[naloi@nagios .vnc]$

Last edited by nataloi; 04-22-2009 at 09:35 AM. Reason: error in post
 
Old 04-22-2009, 10:06 AM   #2
nataloi
Member
 
Registered: Apr 2009
Distribution: Linux version 2.6.25-14.fc9.i686 (mockbuild@) (gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) )
Posts: 30

Original Poster
Rep: Reputation: 15
its working!

so after looking at that log...I just searched for locations of vncserver and found two - in usr/bin and etc/rc.d/init.d - saw it was running as a service in init.d and could telnet to port, tried running viewer from my windows desktop and make the connection and everything is working perfectly...for what it's worth you cannot grep for this process...not sure why...



[naloi@nagios .vnc]$ ps -ef | grep vncserver
naloi 17821 8261 0 11:02 pts/0 00:00:00 grep vncserver
[naloi@nagios .vnc]$ su
Password:

[root@nagios .vnc]# ps -ef | grep vncserver
root 17915 17877 0 11:03 pts/0 00:00:00 grep vncserver
[root@nagios .vnc]#

[root@nagios /]# find . -name vncserver

./usr/bin/vncserver
[root@nagios /]# cd /etc/rc.d/init.d
[root@nagios init.d]# ./vncserver -kill :1
Usage: ./vncserver {start|stop|restart|try-restart|status|force-reload}
[root@nagios init.d]# service vncserver start
Starting VNC server: 1:naloi A VNC server is already running as :1
[FAILED]
[root@nagios init.d]# service vncserver status
Xvnc (pid 15503) is running...
[root@nagios init.d]#
[naloi@nagios .vnc]$ telnet localhost 5901
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
RFB 003.008
q
exit
q!
Connection closed by foreign host.
[naloi@nagios .vnc]$
 
Old 04-22-2009, 10:24 AM   #3
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by nataloi View Post
for what it's worth you cannot grep for this process...not sure why...
vncserver is a wrapper script which calls Xvnc; if you grep for that, it'll come up.

To see the wrapper script:
Code:
less $(which vncserver)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Please, anyone of experts, help me !!! Vladlenas Linux - Hardware 7 05-05-2006 08:17 PM
Robust vncserver startup file (rc.vncserver) arobinson74 Slackware 4 05-14-2005 05:33 AM
Linux: By Experts - For Experts Cinematography General 10 05-12-2005 02:14 AM
for FS Experts brig_sam Linux - Hardware 2 10-01-2003 05:05 AM
Experts Tell me what i did is right??? boon Linux - Software 2 09-14-2003 09:20 PM

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

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