rubikwizard
Posts: 95
Joined: Tue Jan 10, 2012 10:37 pm
Location: West Yorkshire
Contact: Website

Jessie and XRDP

Sun Oct 04, 2015 9:17 pm

Hi

I use XRDP to connect remotely to my Pi from a Windows machine. I have used this for a long time with no problems under Wheezy. It also works fine with Jessie, except the mouse pointer now displays as a cross which is really annoying (see attached image)

Image

Does anyone know how to turn it back to the regular arrow?

Thanks

hippy
Posts: 3908
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: Jessie and XRDP

Sun Oct 04, 2015 11:01 pm

Just to confirm I am seeing the same (B+ and XP SP3).

Simke
Posts: 5
Joined: Thu Oct 08, 2015 9:39 am

Re: Jessie and XRDP

Thu Oct 08, 2015 9:41 am

I'm seeing the same (RPi 2 Model B)

dgordon42
Posts: 753
Joined: Tue Aug 13, 2013 6:55 pm
Location: Dublin, Ireland

Re: Jessie and XRDP

Thu Oct 08, 2015 4:01 pm

I'm also seeing this using Remote Desktop on Windows 10 and XP machines.
xrdp worked fine for me on Wheezy, but now have the 'X' mouse pointer with a clean install of Jessie on a Raspberry Pi B+.
I also noticed that xrdp jumped from version 0.5.0-2 in Wheezy to 0.6.1-2 in Jessie.

Thanks,

Dave.

dgordon42
Posts: 753
Joined: Tue Aug 13, 2013 6:55 pm
Location: Dublin, Ireland

Re: Jessie and XRDP

Mon Oct 12, 2015 12:06 pm

Found a temporary solution to this!

Start a normal Windows RDP session, and login.
When the Desktop appears, open the LXTerminal, and enter:

Code: Select all

lxappearance
and watch as the mouse icon changes from an 'X' to an arrow.
You can then close the "Customize Look and Feel" window, and the LXTerminal window.

Unfortunately, the Pi does not remember to use the arrow mouse after the RDP session ends.

Needs more time & work to understand what's going on underneath, and find a proper fix.

Dave.

User avatar
hansotten
Posts: 309
Joined: Fri Jul 13, 2012 6:01 am
Contact: Website

Re: Jessie and XRDP

Thu Oct 22, 2015 9:07 am

Thanks for the tip on lxappearance as workaround!

Installed it and added to the menu!

Now to investigate why its not keeping its settings across sessions ...
http://duinorasp.hansotten.com for Raspberry Pi and Arduino and ESP8266
http://retro.hansotten.nl for retrocomputing with the 6502 cpu

rubikwizard
Posts: 95
Joined: Tue Jan 10, 2012 10:37 pm
Location: West Yorkshire
Contact: Website

Re: Jessie and XRDP

Sat Oct 24, 2015 9:32 pm

Has anyone got any further with this issue? The cross pointer is really annoying!

User avatar
DougieLawson
Posts: 34144
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: Jessie and XRDP

Sat Oct 24, 2015 9:57 pm

rubikwizard wrote:Has anyone got any further with this issue? The cross pointer is really annoying!
The cross pointer is a 100% normal part of X windows.

Open a window and try the lxappearance dialog, it has a way to install additional themes.

http://www.techsupportforum.com/4526-ho ... -and-xfce/ has the instructions for how to download that stuff.
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+

Any DMs sent on Twitter will be answered next month.

e-raser
Posts: 52
Joined: Sat Apr 04, 2015 1:30 pm

Re: Jessie and XRDP

Sat Nov 21, 2015 3:56 pm

Same here on jessie. For VNC the (permanent) solution for the same problem was:

Code: Select all

nano ~/.vnc/xstartup
Put "-cursor_name left_ptr" after "xsetroot -solid grey". But for xrdp there is no comparable config file... :(
1x Nextcloud & Pi-hole & ... on Raspbian @ Pi 3 model B+
1x Kodi media center on LibreELEC @ Pi 2 model B

groundcontroltom
Posts: 53
Joined: Sun Dec 06, 2015 10:16 am

Re: Jessie and XRDP

Sun Dec 06, 2015 10:18 am

Same issue here with Jessie on my Pi Zero.

miranda666
Posts: 24
Joined: Wed Apr 08, 2015 8:46 pm

Re: Jessie and XRDP

Sun Dec 06, 2015 4:40 pm

I'm also suffering the same problem.

In addition, i have another issue. I'm trying to set up XRDP in my RPi2, but i don't know what ports XRDP uses, to open them in my router.

User avatar
hansotten
Posts: 309
Joined: Fri Jul 13, 2012 6:01 am
Contact: Website

Re: Jessie and XRDP

Sun Dec 06, 2015 6:12 pm

miranda666 wrote:I'm also suffering the same problem.

In addition, i have another issue. I'm trying to set up XRDP in my RPi2, but i don't know what ports XRDP uses, to open them in my router.
The server listens on TCP port 3389 and UDP port 3389.
http://duinorasp.hansotten.com for Raspberry Pi and Arduino and ESP8266
http://retro.hansotten.nl for retrocomputing with the 6502 cpu

miranda666
Posts: 24
Joined: Wed Apr 08, 2015 8:46 pm

Re: Jessie and XRDP

Tue Dec 08, 2015 10:41 pm

By the way... How can i configure xrdp to use a Generic es_ES keyboard layout?

uschanka
Posts: 1
Joined: Fri Dec 11, 2015 9:47 am

Re: Jessie and XRDP

Fri Dec 11, 2015 9:52 am

At least here the solution for the annoying X- cursor

1) create the file .xsessionrc in the home directory (note the dot at the beginning)
2) make it executeable with chmod ugo+x .xsessionrc
3) put the following content into this file:
xsetroot -cursor_name left_ptr&

