TightVNC Server
Hi all. I installed TightVNC server on the domain controller. And im able to login with no problems. However, the keyboard im using ( a laptop ) doesnt seem to be able to work for the server.
For example, when i type in my password, it receives that correctly. But once logged in when i open a window or gedit the keys that i type in are not correct. How can i solve this? Im using Linux on my laptop as well so i dont see why there would be any issues. Thanx in advance! |
The problem you've told about may be locale related.
Can you please answer some questions? 1) Have you tried to change the keyboard layout in VNC session? 2) Do the functional keys work? 3) Do the server and the client have similar locales? try set | grep '^LANG' and set | grep '^LC_' 4) What client do you use? |
Quote:
1) No i have not. The instructions i found here didnt suggest anything about keyboard layout. So if that could solve my problem how would i go about doing it? Also, seeing how i launch the vncviewer from cmd line, what option would i need to add for keyboard layout? I didnt see it in the man pages. 2) Yes they do, prior to me installing TightVNC i would administrate the server via OpenSSH. Also if i use a physical keyboard/mouse all is well. 3) Yes. Code:
Server:~# set | grep '^LANG' Code:
user@laptop:~$ set | grep '^LANG' |
[solved]
To the World of Linux:
The problem seemed to be with the vncserver. After googling around for a day and a half i found a solution and got it working. Now all the keys i type are correct. When launching the vncserver as a user you must edit the /home/user/.vnc/xstartup file. The default looks like so.... Code:
#!/bin/sh Code:
#!/bin/sh |
All times are GMT -5. The time now is 06:30 PM. |