Jump to content

xrdp only works with user that never connected locally


pgarmyn

Recommended Posts

board : Banana pi M2 zero
OS : Armbian_23.02.0-trunk_Bananapim2zero_sid_edge_6.1.11_xfce_desktop.img.xz

The same error exist for newest Debian releases.
Only Users that never opened an X11 session locally can connect using RDP (xrdp)  

Link to comment
Share on other sites

maybe a little late to the party. 

got the same problem on my orange pi 4 LTS

 

i guess the problem is that u can setup a auto login with the current user, therefore the user is already logedin locally at startup.

 

by adding these lines to the /etc/xrdp/startwm.sh file (after the comments at the top) i got it to work.

unset DBUS_SESSION_BUS_ADDRESS
unset XDG_RUNTIME_DIR
. $HOME/.profile

 

(link of fix)

http://catch22cats.blogspot.com/2018/05/xrdp-blank-screen-with-ubuntu-1804.html

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines