LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 02-16-2008, 12:47 AM   #1
sadarax
Member
 
Registered: Sep 2005
Distribution: Ubuntu
Posts: 249

Rep: Reputation: 30
VNC through SSH tunnel connection problems after apt-upgrade


Hello. I already a post on about this on the Ubuntu forums, but I have not got any help yet.

I am running MythBuntu 7.10 with kernel

I connect using TightVNC through an SSH tunnel to a remote computer running MythBuntu 7.10 (kernel 2.6.22-14-generic dual-core AMD ). Until about 2 days ago, I was connecting just fine. But now it will not work.

Around the same time, I did an apt-get upgrade and I am not sure if that has caused a problem.

Here is how I connect to my remote computer.

ssh server.address.com -L 5900:server.address.com:5909
# I connect to desktop number 9 typically

I can still connect with SSH no problem, but VNC will not connect. I am using KDE's remote desktop client (krdc) to connect vnc:/127.0.0.1:0 which does the whole ssh tunnel thing.

When I click connect, krdc (the vnc-viewer) just sits there trying to authenticate, but nothing happens. Occasionally on the SSH window (which is still connect just fine), I get messages like:

Quote:
channel 4: open failed: connect failed: Connection timed out
Here is the log from desktop 9 (which is the one I usually use) from my ~/.vnc:

Quote:
14/02/08 05:53:28 Xvnc version 3.3.tight1.2.9
14/02/08 05:53:28 Copyright (C) 1999 AT&T Laboratories Cambridge.
14/02/08 05:53:28 Copyright (C) 2000-2002 Constantin Kaplinsky.
14/02/08 05:53:28 All Rights Reserved.
14/02/08 05:53:28 See http://www.uk.research.att.com/vnc for information on VNC
14/02/08 05:53:28 See http://www.tightvnc.com for TightVNC-specific information
14/02/08 05:53:28 Desktop name 'X' (MythTV:9)
14/02/08 05:53:28 Protocol version supported 3.3
14/02/08 05:53:28 Listening for VNC connections on TCP port 5909
Font directory '/usr/X11R6/lib/X11/fonts/Type1/' not found - ignoring
Font directory '/usr/X11R6/lib/X11/fonts/Speedo/' not found - ignoring
Font directory '/usr/X11R6/lib/X11/fonts/misc/' not found - ignoring
Font directory '/usr/X11R6/lib/X11/fonts/75dpi/' not found - ignoring
Font directory '/usr/X11R6/lib/X11/fonts/100dpi/' not found - ignoring
xrdb: No such file or directory
xrdb: can't open file '/home/username/.Xresources'

** (x-window-manager:6116): WARNING **: The display does not support the XRender extension.

** (x-window-manager:6116): WARNING **: The display does not support the XRandr extension.

** (x-window-manager:6116): WARNING **: The display does not support the XComposite extension.

** (x-window-manager:6116): WARNING **: The display does not support the XDamage extension.

** (x-window-manager:6116): WARNING **: The display does not support the XFixes extension.

** (x-window-manager:6116): WARNING **: Compositing manager disabled.
** Message: Querying Xkb extension
** Message: Your X server does not support Xkb extension
Xlib: extension "RANDR" missing on display ":9.0".
Xlib: extension "XFree86-VidModeExtension" missing on display ":9.0".
alsa: error: master control not found. I even tried to guess wildly, but to no avail.
alsa: info: developer information follows: (send E-Mail to Developer with that)
alsa: * Headphone,0
alsa: * Front,0 <--- hint hint
alsa: * Front Mic,0 <--- hint hint
alsa: * Surround,0 <--- hint hint
alsa: * Center,0 <--- hint hint
alsa: * LFE,0 <--- hint hint
alsa: * Side,0 <--- hint hint
alsa: * Line,0 <--- hint hint
alsa: * Mic,0 <--- hint hint
alsa: * Capture,0
alsa: * Capture,1
alsa: * Input Source,0
alsa: * Input Source,1
alsa: info: end of developer information
** Message: This build doesn't include support for XF86Misc extension
** Message: Querying Xkb extension
** Message: Your X server does not support Xkb extension
And after I kill the VNC session, there is this added to the log file:

