5

I'm running a Linux VM on windows with Hyper-V and connect via a remote desktop session. It often happens that the Alt-key appears to remain pressed after I use a keyboard shortcut involving both, Alt and Shift. If I press Alt again, everything works fine but it is pretty annoying because various keyboard shortcuts are triggered when I continue typing without pressing Alt again after the initial shortcut that causes the problem.

The problem is not related to a specific application but is reproducible in different apps.

I'm using the xfce desktop and xrdp.

fixer1234
  • 27,064
  • 61
  • 75
  • 116
lex82
  • 161
  • 2
  • 8
  • 1
    I know this is an old question, but did you ever solve it? I'm running into the same exact thing myself: whenever I press Alt+Shift, the Alt key gets stuck "on", so that all keypresses are effectively Alt+{whatever}, until I hit Alt again. (For reference, I'm using centos 7, Gnome Shell, tigervnc-server, xrdp, and Remote Desktop Connection on Windows 7.) – Ken Bellows Jul 25 '18 at 14:51
  • 1
    @KenBellows no, at least I don't remember. Fortunately, I don't have to work on a windows machine anymore ;-) – lex82 Jul 25 '18 at 15:08
  • I have the same problem using windows -> windows remote desktop – Erik Thysell Jan 27 '21 at 08:03
  • Probably not your issue, but there is a bug in xrdp which causes this Redhat 7 - https://bugzilla.redhat.com/show_bug.cgi?id=1415069 – Adam Feb 17 '22 at 07:10

1 Answers1

2

It is possible that you have sticky keys on. Pressing shift 5 times turns it on. Uncheck the setting on this pageenter image description here.

Rohit Gupta
  • 2,721
  • 18
  • 27
  • 35