rdesktop - windows 7 - mouse pointer invisible - no black outline

17

2

I have recently upgraded to Windows 7.

I use rdesktop from my linux desktop to remote in.

The Win7 system default mouse pointer theme is white with a black outline. However, when using rdesktop, the black outline is not displayed, rendering the pointer invisible when on a white background.

I have tried using the black pointer theme, but there one or two pointers which don't have a black counterpart (eg: the pointing finger for when you mouse over a url) - these too disappear.

This problem does not occur on WinXP.

Is there any way to get a black outline on rdesktop to Win7?

Steve Lorimer

Posted 2013-02-10T22:02:56.260

Reputation: 429

1Have you tried downloading and compiling the latest version of rdesktop? I had the same problem, and this worked for me. – Derek Pressnall – 2013-02-10T23:21:35.250

Thanks Derek - I am running an older version - will upgrade – Steve Lorimer – 2013-02-11T04:17:34.977

Hmmm - upgraded - still not working! :( – Steve Lorimer – 2013-02-11T05:32:53.670

Answers

18

Just go to control panel, on the remote Windows 7 desktop, and disable Mouse pointer shadow, in the mouse configuration section.

Emmanuel A.

Posted 2013-02-10T22:02:56.260

Reputation: 181

1Finally! This also applies to later versions (Server 2012 in my case). – musiKk – 2014-10-06T14:36:26.037

Open control panel, search for mouse, choose mouse properties, tab pointers, disable 'enable shadow pointers', click Apply and the pointer should immediately change. – Harald – 2016-08-25T10:17:00.900

Worked for me as well on Windows 10 with rdesktop – The Vivandiere – 2018-01-08T18:40:01.543

5

I have just solved this over at Unix & Linux StackExchange. In short, you can tell Xorg to override the cursor that rdesktop is trying to set, so that you get a different cursor instead:

$ mkdir -p ~/.icons/default/cursors
$ ln -s /usr/share/icons/Vanilla-DMZ/cursors/left_ptr ~/.icons/default/cursors/24020000002800000528000084810000

In this case the default Windows 7 cursor (2402...) is being replaced by the default arrow (left_ptr) from the Vanilla-DMZ cursor theme. Adjust as appropriate. The change should be visible as soon as you close and reopen rdesktop.

Malvineous

Posted 2013-02-10T22:02:56.260

Reputation: 1 881

In my case, it was a right cursor on visual studio which was screwed up. I'm on arch, so a little different set of cursors. Anyway, here's the command line for those who are trying to fight that plague: ln -s /usr/share/icons/mate/cursors/right_ptr ~/.icons/default/cursors/e0059efb1a34ffc5bb00005f87803e11 – galets – 2014-11-21T15:40:28.723

I'm on Arch too. The instructions here are distribution agnostic, the key is to make sure you pick the same cursor theme if you want the cursors to match (although there's nothing stopping you from mixing and matching between themes.) – Malvineous – 2014-11-21T21:20:14.330

it would be good if there was an easy way to detect and replace the whole set of cusrors – galets – 2014-11-21T22:24:13.003

For ubuntu trusty (14.04), I adjusted the answer as follows: mkdir -p ~/.icons/default/cursors ; ln -nfs /usr/share/icons/DMZ-White/cursors/left_ptr ~/.icons/default/cursors/24020000002800000528000084810000 – iheggie – 2015-08-24T02:17:25.447

Unfortunately the cursor fix didn't work for all servers - I ended up installing http://ftp.us.debian.org/debian/pool/main/r/rdesktop/rdesktop_1.8.3-1_amd64.deb from debian (Thanks http://labs.sasslantis.ee/2014/09/install-rdesktop-1-8-2-on-ubuntu-14-04/ )

– iheggie – 2015-08-24T02:49:32.263

The fix only works for a single mouse cursor graphic. You'll have to repeat it from scratch (see the linked instructions on Unix & Linux StackExchange) for each different remote cursor, depending on how many different remote OSes/cursors you need. – Malvineous – 2015-08-25T03:40:35.107

0

My situation: Logging onto a Windows 10 computer host with a Ubuntu 14.04 client using rdesktop.

My problem: Both the remote Windows desktop background and the remote Windows mouse were black rendering the mouse pointer invisible i.e. black on black.

My solution: Change the black Windows remote mouse pointer to white To change a black mouse pointer to white:

  1. Go to the lower-left Windows screen to the start menu (lower left corner)
  2. in the Type here to search box type: control panel
  3. and from the resulting control panel menu select: Hardware and Sound
  4. from the resulting menu under Devices and Printers select: Mouse
  5. You should get a pop-up window labeled Mouse Properties
  6. In Mouse Properties click: Pointers on the tab (upper part of the window)
  7. With the Pointers tab selected, at the bottom of this window unselect (i.e. uncheck) the box labeled: Enable pointer shadow.

The unselecting of the Enable pointer shadow mouse control should then make your remote mouse pointer turn white so you get a white mouse pointer on the black remote background.

Phil

Posted 2013-02-10T22:02:56.260

Reputation: 1

0

Following the solution already posted to override the unknown cursors I wrote a script that fixes all Aero cursors. The challenge was to identify all cursor hashes, especially the animated ones (17 hashes per cursor). Its on https://github.com/DavidLP/rdesktop_cursor_fix. You can also just copy the hashes from the script and link it to the Linux cursors you like. I would have commented to the answer already given but the reputation systems prevents this...

DavidLP

Posted 2013-02-10T22:02:56.260

Reputation: 1