Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I often use VNC to connect to my desktop upstairs using a laptop downstairs over my home network. I tunnel the VNC connection via SSH.

The problem I keep running into is that I'll attempt to type a ! or a : or even a captial A and it will come across the wire as a 1, ;, or a respectively. Is this something I can fix? It's really REALLY annoying while one is programming to have to pop open character map and find a colon and copy/paste it in each time.

Running Ubuntu 10.04 upstairs, Linux Mint 10 downstairs.

share|improve this question
1  
sounds like a shift delay problem that has been discussed before....don't think there was a resolution. the previous question related to RDP though. it's still shift delay or multi-key press not being sent –  hbdgaf Dec 30 '10 at 1:31
    
@aking1012 is right. I've seen this specifically on LogMeIn software, where either the Shift isn't detected, or it stays on for two keypresses. –  user3463 Dec 30 '10 at 1:56
    
It's really weird, it works for certain characters but not for others. Uppercase letters that don't work with shift do work with Caps-Lock, but this obviously doesn't help with colons and exclamation marks. So this is a problem with VNC in general, then? I'm using x11vnc if that helps, but I have noticed this problem elsewhere. –  Naftuli Tzvi Kay Dec 30 '10 at 2:00
    
we're back to the two keypress at the same time issue. you might be able to get around it by sending it as a control character or hex character, but that's an ugly hack and not a solution –  hbdgaf Dec 30 '10 at 2:03
    
you could also try an on-screen keyboard, again ugly and hackish –  hbdgaf Dec 30 '10 at 2:05

1 Answer 1

up vote 2 down vote accepted

Adding -xkb to my invocation of x11vnc did the trick:

x11vnc -rfbauth passwordfile -o logfile -forever -bg -localhost -xkb

No more eaten characters!

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.