PDA

View Full Version : [ubuntu] VNC problems after Hardy upgrade



fridaythe14th
June 25th, 2008, 09:54 AM
Been running VNC flawlessly before but since upgrading I have this problem:

My client (VNC Viewer on WinXP) closes itself. This happens when the server stops responding. It happened occationally before too, like when someone tripped over the network cables. Only now it happens a lot more often. One sure way to trigger it is by using the scrollbars, which I guess requires sending a lot of information, and watching a video-clip of course.

I tried using NX instead, but I get the exact same problem (only it says "connection closed" instead of shutting down), so I really don't think this is a VNC problem.

Please don't tell me to use SSH instead as I've seen in lots of VNC threads. It is not what I asked about.

Sawyer_
June 25th, 2008, 01:43 PM
Why not use SSH? For example NX uses SSH auth by default in its configuration.

For what comes to the problem with the connection getting closed, maybe check the system logs and VNC logs etc.

timcredible
June 25th, 2008, 03:33 PM
why not use XDM? it's on every linux and unix machine by default, and it works correctly (XDM is what you're using to login to your linux machine on the console now). click on my sig for a how to.

fridaythe14th
June 25th, 2008, 10:20 PM
Thank you :) I'll try that and see if I get similar problems.


Why not use SSH? For example NX uses SSH auth by default in its configuration.
I need gui access. I might be switching to NX if I get this working. I'm having the same problem there though, as mentioned. Security isn't a big issue as I've set up my firewall to deny everything except my laptop, which is on the same LAN (same with SSH, because of brute force paranoia).


For what comes to the problem with the connection getting closed, maybe check the system logs and VNC logs etc.
I couldn't find any VNC logs at all. they're supposed to be in ~/.vnc or /var/logs/gdm but no. The NX server log file was empty.