Package Details: xrdp 0.9.16-2

Git Clone URL: https://aur.archlinux.org/xrdp.git (read-only, click to copy)
Package Base: xrdp
Description: An open source remote desktop protocol (RDP) server
Upstream URL: https://github.com/neutrinolabs/xrdp
Licenses: Apache
Submitter: None
Maintainer: bidulock
Last Packager: bidulock
Votes: 117
Popularity: 2.05
First Submitted: 2008-01-15 15:02
Last Updated: 2021-05-12 23:17

Latest Comments

1 2 3 4 5 6 ... Next › Last »

bidulock commented on 2021-05-12 23:20

Got the /usr/lib/Xorg patched now too.

fow0ryl commented on 2021-05-04 08:30

Since I'm using Manjaro I can only tell about this ... /usr/bin/Xorg is a simple script, which decides to start /usr/lib/Xorg or /usr/lib/Xorg.wrap. So using /usr/lib/Xorg is the recommended way. Starting in fact /usr/lib/Xorg.wrap did not work, even via /usr/bin/Xorg.

sshaikh commented on 2021-05-03 14:04

@bidulock @for0ryl

I can confirm that I can only establish a connection when I set Param=/usr/lib/Xorg in sesman.ini. Neither Xorg nor /usr/bin/Xorg work.

The fix is to read the wiki of course, where it advises to:

Add allowed_users=anybody to /etc/X11/Xwrapper.config to allow anybody to start X

This however is not required if Param is set as per sesman.ini, so I guess there's a choice here. However I'm not sure there's any harm in setting Param to a setting more specific to Arch so I would support such a change.

Also do you run a login manager? That might also be significant (I don't).

More info: https://github.com/neutrinolabs/xrdp/issues/1106#issuecomment-382604342

sshaikh commented on 2021-05-02 20:44

That's great, thank you!

Thanks for the Xorg pointer. I checked and indeed show the same as you. I'll do some more testing to see if I can recreate the issue.

bidulock commented on 2021-05-02 19:42

@sshaikh got your pre_start/post_start included in 0.9.16 update.

bidulock commented on 2021-05-02 19:32

[brian@piggy xrdp]$ which Xorg /usr/bin/Xorg [brian@piggy xrdp]$ pacman -Qo /usr/bin/Xorg /usr/bin/Xorg is owned by xorg-server 1.20.11-1 [brian@piggy xrdp]$

sshaikh commented on 2021-04-28 17:48

@for0ryl

~~That's my point - I don't have the problem anymore. I suspect something has changed in my system as I have an Xorg in my /sbin that wraps the only in /use/lib, so I believe there's no reason the default shouldn't work.~~

~~That said I did have to do it previously, so maybe unfortunately it's a specific Manjaro issue now.~~

I lied - after a reboot I lost the /sbin/Xorg wrapper somehow. Changing semsan manually brought xrdp back.

fow0ryl commented on 2021-04-28 17:39

@sshaikh Same problem with Xorg path as I have reported on 2020-06-02. But no response ....

sshaikh commented on 2021-04-28 16:16

Separately I also had to previously apply the following change to sesman.ini while using xorg-git, although this isn't needed here which is great.

For my curiosity has another workaround been introduced?

[Xorg]
; Specify the path of non-suid Xorg executable. It might differ depending
; on your distribution and version. Find out the appropreate path for your
; environment. The typical path is known as follows:
;
; Fedora 26 or later    :  param=/usr/libexec/Xorg
; Debian 9 or later     :  param=/usr/lib/xorg/Xorg
; Ubuntu 16.04 or later :  param=/usr/lib/xorg/Xorg
; Arch Linux            :  param=/usr/lib/Xorg
; CentOS 7              :  param=/usr/bin/Xorg or param=Xorg
; CentOS 8              :  param=/usr/libexec/Xorg
;

-param=Xorg
+param=/usr/lib/Xorg

sshaikh commented on 2021-04-28 16:15

I always have to manually add the following to startwm.sh, as this sets up the correct bash variables/startup for my session, similar to all of the other DE starts.

Is there any reason why this isn't part of the Arch package, or why Arch users wouldn't want it?

   # arch user
   if [ -r ~/.xinitrc ]; then
+    pre_start
     . ~/.xinitrc
+    post_start
     exit 0
   fi
   # arch