Jump to content

VNC server crashes on 2008.1 x86_64


Ishark
 Share

Recommended Posts

Hello,

I've recently upgraded from 2008.0 x86_64 to 2008.1 x86_64, the upgrade being flawless.

Still, for some reason vncserver and x0rfbserver crash with a segmentation fault as soon as I try to open a session using vncviewer. I've had a closer look at vncserver and the crash is in some keyboard-related X11 function (VNC had a lot of issues with keyboard on 64bit systems in the past).

Can any of you test and see if you have the same problem or it's my upgrade which went wrong?

 

For the test, a:

 

vncserver :1

vncviewer :1

 

should be enough....

Thanks!

Link to comment
Share on other sites

  • 3 weeks later...
Guest Expertys

Don't know if you still have this issue. If not, I would be very interested to know if you have solved it. I seem to have the exact same issue. Here is what I get in the log file for the server:

13/05/2008 15:13:33 Xvnc version X.org/xf4vnc custom version
13/05/2008 15:13:33 Copyright (C) 2001-2004 Alan Hourihane.
13/05/2008 15:13:33 Copyright (C) 2000-2004 Constantin Kaplinsky
13/05/2008 15:13:33 Copyright (C) 1999 AT&T Laboratories Cambridge
13/05/2008 15:13:33 All Rights Reserved.
13/05/2008 15:13:33 See http://www.tightvnc.com/ for information on TightVNC
13/05/2008 15:13:33 See http://xf4vnc.sf.net for xf4vnc-specific information
13/05/2008 15:13:33 Desktop name 'X' (calypso:1)
13/05/2008 15:13:33 Protocol versions supported: 3.7, 3.3
13/05/2008 15:13:33 RGB format 8 8 8
13/05/2008 15:13:33 Listening for VNC connections on TCP port 5901
13/05/2008 15:13:33 Listening for HTTP connections on TCP port 5801
13/05/2008 15:13:33   URL http://calypso:5801
13/05/2008 15:13:35 Xvnc version X.org/xf4vnc custom version
13/05/2008 15:13:35 Copyright (C) 2001-2004 Alan Hourihane.
13/05/2008 15:13:35 Copyright (C) 2000-2004 Constantin Kaplinsky
13/05/2008 15:13:35 Copyright (C) 1999 AT&T Laboratories Cambridge
13/05/2008 15:13:35 All Rights Reserved.
13/05/2008 15:13:35 See http://www.tightvnc.com/ for information on TightVNC
13/05/2008 15:13:35 See http://xf4vnc.sf.net for xf4vnc-specific information
13/05/2008 15:13:35 Desktop name 'X' (calypso:1)
13/05/2008 15:13:35 Protocol versions supported: 3.7, 3.3
13/05/2008 15:13:35 RGB format 8 8 8
13/05/2008 15:13:35 Listening for VNC connections on TCP port 5901
13/05/2008 15:13:35 Listening for HTTP connections on TCP port 5801
13/05/2008 15:13:35   URL http://calypso:5801
13/05/2008 15:13:35 Xvnc version X.org/xf4vnc custom version
13/05/2008 15:13:35 Copyright (C) 2001-2004 Alan Hourihane.
13/05/2008 15:13:35 Copyright (C) 2000-2004 Constantin Kaplinsky
13/05/2008 15:13:35 Copyright (C) 1999 AT&T Laboratories Cambridge
13/05/2008 15:13:35 All Rights Reserved.
13/05/2008 15:13:35 See http://www.tightvnc.com/ for information on TightVNC
13/05/2008 15:13:35 See http://xf4vnc.sf.net for xf4vnc-specific information
13/05/2008 15:13:35 Desktop name 'X' (calypso:1)
13/05/2008 15:13:35 Protocol versions supported: 3.7, 3.3
13/05/2008 15:13:35 RGB format 8 8 8
13/05/2008 15:13:35 Listening for VNC connections on TCP port 5901
13/05/2008 15:13:35 Listening for HTTP connections on TCP port 5801
13/05/2008 15:13:35   URL http://calypso:5801
13/05/2008 15:13:35 Xvnc version X.org/xf4vnc custom version
13/05/2008 15:13:35 Copyright (C) 2001-2004 Alan Hourihane.
13/05/2008 15:13:35 Copyright (C) 2000-2004 Constantin Kaplinsky
13/05/2008 15:13:35 Copyright (C) 1999 AT&T Laboratories Cambridge
13/05/2008 15:13:35 All Rights Reserved.
13/05/2008 15:13:35 See http://www.tightvnc.com/ for information on TightVNC
13/05/2008 15:13:35 See http://xf4vnc.sf.net for xf4vnc-specific information
13/05/2008 15:13:35 Desktop name 'X' (calypso:1)
13/05/2008 15:13:35 Protocol versions supported: 3.7, 3.3
13/05/2008 15:13:35 RGB format 8 8 8
13/05/2008 15:13:35 Listening for VNC connections on TCP port 5901
13/05/2008 15:13:35 Listening for HTTP connections on TCP port 5801
13/05/2008 15:13:35   URL http://calypso:5801
13/05/2008 15:13:35 Xvnc version X.org/xf4vnc custom version
13/05/2008 15:13:35 Copyright (C) 2001-2004 Alan Hourihane.
13/05/2008 15:13:35 Copyright (C) 2000-2004 Constantin Kaplinsky
13/05/2008 15:13:35 Copyright (C) 1999 AT&T Laboratories Cambridge
13/05/2008 15:13:35 All Rights Reserved.
13/05/2008 15:13:35 See http://www.tightvnc.com/ for information on TightVNC
13/05/2008 15:13:35 See http://xf4vnc.sf.net for xf4vnc-specific information
13/05/2008 15:13:35 Desktop name 'X' (calypso:1)
13/05/2008 15:13:35 Protocol versions supported: 3.7, 3.3
13/05/2008 15:13:35 RGB format 8 8 8
13/05/2008 15:13:35 Listening for VNC connections on TCP port 5901
13/05/2008 15:13:35 Listening for HTTP connections on TCP port 5801
13/05/2008 15:13:35   URL http://calypso:5801
13/05/2008 15:13:35 Xvnc version X.org/xf4vnc custom version
13/05/2008 15:13:35 Copyright (C) 2001-2004 Alan Hourihane.
13/05/2008 15:13:35 Copyright (C) 2000-2004 Constantin Kaplinsky
13/05/2008 15:13:35 Copyright (C) 1999 AT&T Laboratories Cambridge
13/05/2008 15:13:35 All Rights Reserved.
13/05/2008 15:13:35 See http://www.tightvnc.com/ for information on TightVNC
13/05/2008 15:13:35 See http://xf4vnc.sf.net for xf4vnc-specific information
13/05/2008 15:13:35 Desktop name 'X' (calypso:1)
13/05/2008 15:13:35 Protocol versions supported: 3.7, 3.3
13/05/2008 15:13:35 RGB format 8 8 8
13/05/2008 15:13:35 Listening for VNC connections on TCP port 5901
13/05/2008 15:13:35 Listening for HTTP connections on TCP port 5801
13/05/2008 15:13:35   URL http://calypso:5801
13/05/2008 15:13:35 Xvnc version X.org/xf4vnc custom version
13/05/2008 15:13:35 Copyright (C) 2001-2004 Alan Hourihane.
13/05/2008 15:13:35 Copyright (C) 2000-2004 Constantin Kaplinsky
13/05/2008 15:13:35 Copyright (C) 1999 AT&T Laboratories Cambridge
13/05/2008 15:13:35 All Rights Reserved.
13/05/2008 15:13:35 See http://www.tightvnc.com/ for information on TightVNC
13/05/2008 15:13:35 See http://xf4vnc.sf.net for xf4vnc-specific information
13/05/2008 15:13:35 Desktop name 'X' (calypso:1)
13/05/2008 15:13:35 Protocol versions supported: 3.7, 3.3
13/05/2008 15:13:35 RGB format 8 8 8
13/05/2008 15:13:35 Listening for VNC connections on TCP port 5901
13/05/2008 15:13:35 Listening for HTTP connections on TCP port 5801
13/05/2008 15:13:35   URL http://calypso:5801
13/05/2008 15:13:35 Xvnc version X.org/xf4vnc custom version
13/05/2008 15:13:35 Copyright (C) 2001-2004 Alan Hourihane.
13/05/2008 15:13:35 Copyright (C) 2000-2004 Constantin Kaplinsky
13/05/2008 15:13:35 Copyright (C) 1999 AT&T Laboratories Cambridge
13/05/2008 15:13:35 All Rights Reserved.
13/05/2008 15:13:35 See http://www.tightvnc.com/ for information on TightVNC
13/05/2008 15:13:35 See http://xf4vnc.sf.net for xf4vnc-specific information
13/05/2008 15:13:35 Desktop name 'X' (calypso:1)
13/05/2008 15:13:35 Protocol versions supported: 3.7, 3.3
13/05/2008 15:13:35 RGB format 8 8 8
13/05/2008 15:13:35 Listening for VNC connections on TCP port 5901
13/05/2008 15:13:35 Listening for HTTP connections on TCP port 5801
13/05/2008 15:13:35   URL http://calypso:5801
13/05/2008 15:14:25
13/05/2008 15:14:25 Got VNC connection from client x.x.x.x

 