Quote:
The application 'x-window-manager' lost its connection to the display :9.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application 'xfce-mcs-manager' lost its connection to the display :9.0;
most likely the X server was shut down or you killed/destroyed
the application.

(xfce4-terminal:6115): Gdk-WARNING **: GdkWindow 0x1800046 unexpectedly destroyed

(xfce4-terminal:6115): Gdk-WARNING **: GdkWindow 0x1800038 unexpectedly destroyed

(xfce4-terminal:6115): Gdk-WARNING **: GdkWindow 0x1800045 unexpectedly destroyed

(xfce4-terminal:6115): Gdk-WARNING **: GdkWindow 0x1800044 unexpectedly destroyed

(xfce4-terminal:6115): Gdk-WARNING **: GdkWindow 0x1800043 unexpectedly destroyed

(xfce4-terminal:6115): Gdk-WARNING **: GdkWindow 0x1800042 unexpectedly destroyed

(xfce4-terminal:6115): Gdk-WARNING **: GdkWindow 0x1800041 unexpectedly destroyed

(xfce4-terminal:6115): Gdk-WARNING **: GdkWindow 0x180003d unexpectedly destroyed

(xfce4-terminal:6115): Gdk-WARNING **: GdkWindow 0x180003c unexpectedly destroyed

(xfce4-terminal:6115): Gdk-WARNING **: GdkWindow 0x1800033 unexpectedly destroyed

