LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   [opensuse 10.3] vnc (https://www.linuxquestions.org/questions/suse-opensuse-60/%5Bopensuse-10-3%5D-vnc-609686/)

noir911 12-28-2007 06:12 PM

[opensuse 10.3] vnc
 
I can't seem to connect to vnc. I been to yast -> Network Services -> xinetd and turned ON all vnc services. And then when I type "vncserver" as a normal user in the console I get:

vncserver
xauth: (argv):1: bad display name "hostname:6" in "add" command

New 'X' desktop is hostname:6

Starting applications specified in /home/me//.vnc/xstartup
Log file is /home/me//.vnc/hostname:6.log

Here's the output of the hostname:6.log file:

Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.

Couldnt get a file descriptor referring to the console

If I type: "vncserver" as root I get -

xauth: (argv):1: bad display name "hostname:7" in "add" command

New 'X' desktop is hostname:7

Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/hostname:7.log

In the hostname:7.log I get -

vncext: VNC extension running!
vncext: Listening for VNC connections on port 5907
vncext: Listening for HTTP connections on port 5807
vncext: created VNC server for screen 0
Could not init font path element /usr/share/fonts/local, removing from list!
Could not init font path element /usr/share/fonts/CID, removing from list!
xrdb: No such file or directory
xrdb: can't open file '/root/.Xresources'

X is running and I am trying not to kill X just to start vnc. Also, the only way I can start/stop/kill vncserver is via ssh. There's no firewall or tcp wrapper.

Here's the netstat output -

tcp 0 0 0.0.0.0:5804 0.0.0.0:* LISTEN 22062/Xvnc
tcp 0 0 0.0.0.0:5805 0.0.0.0:* LISTEN 22196/Xvnc
tcp 0 0 0.0.0.0:5806 0.0.0.0:* LISTEN 22417/Xvnc
tcp 0 0 0.0.0.0:5807 0.0.0.0:* LISTEN 22502/Xvnc
tcp 0 0 0.0.0.0:5904 0.0.0.0:* LISTEN 22062/Xvnc
tcp 0 0 0.0.0.0:5905 0.0.0.0:* LISTEN 22196/Xvnc
tcp 0 0 0.0.0.0:5906 0.0.0.0:* LISTEN 22417/Xvnc
tcp 0 0 0.0.0.0:5907 0.0.0.0:* LISTEN 22502/Xvnc
tcp 0 0 0.0.0.0:6004 0.0.0.0:* LISTEN 22062/Xvnc
tcp 0 0 0.0.0.0:6005 0.0.0.0:* LISTEN 22196/Xvnc
tcp 0 0 0.0.0.0:6006 0.0.0.0:* LISTEN 22417/Xvnc
tcp 0 0 0.0.0.0:6007 0.0.0.0:* LISTEN 22502/Xvnc
tcp 0 0 :::6004 :::* LISTEN 22062/Xvnc
tcp 0 0 :::6005 :::* LISTEN 22196/Xvnc
tcp 0 0 :::6006 :::* LISTEN 22417/Xvnc
tcp 0 0 :::6007 :::* LISTEN 22502/Xvnc

Any help would be much appreciated. Thanks.


All times are GMT -5. The time now is 03:36 PM.