and then it dies.

 

Any help would be appreciated.

 

E

Link to comment
Share on other sites

  • 2 weeks later...
Guest xx86

If anyone has a answer please post it. I 2 am having the same problem on Mandriva 2008.1

I can get the server to start but when I connect from a internet browser I get vncviewer/VNCviewer.class not found.

If I change the index.vnc to just VNCviewer.class the server dies...

Link to comment
Share on other sites

Guest xx86

I have found a solution it is Mandriva Buzzllia Bug#: 37514 :wall:

 

:D Fix: Here is an ugly workaround to have vnc work on 2008.1 : :D

:P

# unload and reload ... vnc packages (to load dependencies)

urpme --auto --force tightvnc tightvnc-server x11-server-xvnc x11vnc

libvncserver0

urpme --auto --force tightvnc tightvnc-server x11-server-xvnc x11vnc

libvncserver0

urpmi --auto tightvnc tightvnc-server x11-server-xvnc x11vnc

 

# re-unload tightvnc-server and x11-server-xvnc

urpme tightvnc-server x11-server-xvnc

 

# download the 2008.0 version rpm of tightvnc-server and x11-server-xvnc

cd /tmp ; rm -f tightvnc-server-*.i586.rpm* x11-server-xvnc-*.i586.rpm*

wget

ftp://ftp.free.fr/pub/Distributions_Linux...rver-*.i586.rpm

wget

ftp://ftp.free.fr/pub/Distributions_Linux...xvnc-*.i586.rpm

 

# load these rpm in the system

rpm -Uvh --force --nodeps tightvnc-server-*.i586.rpm x11-server-xvnc-*.i586.rpm

 

# modify /usr/bin/vncserver :

vi /usr/bin/vncserver

# $vncClasses = "/usr/share/x11vnc/classes";

# $fontPath = "catalogue:/etc/X11/fontpath.d/";

 

-----> vnc works fine, even from http access !

 

I hope this will help you :lol2:

Link to comment
Share on other sites

  • 2 months later...

For http access, there is an extra package you need: tightvnc-java

I messed around a bit, so I'm not sure if there's anything else to do.

 

Otherwise, only m repeats, but to get one 'm' character, you need to press it twice...

See also: this bug

 

 

Did some more hacking, and found that with this way to start, all is fine:

vncserver :7 -dpi 80 -geometry 800x480 -httpd /usr/share/java -httpport 5807 +kb

 

The java vnc package must be installed and +kb at the end is there to override the wrong default of -kb that gets used otherwise..

 

Hope this is useful to someone...

Edited by aRTee
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...