(xfce4-terminal:6115): Gdk-WARNING **: GdkWindow 0x180000e unexpectedly destroyed
The application 'xfce4-terminal' lost its connection to the display :9.0;
most likely the X server was shut down or you killed/destroyed
the application.
Here is my /var/log/dpkg.log file. I am not sure if it is relevant:
Quote:
2008-02-14 04:17:39 upgrade linux-image-2.6.22-14-generic 2.6.22-14.51 2.6.22-14.52
2008-02-14 04:17:39 status half-configured linux-image-2.6.22-14-generic 2.6.22-14.51
2008-02-14 04:17:39 status unpacked linux-image-2.6.22-14-generic 2.6.22-14.51
2008-02-14 04:17:39 status half-installed linux-image-2.6.22-14-generic 2.6.22-14.51
2008-02-14 04:17:45 status half-installed linux-image-2.6.22-14-generic 2.6.22-14.51
2008-02-14 04:17:46 status unpacked linux-image-2.6.22-14-generic 2.6.22-14.52
2008-02-14 04:17:47 status unpacked linux-image-2.6.22-14-generic 2.6.22-14.52
2008-02-14 04:17:47 upgrade libpq5 8.2.6-0ubuntu0.7.10.1 8.3.0-1~gutsy1
2008-02-14 04:17:47 status half-configured libpq5 8.2.6-0ubuntu0.7.10.1
2008-02-14 04:17:47 status unpacked libpq5 8.2.6-0ubuntu0.7.10.1
2008-02-14 04:17:47 status half-installed libpq5 8.2.6-0ubuntu0.7.10.1
2008-02-14 04:17:48 status half-installed libpq5 8.2.6-0ubuntu0.7.10.1
2008-02-14 04:17:48 status unpacked libpq5 8.3.0-1~gutsy1
2008-02-14 04:17:48 status unpacked libpq5 8.3.0-1~gutsy1
2008-02-14 04:17:48 upgrade linux-libc-dev 2.6.22-14.51 2.6.22-14.52
2008-02-14 04:17:48 status half-configured linux-libc-dev 2.6.22-14.51
2008-02-14 04:17:48 status unpacked linux-libc-dev 2.6.22-14.51
2008-02-14 04:17:48 status half-installed linux-libc-dev 2.6.22-14.51
2008-02-14 04:17:48 status half-installed linux-libc-dev 2.6.22-14.51
2008-02-14 04:17:48 status unpacked linux-libc-dev 2.6.22-14.52
2008-02-14 04:17:48 status unpacked linux-libc-dev 2.6.22-14.52
2008-02-14 04:17:48 startup packages configure
2008-02-14 04:17:48 configure linux-image-2.6.22-14-generic 2.6.22-14.52 2.6.22-14.52
2008-02-14 04:17:48 status unpacked linux-image-2.6.22-14-generic 2.6.22-14.52
2008-02-14 04:17:48 status half-configured linux-image-2.6.22-14-generic 2.6.22-14.52
2008-02-14 04:18:02 status installed linux-image-2.6.22-14-generic 2.6.22-14.52
2008-02-14 04:18:02 configure libpq5 8.3.0-1~gutsy1 8.3.0-1~gutsy1
2008-02-14 04:18:02 status unpacked libpq5 8.3.0-1~gutsy1
2008-02-14 04:18:02 status half-configured libpq5 8.3.0-1~gutsy1
2008-02-14 04:18:02 status installed libpq5 8.3.0-1~gutsy1
2008-02-14 04:18:02 status triggers-pending libc6 2.6.1-1ubuntu10
2008-02-14 04:18:02 configure linux-libc-dev 2.6.22-14.52 2.6.22-14.52
2008-02-14 04:18:02 status unpacked linux-libc-dev 2.6.22-14.52
2008-02-14 04:18:02 status half-configured linux-libc-dev 2.6.22-14.52
2008-02-14 04:18:02 status installed linux-libc-dev 2.6.22-14.52
2008-02-14 04:18:02 trigproc libc6 2.6.1-1ubuntu10 2.6.1-1ubuntu10
2008-02-14 04:18:02 status half-configured libc6 2.6.1-1ubuntu10
2008-02-14 04:18:05 status installed libc6 2.6.1-1ubuntu10
2008-02-16 01:27:56 upgrade xserver-xorg-video-intel 2:2.1.1-0ubuntu9 2:2.1.1-0ubuntu9.1
2008-02-16 01:27:56 status half-configured xserver-xorg-video-intel 2:2.1.1-0ubuntu9
2008-02-16 01:27:56 status unpacked xserver-xorg-video-intel 2:2.1.1-0ubuntu9
2008-02-16 01:27:56 status half-installed xserver-xorg-video-intel 2:2.1.1-0ubuntu9
2008-02-16 01:27:56 status half-installed xserver-xorg-video-intel 2:2.1.1-0ubuntu9
2008-02-16 01:27:56 status unpacked xserver-xorg-video-intel 2:2.1.1-0ubuntu9.1
2008-02-16 01:27:56 status unpacked xserver-xorg-video-intel 2:2.1.1-0ubuntu9.1
2008-02-16 01:27:56 startup packages configure
2008-02-16 01:27:56 configure xserver-xorg-video-intel 2:2.1.1-0ubuntu9.1 2:2.1.1-0ubuntu9.1
2008-02-16 01:27:56 status unpacked xserver-xorg-video-intel 2:2.1.1-0ubuntu9.1
2008-02-16 01:27:56 status half-configured xserver-xorg-video-intel 2:2.1.1-0ubuntu9.1
2008-02-16 01:27:56 status installed xserver-xorg-video-intel 2:2.1.1-0ubuntu9.1
2008-02-16 01:27:56 status triggers-pending libc6 2.6.1-1ubuntu10
2008-02-16 01:27:56 trigproc libc6 2.6.1-1ubuntu10 2.6.1-1ubuntu10
2008-02-16 01:27:56 status half-configured libc6 2.6.1-1ubuntu10
2008-02-16 01:27:59 status installed libc6 2.6.1-1ubuntu10

Last edited by sadarax; 02-16-2008 at 01:44 AM.
 
Old 07-24-2008, 11:13 PM   #2
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,113

Rep: Reputation: 57
I am having the same issue.

http://www.linuxquestions.org/questi...update-658107/
 
  


Reply

Tags
connection, ssh, tunnel, vnc


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
linux to xp ssh/vnc noob tunnel confusion babag Linux - Networking 2 07-14-2007 11:29 AM
VNC SSH tunnel firewall problem bitpail Linux - Networking 2 11-02-2006 08:37 AM
setting up ssh tunnel for vnc jr0 Linux - Networking 3 10-22-2005 11:38 AM
SSH tunnel reversed for VNC...Possible? silence Linux - Networking 1 07-22-2004 09:42 AM
VNC and SSH Tunnel Syncrm Linux - General 13 04-06-2003 04:46 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration