Monday, February 05, 2007

Edgy and Feisty: vnc4server still not working

If you are using vnc4server on Edgy or Feisty (with the latest updates), then there is still a critical bug preventing this from working. The symptom is that, after authentication, the session dies with some reference to "end of stream". For example,
CConn: connected to host localhost port 5901
CConnection: Server supports RFB protocol version 3.8
CConnection: Using RFB protocol version 3.8
main: End of stream
There are a couple of options if this is affecting you:
  • Downgrade vnc4server to the previous release using:
sudo apt-get install vnc4server/edgy
See here for more detail.
  • OR, use x11vnc instead. Depending on your needs, this may or may not be useful. x11vnc only serves the currently open desktop, i.e. :0. But it is working and if you only need remote access to your machine, this should be fine. Tutorial is here.
Technorati Tags: , ,

2 comments:

ctwardy said...

I just struggled with a similar problem, resolved by changing the font path for Xvnc to:
/usr/share/fonts/X11/misc

(from: /usr/share/X11/fonts/misc)

Roberto Scardovi said...

Warren,
I found a workaround for that!
Please check it and update your wonderful ubuntu/vnc tutorial
-----------------------------------------
CConn: connected to host localhost port 5901
CConnection: Server supports RFB protocol version 3.8
CConnection: Using RFB protocol version 3.8
main: End of stream
-----------------------------------------

Made the password file readable to all
and all working:

chmod a+rwx "vnc_passfile"

Reset permissions to -rw------- and "end of stream" again!

The "end of stream" problem affects many vnc4server packages (from feisty to intrepid).

Best regards
Roberto
roberto@occhiostanco.com