Have fun

rubikwizard
Posts: 95
Joined: Tue Jan 10, 2012 10:37 pm
Location: West Yorkshire
Contact: Website

Re: Jessie and XRDP

Sat Dec 12, 2015 10:00 am

uschanka wrote:At least here the solution for the annoying X- cursor

1) create the file .xsessionrc in the home directory (note the dot at the beginning)
2) make it executeable with chmod ugo+x .xsessionrc
3) put the following content into this file:
xsetroot -cursor_name left_ptr&

Have fun
Thanks, works perfectly!

dgordon42
Posts: 753
Joined: Tue Aug 13, 2013 6:55 pm
Location: Dublin, Ireland

Re: Jessie and XRDP

Sat Dec 12, 2015 9:08 pm

@uschanka
Good answer, thank you.

Dave.

blooski
Posts: 2
Joined: Sat Dec 26, 2015 12:01 am

Re: Jessie and XRDP

Sat Dec 26, 2015 12:03 am

Thanks. Been looking all over for the fix to the 'X' cursor. That works with xrdp.

Supernova99
Posts: 2
Joined: Thu Nov 12, 2015 3:00 pm
Location: Somerset

Re: Jessie and XRDP

Tue Jan 12, 2016 11:11 am

uschanka wrote:At least here the solution for the annoying X- cursor

1) create the file .xsessionrc in the home directory (note the dot at the beginning)
2) make it executeable with chmod ugo+x .xsessionrc
3) put the following content into this file:
xsetroot -cursor_name left_ptr&

Have fun
Works perfectly Many thanks

Misha
Posts: 1
Joined: Mon Feb 01, 2016 10:06 pm

Re: Jessie and XRDP

Mon Feb 01, 2016 10:20 pm

Hi

Please excuse the ignorance, I am completely new to the raspberry world and the dealings with the command window (Terminal)

With regard to the fix listed above which required creating a file, making it an executable and adding content;

Could someone please give a severe noob and idiot proof explanation on how to do it.

Thank you

User avatar
hansotten
Posts: 309
Joined: Fri Jul 13, 2012 6:01 am
Contact: Website

Re: Jessie and XRDP

Wed Feb 03, 2016 11:20 am

Open a command window and type

$ nano .xsessionrc

Type in the fullscreen editor that opens now just this line:

xsetroot -cursor_name left_ptr&

Type CTRL-X
Answer 'Y' and the editor closes

Type
$ chmod ugo+x .xsessionrc

$ exit
http://duinorasp.hansotten.com for Raspberry Pi and Arduino and ESP8266
http://retro.hansotten.nl for retrocomputing with the 6502 cpu

mikehZA
Posts: 5
Joined: Mon Dec 08, 2014 12:01 pm

Re: Jessie and XRDP

Sun Mar 13, 2016 12:36 pm

Many thanks works great

User avatar
SiZiOUS
Posts: 7
Joined: Tue Dec 09, 2014 10:05 am
Contact: Website

Re: Jessie and XRDP

Mon Sep 19, 2016 8:50 pm

Hello,

Just a little bump to tell to everyone, this problem is still there (2016/09/19).
Fresh install from latest NOOBS software provided here (v1.9.2).

I'll test the fix provided by uschanka.
And by the way, there was no problem at all with Raspbian Wheezy.

Mike

peacefulwarrior
Posts: 1
Joined: Tue Nov 08, 2016 8:37 pm

Re: Jessie and XRDP

Tue Nov 08, 2016 8:42 pm

The trick .xsessionrc works great!
Nobody mentioned but for me it only worked after I rebooted the PI and logged in again.
Thanks!

AndrewdAzotus
Posts: 81
Joined: Wed Feb 06, 2013 3:07 pm
Location: Canada

Re: Jessie and XRDP

Wed Nov 23, 2016 11:28 am

Thank you for the solution, merely logging out and logging in again fixed it for me, reboot wasn't req'd

Now, I feel I can get on and finish my configging to bring my desktop back to what it was under Wheezy :)

orskier
Posts: 1
Joined: Wed Mar 29, 2017 10:41 pm

Re: Jessie and XRDP

Wed Mar 29, 2017 10:43 pm

The .xsessionrc cursor fix works brilliantly! I found that making the chmod was unnecessary (just forgot, and it still worked) but reboot is necessary.

Return to “Raspbian”