Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 10-08-2013, 12:41 AM   #1
LQ Newbie
Registered: Apr 2013
Distribution: Ubuntu
Posts: 3

Rep: Reputation: Disabled
x0vncserver over ssh tunnel connection issues

My setup: an embedded ubuntu solution running Xorg only (no window managers) and a graphical application. x0vncserver is installed, started from .xsession file in the following way:

x0vncserver -securitytypes=none -localhost &

I used to have some program to access this server from a windows machine, it was initiating an ssh connection and then automatically ran a standard vnc client. Everything used to work fine, even though I vaguely remember having trouble to connect in the most common way with putty tunnel and a vnc client before this piece of software was found.

The windows computer has crashed, the linux server is still alive with the same configuration. I tried the putty tunneling method again, with various vnc clients and so on... Kept asking me for password! Also, giving me all kind of stupid errors (depending on the client type). Couldn't find the same software I used to work with... Anyway, now the RealVNC viewer keeps saying "Too many security failures". I agree that the server might have some timeouts implemented and that my games triggered the protection, but I can't find any way of resetting it. Once in a while it asks me for a password again, and even if I press "cancel" next time it is at the same "too many security failures" message.

When I start the server without the localhost restriction (remove the "-locallhost"), I can easily connect remotely without tunneling and without password.

Any ideas for me?

Last edited by fault-tolerant; 10-20-2013 at 11:16 AM.
Old 10-16-2013, 11:28 AM   #2
Senior Member
Registered: Jan 2008
Distribution: Arch/Slackware/Knoppix
Posts: 1,781
Blog Entries: 14

Rep: Reputation: 278Reputation: 278Reputation: 278
Welcome to LQ.

I don't know about your main problem, but I suppose you could uninstall and reinstall RealVNC and all its data to get it to reset...assuming that it is the problem. Perhaps if you post the exact other "stupid" VNC errors it will be illuminating.

You could also change your configuration by closing all ports except ssh to the outside, instead of using localhost. You're tunneling anyway.

Last edited by mostlyharmless; 10-16-2013 at 11:31 AM.
Old 10-20-2013, 11:18 AM   #3
LQ Newbie
Registered: Apr 2013
Distribution: Ubuntu
Posts: 3

Original Poster
Rep: Reputation: Disabled
No logic in this, but reinstalling openssh-server solved the problem. Makes no sense, since I didn't touch this machine at all... except for an update? Well, anyhow - reinstalled the ssh server.


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
ssh tunnel on port 22 connection refused ashamanmiller DamnSmallLinux 2 12-10-2010 08:54 AM
Reverse SSH tunnel connection problem orwb Linux - Server 6 12-01-2010 03:16 PM
VNC through SSH tunnel connection problems after apt-upgrade sadarax Linux - Networking 1 07-24-2008 11:13 PM
how can i tunnel all network with ssh connection ? jabka Linux - Security 2 07-06-2007 03:08 PM
SSH Tunnel and FTP Issues ayrton Linux - Networking 2 02-16-2004 05:03 AM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 06:50 PM.

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