Package Details: xrdp 0.10.0_beta.3-1

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
Keywords: rdp vnc xdrp
Licenses: Apache-2.0
Submitter: None
Maintainer: Abzie
Last Packager: Abzie
Votes: 140
Popularity: 2.17
First Submitted: 2008-01-15 15:02 (UTC)
Last Updated: 2024-04-19 16:07 (UTC)

Pinned Comments

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 17 Next › Last »

chinanuke commented on 2022-12-20 03:03 (UTC) (edited on 2022-12-20 03:10 (UTC) by chinanuke)

Unable to login after upgrading xrdp to 0.9.21.1, here is part of my xrdp-sesman log.

Dec 20 10:53:13 NukeDesktop xrdp-sesman[2109]: [INFO ] Socket 12: AF_INET6 connection received from ::1 port 53686                                                          
Dec 20 10:53:13 NukeDesktop xrdp-sesman[2109]: pam_systemd_home(xrdp-sesman:auth): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.       Dec 20 10:53:13 NukeDesktop xrdp-sesman[2109]: [INFO ] Terminal Server Users group is disabled, allowing authentication                                                     
Dec 20 10:53:13 NukeDesktop xrdp-sesman[2109]: [INFO ] ++ created session (access granted): username peng, ip ::1:51522 - socket: 12                                        Dec 20 10:53:13 NukeDesktop xrdp-sesman[2109]: [INFO ] starting Xorg session...                                                                                             
Dec 20 10:53:13 NukeDesktop xrdp-sesman[2109]: [INFO ] Starting session: session_pid 2596, display :10.0, width 1920, height 1080, bpp 24, client ip ::1:51522 - socket: 12, user name peng                                                                                                                                                             
Dec 20 10:53:13 NukeDesktop xrdp-sesman[2596]: [INFO ] [session start] (display 10): calling auth_start_session from pid 2596                                               Dec 20 10:53:13 NukeDesktop xrdp-sesman[2109]: [ERROR] sesman_data_in: scp_process_msg failed                                                                               
Dec 20 10:53:13 NukeDesktop xrdp-sesman[2596]: pam_unix(xrdp-sesman:session): session opened for user peng(uid=1000) by (uid=0)                                             Dec 20 10:53:13 NukeDesktop xrdp-sesman[2596]: pam_systemd(xrdp-sesman:session): Failed to create session: No child processes                                               
Dec 20 10:53:13 NukeDesktop xrdp-sesman[2109]: [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans                                                       
Dec 20 10:53:13 NukeDesktop xrdp-sesman[2598]: [INFO ] Starting X server on display 10: /usr/bin/Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -l
ogfile .xorgxrdp.%s.log                                                                                                                                                     
Dec 20 10:53:22 NukeDesktop xrdp-sesman[2596]: [WARN ] Timed out waiting for X server on display 10 to startup                                                              
Dec 20 10:53:23 NukeDesktop xrdp-sesman[2596]: [INFO ] Session started successfully for user peng on display 10              
Dec 20 10:53:23 NukeDesktop xrdp-sesman[2602]: [INFO ] Starting the xrdp channel server for display 10
Dec 20 10:53:23 NukeDesktop xrdp-sesman[2596]: [INFO ] Session in progress on display 10, waiting until the window manager (pid 2597) exits to end the session
Dec 20 10:53:23 NukeDesktop xrdp-sesman[2597]: [WARN ] Timed out waiting for X server on display 10 to startup
Dec 20 10:53:23 NukeDesktop xrdp-sesman[2597]: [ERROR] There is no X server active on display 10
Dec 20 10:53:23 NukeDesktop xrdp-sesman[2597]: [ERROR] A fatal error has occurred attempting to start the window manager on display 10, aborting connection
Dec 20 10:53:23 NukeDesktop xrdp-sesman[2596]: [WARN ] Window manager (pid 2597, display 10) exited quickly (0 secs). This could indicate a window manager config problem
Dec 20 10:53:23 NukeDesktop xrdp-sesman[2596]: [INFO ] Calling auth_stop_session and auth_end from pid 2596
Dec 20 10:53:23 NukeDesktop xrdp-sesman[2596]: pam_unix(xrdp-sesman:session): session closed for user peng
Dec 20 10:53:23 NukeDesktop xrdp-sesman[2596]: [INFO ] Terminating X server (pid 2598) on display 10

I have noticed that this update has some changes in /etc/xrdp/sesman.ini and the path to Xorg executable is changed from param=/usr/lib/Xorg to param=Xorg (which results in /usr/bin/Xorg). When I tried to change the path back to /usr/lib/Xorg and restart xrdp.service, I was able to login to my desktop as before.

What is the difference between /usr/lib/Xorg and /usr/bin/Xorg? Or is something wrong with my PATH?

learnedbyerror commented on 2022-12-17 19:46 (UTC) (edited on 2022-12-17 19:52 (UTC) by learnedbyerror)

I am still too new to Arch and AUR to know how to make a pull request to the actual xrdp AUR package. I apologize for my ignorance but hope that someone can use the info below to upgrade their xrdp implementation to 0.9.21.1 - the latest release as of today.

I have updated the PKGBUILD and arch-config.diff from 0.9.19 to 0.9.21.1. They are contained in the following gists:

Please note that this PKGBUILD does NOT contain a dependency upon tigervnc.
If you wish to use tigervnc, you will need to install it separately.

To use these:

  1. git clone https://aur.archlinux.org/xrdp.git

  2. Replace PKGBUILD with - https://gist.github.com/lbe/80b17cc2c9acb6a357ad64b2223db491

  3. Replace arch-config.diff with - https://gist.github.com/lbe/3c2658466175f9ff8c541566e59ffc0d

  4. Run make -si - This will sync the xrdp source and build the install package and then install the same if the build is successful

HTH, lbe

kescherAUR commented on 2022-12-10 12:44 (UTC)

0.9.21 was released with a bunch of security fixes.

kescherAUR commented on 2022-12-06 00:52 (UTC)

Here's my diff to simply update this package to 0.9.20: https://0x0.st/okCa.diff

The tigervnc dependency isn't fixed in the diff above, sorry.

@pdynarowski Cleanly rebuild the xrdp package instead, it builds fine with OpenSSL 3.

pdynarowski commented on 2022-11-24 09:52 (UTC) (edited on 2022-11-24 10:05 (UTC) by pdynarowski)

it doesn't work after update my manjaro (2022-11-2022)
journalctl -xe
lis 24 10:26:38 manjaro systemd[1]: xrdp.service: Job xrdp.service/start failed with result 'dependency'.

xrdp-sesman -ns
xrdp-sesman: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory


xrdp -ns
xrdp: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

SOLUTION :)

