LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-07-2004, 06:14 AM   #1
NovaTC
LQ Newbie
 
Registered: Sep 2003
Posts: 1

Rep: Reputation: 0
Question Linux as VMWare guest - Alt-Gr not working correctly


I am trying to get a rather non-standard setup to work:
My company has a big Win 2003 box which stands around largely unused. Luckily, our admin installed VMWare on it, so I decided to put this machine's RAM and CPUs to good use by installing Linux in VMWare and use this Linux either directly (i.e. within the VMWare window) or preferrably via XDMCP using a local XServer on my (WinXP-)workstation. I should also mention that I do not have physical access to the Windows server, so I use WinXP's "Remote Desktop Connection".
So to sum it up: I have a WinXP workstation, running rdp to the Win 2003 server which runs VMWare which runs Linux (Suse 9.0 BTW). I have direct network access to the Linux instance using bridged networking in VMWare (i.e. Linux has an externally visible IP)

Now to the problem: I am using a german keyboard layout, and the Alt-Gr key in my guest Linux gives me quite a headache. It works only sporadically, i.e. when I press and hold Alt-Gr e.g. to create a "bar" (|) character, it works sometimes, but usually it will not work. This is the same whether I access Linux via the VMWare window or use XDMCP from my workstation, and it occurs both on the text consoles (Ctrl-Alt-F1 to F6) and in X. I tried different keyboard mappings in the KDE control center, tried some tweaks in the keyboard section of XF86config, none of them had any effect.
I used xev to analyze scan codes. It appears that in addition to the "ISO_Level3_Shift that is supposed to be caused by Alt-Gr, in about 90% of the cases an additional Control_L keycode is generated. Since the combination of Ctrl + Alt-Gr does not produce any characters, it makes no wonder that I can't produce |{[]} etc. that way. In some cases releasing Alt-Gr will not produce a "release Control_L" event leaving me with a stuck control key (which can be curred by typing control once).

Any ideas what could be the cause of the problem? I found many descriptions of problems concerning the use of Alt-Gr on this page and many other pages dedicated to Linux, but none quite fit (or solved) my problem.

I also tried to use a local linux installation and rdesktop to connect to the Win2003 server, to see if is a problem with Windows' remote desktop connection, but whenever I type "Alt-Gr" in the rdesktop window, rdesktop complains that it cannot transmit this keycode. Is there a way to tell rdesktop to transmit Alt-Gr?
 
Old 11-22-2004, 05:57 AM   #2
cseghers
LQ Newbie
 
Registered: Nov 2004
Posts: 1

Rep: Reputation: 0
I do have exactly the same behaviour as you describe, except that I have a different configuration.

I work remotely from my home Windows 2000 computer via Remote Desktop Connection on a remote Windows XP machine. I frequently get the sticky Alt-Gr problem. Hitting Alt-Gr once restores normal function again. (Ctrl may work too, haven't tried that yet.)

The Alt-Gr characters on my keyboard (|, \, {, }, #, [, ], , `) do work normally, except when working from the remote XP in an xterm on a UNIX server (using Exceed). Most often I can type such a character once in the xterm, but not a second time. Hitting Alt-Gr does not restore normal function here.

When I am physically located at the XP machine, I don't have any of these problems. Neither do I have them on my Windows 2000 machine when I am not connected to the XP machine.

What is important here is that the common element between our two situations is the Remote Desktop Connection. I always suspected RDC but now I think the guilt is clear. The solution not, unfortunately. The problem is really annoying. Any help would be appreciated.

Carl
 
Old 11-27-2005, 05:39 AM   #3
Asterion
LQ Newbie
 
Registered: Nov 2005
Location: Hamburg
Distribution: suse, colinux
Posts: 1

Rep: Reputation: 0
Maybe a solution

Hello,

maybe the problem is no longer of interest, but it was recently frustrating me.

I installed suse linux 10.0 under vmware which itself runs on a win2003server.
My remote-PC runs a winXP-installation (SP2). But I remember having the
alt+gr-problem using a linux installation with rdesktop (http://www.rdesktop.org/)
a couple of moths ago.

Here is the solution that works for me:
After pressing (and releasing) the keys Shift+Alt everything works fine.

Somehow the hot-key for switching between vmware and the host (shift+alt+ctrl)
and the one switching between my remote-Session and my PC (ctrl+alt+break) collide in some way.
So, depending on your hot-keys for switching, just try out and find your combination
of modifier-keys (ctrl, shift, alt).

I hope that this will help.

Regards,
Martin

Last edited by Asterion; 11-27-2005 at 05:42 AM.
 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VMWare Linux Guest On XP Host PlatinumRik Linux - Networking 2 02-09-2004 08:05 PM
Move VMware guest from Windows to Linux.... Whitehat Linux - General 7 01-08-2004 11:11 AM
Using Vmware with linux mandrake 9.1 as a guest mrbungle Linux - Software 0 09-11-2003 03:13 PM
Running Linux 8.0 Guest under Win2K with VMware IdolWild Linux - General 6 03-03-2003 02:29 AM
VMware Linux guest on 2K host. seriaalportx Linux - Newbie 1 11-19-2002 07:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:22 AM.

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