[SOLVED] x0vncserver over ssh tunnel connection issues
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
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.