pacman -Syu openssl-1.1

Haystack commented on 2022-05-03 13:44 (UTC)

As others have asked, please remove the tigervnc dependency. fow0ryl's suggested optdepends should be perfect. Dependency on tigervnc is unnecessary and if you have tightvnc or realvnc installed it creates a dependency conflict and you are forced to uninstall them in order to install xrdp which shouldn't be the case.

russkel commented on 2022-03-21 12:09 (UTC) (edited on 2022-03-21 12:10 (UTC) by russkel)

Optional dependencies should typically be marked as optional.

fow0ryl commented on 2022-03-20 02:16 (UTC)

The point is, that tigervnc is not needed for some setups. And tigervnc itself depends on many packages itself. And each dependend package could have dependencies itself. In fact we get a dependency tree, and potential problems without any need. So if someone wants to use thightvnc and xrdp that's not possible because tigervnc blocks installation of tightvnc. The clean way is to define only those packages as dependent which are realy depend. The other packages belong to optdepends.

By the way. What is the answer to this question: Why tigervnc is defined as dependency while xorg-xrdp ist not?

bidulock commented on 2022-03-15 09:31 (UTC)

@Ta180m tigervnc is a small package in community. What is the problem?

dodecahedron commented on 2022-03-11 21:19 (UTC)

I also agree with @fow0ryl that the tigervnc dependency should be removed since it isn't necessary when using Xorg. Can the maintainer please make the edit that @fow0ryl suggested?