Alt key sticks sometimes in remote desktop session

2

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.

lex82

Posted 2015-11-19T10:08:24.007

Reputation: 131

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 – 2018-07-25T14:51:00.157

1@KenBellows no, at least I don't remember. Fortunately, I don't have to work on a windows machine anymore ;-) – lex82 – 2018-07-25T15:08:30.100

Answers

0

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

Posted 2015-11-19T10:08:24.007

Reputation: 689

Unfortunately this is not the problem. It's turned off as in your screenshot. – lex82 – 2015-11-19T10:36:00.977

@lex82, it may not be your problem, but in my screenshot it is on. "Turn on Sticky Keys when Shift is pressed five times" is actually ticked. – Rohit Gupta – 2015-11-19T10:38:13.220

I thought the first checkbox would override it because of the indentation but I had also tried deactivating all of the boxes. – lex82 – 2015-11-19T11:20:02.243

No, try it. Press shift 5 times. – Rohit Gupta – 2015-11-19T23:02:38.907

Ok, you are right. However, unfortunately it does not solve the problem. – lex82 – 2015-11-20T05:56:18.147