Page 1 of 1

Jessie and XRDP

Posted: Sun Oct 04, 2015 9:17 pm
by rubikwizard
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

Re: Jessie and XRDP

Posted: Sun Oct 04, 2015 11:01 pm
by hippy
Just to confirm I am seeing the same (B+ and XP SP3).

Re: Jessie and XRDP

Posted: Thu Oct 08, 2015 9:41 am
by Simke
I'm seeing the same (RPi 2 Model B)

Re: Jessie and XRDP

Posted: Thu Oct 08, 2015 4:01 pm
by dgordon42
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.

Re: Jessie and XRDP

Posted: Mon Oct 12, 2015 12:06 pm
by dgordon42
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.

Re: Jessie and XRDP

Posted: Thu Oct 22, 2015 9:07 am
by hansotten
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 ...

Re: Jessie and XRDP

Posted: Sat Oct 24, 2015 9:32 pm
by rubikwizard
Has anyone got any further with this issue? The cross pointer is really annoying!

Re: Jessie and XRDP

Posted: Sat Oct 24, 2015 9:57 pm
by DougieLawson
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.

Re: Jessie and XRDP

Posted: Sat Nov 21, 2015 3:56 pm
by e-raser
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... :(

Re: Jessie and XRDP

Posted: Sun Dec 06, 2015 10:18 am
by groundcontroltom
Same issue here with Jessie on my Pi Zero.

Re: Jessie and XRDP

Posted: Sun Dec 06, 2015 4:40 pm
by miranda666
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.

Re: Jessie and XRDP

Posted: Sun Dec 06, 2015 6:12 pm
by hansotten
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.

Re: Jessie and XRDP

Posted: Tue Dec 08, 2015 10:41 pm
by miranda666
By the way... How can i configure xrdp to use a Generic es_ES keyboard layout?

Re: Jessie and XRDP

Posted: Fri Dec 11, 2015 9:52 am
by uschanka
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

Re: Jessie and XRDP

Posted: Sat Dec 12, 2015 10:00 am
by rubikwizard
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!

Re: Jessie and XRDP

Posted: Sat Dec 12, 2015 9:08 pm
by dgordon42
@uschanka
Good answer, thank you.

Dave.

Re: Jessie and XRDP

Posted: Sat Dec 26, 2015 12:03 am
by blooski
Thanks. Been looking all over for the fix to the 'X' cursor. That works with xrdp.

Re: Jessie and XRDP

Posted: Tue Jan 12, 2016 11:11 am
by Supernova99
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

Re: Jessie and XRDP

Posted: Mon Feb 01, 2016 10:20 pm
by Misha
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

Re: Jessie and XRDP

Posted: Wed Feb 03, 2016 11:20 am
by hansotten
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

Re: Jessie and XRDP

Posted: Sun Mar 13, 2016 12:36 pm
by mikehZA
Many thanks works great

Re: Jessie and XRDP

Posted: Mon Sep 19, 2016 8:50 pm
by SiZiOUS
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

Re: Jessie and XRDP

Posted: Tue Nov 08, 2016 8:42 pm
by peacefulwarrior
The trick .xsessionrc works great!
Nobody mentioned but for me it only worked after I rebooted the PI and logged in again.
Thanks!

Re: Jessie and XRDP

Posted: Wed Nov 23, 2016 11:28 am
by AndrewdAzotus
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 :)

Re: Jessie and XRDP

Posted: Wed Mar 29, 2017 10:43 pm
by orskier
The .xsessionrc cursor fix works brilliantly! I found that making the chmod was unnecessary (just forgot, and it still worked) but reboot is necessary.