Wrong password with VNC

Wrong password with VNC

Postby Lebarhon » Dec 16th, '12, 17:16

Hi,
I can't connect a VNC client on a VNC server. I tried many times, the error message is always the same "Wrong password". However, it worked once.
The both PCs are on the same lan, one with Mageia 1/KDE the other with Mageia 2 / KDE. I use KRDC and Krfb.
I am wondering if the problem could be due to the fact that I have a Qwertz keyboard (Switz) in one side and a Azerty one on the other side.
May be the only time it worked was because by chance the password needed the same keys on each keyboard. What do you think ?
Thanks
Lebarhon
 
Posts: 408
Joined: Mar 22nd, '11, 22:24
Location: France

Re: Wrong password with VNC

Postby digigold » Jan 8th, '13, 08:11

Are you using VNC in a SSH tunnel?
"A mind that is stretched by a new experience can never go back to its old dimensions."
~Oliver Wendell Holmes, Jr.
User avatar
digigold
 
Posts: 150
Joined: May 9th, '12, 14:50
Location: Northern U.S.

Re: Wrong password with VNC

Postby Lebarhon » Jan 10th, '13, 11:34

No, I don't
Lebarhon
 
Posts: 408
Joined: Mar 22nd, '11, 22:24
Location: France

Re: Wrong password with VNC

Postby oj » Jan 10th, '13, 17:56

the keyboard difference shouldn't matter, theoretically, but it may be the problem. Of course the way to test would be to use the same type on both sides as a test.

Now, which password are you trying to use? The user name on the remote? I recall when starting the VNC server I had to set a password that any clients would have to use. It's a VNC-only password not related to the user accounts. In fact one or other of the servers I used generated it's own password.

So I guess the question is what password are you using?
oj
 
Posts: 232
Joined: Aug 23rd, '12, 00:22

Re: Wrong password with VNC

Postby Lebarhon » Jan 10th, '13, 19:12

The password I am talking about is the one automatically given by the server that must be entered by the client.
I made a new test with Mageia 1 on the server and Mageia 3 beta 1 on the client. The error message given by the client is "VNC server closed connection" just before asking the password. At the same time, the server says: "Non invited connection accepted from « 192.168.0.1:57043 »"
Lebarhon
 
Posts: 408
Joined: Mar 22nd, '11, 22:24
Location: France

Re: Wrong password with VNC

Postby oj » Jan 10th, '13, 21:24

Are your firewalls off on both machines? VNC has to negotiate random high ports for a control channel. I've found allowing the VNC service in the wizard in mcc often doesn't work. I've had to totally disable the firewalls.
oj
 
Posts: 232
Joined: Aug 23rd, '12, 00:22

Re: Wrong password with VNC

Postby Lebarhon » Jan 11th, '13, 13:22

Yes, firewalls are totally disabled on both machines.
Thanks
Lebarhon
 
Posts: 408
Joined: Mar 22nd, '11, 22:24
Location: France

Re: Wrong password with VNC

Postby oj » Jan 11th, '13, 16:37

It definitely looks like auth is failing and the server closes. Do you have another keyboard so you can have the same layout everywhere for a test? I am not sure where VNC hooks X, but the X server is actually the keyboard/mouse you are sitting at. The X client is on the remote machine you're trying to log in to. It may be the X client (the VNC server) is using the local keyboard layout, which is different from the one you're sitting at, using to log in. In that case no doubt the codes sent would be misinterpreted.

As I say, I'm not sure about where VNC hooks X, but I am positive about the X server being the keyboard you are using, your VNC server is actually the X client, not the X server. A difference in keyboard layout could rationally be the problem here.
oj
 
Posts: 232
Joined: Aug 23rd, '12, 00:22

Re: Wrong password with VNC

Postby Lebarhon » Jan 12th, '13, 21:07

Thanks a lot for your answers. It 's not easy to change a laptop keyboard, but I think I should be soon able to find two PC with the same keyboard.
Lebarhon
 
Posts: 408
Joined: Mar 22nd, '11, 22:24
Location: France

Re: Wrong password with VNC

Postby oj » Jan 12th, '13, 23:45

they're both laptops? that would be tough to swap out. :)
oj
 
Posts: 232
Joined: Aug 23rd, '12, 00:22


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest