Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When connecting to my server using TightVNC viewer the connection fails after a short time. Usually i get the message "Connection has been gracefully closed", but sometimes the error is some socket connection lost error.

I'm running Ubuntu 12.04.2 LTS (GNU/Linux 3.2.0-43-generic x86_64), and have installed ubuntu-desktop, gdm and tightvncserver.

I have tried to various setting in the .vnc/xstartup with same result :(

The connection to the server (using ssh/putty) is never dropped, and the server is placed on internal network, so this is not a network issue.

The log file:

27/06/13 09:23:02 Xvnc version TightVNC-1.3.9
27/06/13 09:23:02 Copyright (C) 2000-2007 TightVNC Group
27/06/13 09:23:02 Copyright (C) 1999 AT&T Laboratories Cambridge
27/06/13 09:23:02 All Rights Reserved.
27/06/13 09:23:02 See http://www.tightvnc.com/ for information on TightVNC
27/06/13 09:23:02 Desktop name 'X' (Ubuntu12:1)
27/06/13 09:23:02 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
27/06/13 09:23:02 Listening for VNC connections on TCP port 5901
Font directory '/usr/share/fonts/X11/75dpi/' not found - ignoring
Font directory '/usr/share/fonts/X11/100dpi/' not found - ignoring
starting gnome
gnome-session[1519]: WARNING: GSIdleMonitor: IDLETIME counter not found
GNOME_KEYRING_CONTROL=/tmp/keyring-LSR7cW
GPG_AGENT_INFO=/tmp/keyring-LSR7cW/gpg:0:1
GNOME_KEYRING_PID=1535
GNOME_KEYRING_CONTROL=/tmp/keyring-LSR7cW
GPG_AGENT_INFO=/tmp/keyring-LSR7cW/gpg:0:1
GNOME_KEYRING_CONTROL=/tmp/keyring-LSR7cW
GPG_AGENT_INFO=/tmp/keyring-LSR7cW/gpg:0:1
SSH_AUTH_SOCK=/tmp/keyring-LSR7cW/ssh
GNOME_KEYRING_CONTROL=/tmp/keyring-LSR7cW
GPG_AGENT_INFO=/tmp/keyring-LSR7cW/gpg:0:1
SSH_AUTH_SOCK=/tmp/keyring-LSR7cW/ssh
(gnome-settings-daemon:1532): color-plugin-WARNING **: failed to get contents of /sys/class/dmi/id/product_name: Failed to open file '/sys/class/dmi/id/product_name': No such file or directory
(gnome-settings-daemon:1532): color-plugin-WARNING **: failed to get contents of /sys/class/dmi/id/board_name: Failed to open file '/sys/class/dmi/id/board_name': No such file or directory
(gnome-settings-daemon:1532): color-plugin-WARNING **: failed to get contents of /sys/class/dmi/id/product_version: Failed to open file '/sys/class/dmi/id/product_version': No such file or directory
(gnome-settings-daemon:1532): color-plugin-WARNING **: failed to get contents of /sys/class/dmi/id/chassis_version: Failed to open file '/sys/class/dmi/id/chassis_version': No such file or directory
(gnome-settings-daemon:1532): color-plugin-WARNING **: failed to get contents of /sys/class/dmi/id/board_version: Failed to open file '/sys/class/dmi/id/board_version': No such file or directory
(gnome-settings-daemon:1532): color-plugin-WARNING **: failed to get contents of /sys/class/dmi/id/sys_vendor: Failed to open file '/sys/class/dmi/id/sys_vendor': No such file or directory

Does anyone have a setup similar to mine, where it works?

share|improve this question
    
UPDATE: I just realized, that when running tightvncserver as root the connection does not drop, like when running as a user - even the user have root privileges. Does anyone have suggestion to how i may fix this? Thanks! –  Runberg Jun 30 '13 at 6:36

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.