Could you please make arch-config.diff
change param=Xorg
to param=/usr/lib/Xorg
in xrdp-0.9.23.1/sesman/sesman.ini
? As mentioned in previous comments, without that change you just get a blank green screen after logging in. The ini file even has a comment that says that param=/usr/lib/Xorg
is the correct setting for Arch, so ideally it should be set automatically when the package is installed.
Search Criteria
Package Details: xrdp 0.9.23.1-1
Package Actions
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 |
Submitter: | None |
Maintainer: | Abzie |
Last Packager: | Abzie |
Votes: | 139 |
Popularity: | 1.02 |
First Submitted: | 2008-01-15 15:02 (UTC) |
Last Updated: | 2023-09-27 21:38 (UTC) |
Dependencies (10)
- ffmpeg (ffmpeg-nonvidiaAUR, ffmpeg-intel-full-gitAUR, ffmpeg-v4l2-request-gitAUR, ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-gitAUR, ffmpeg-libfdk_aacAUR, ffmpeg-threading-gitAUR, ffmpeg-mppAUR, ffmpeg-nocudaAUR, ffmpeg-cudaAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-headlessAUR, ffmpeg-fullAUR, ffmpeg-full-gitAUR, ffmpeg-obsAUR, ffmpeg-amd-full-gitAUR)
- fuse (fuse2)
- imlib2
- libfdk-aac
- libxrandr (libxrandr-gitAUR)
- nasm (nasm-gitAUR, nasm-segelf-gitAUR) (make)
- check (check-gitAUR) (check)
- realvnc-vnc-serverAUR (optional)
- tigervnc (tigervnc-gitAUR) (optional)
- tightvncAUR (optional)
Required by (6)
- pulseaudio-module-xrdp
- pulseaudio-module-xrdp-git
- xorgxrdp (make)
- xorgxrdp-devel-git (make)
- xorgxrdp-git (make)
- xorgxrdp-glamor (make)
Sources (2)
alex.henrie commented on 2023-11-25 06:30 (UTC)
akuntsch commented on 2023-09-29 17:29 (UTC)
@Abzie could you please add ˋ/etc/pam.d/xrdp-sesmanˋ to the ˋbackupˋ array. This file is currently overwritten on each update. Thank you :)
Abzie commented on 2023-09-12 19:46 (UTC)
@bradsk88 - you should run pacman -S base-devel
as per https://wiki.archlinux.org/title/Arch_User_Repository#Getting_started
@unruh - I shall add this now and push the changes through shortly.
JoeCool commented on 2023-09-12 19:45 (UTC)
Should autoconf, automake, and pkg-config be added to the dependencies list?
That would be redundant. All AUR packages require base-devel: https://wiki.archlinux.org/title/Arch_User_Repository#Prerequisites
bradsk88 commented on 2023-09-12 18:45 (UTC)
Should autoconf
, automake
, and pkg-config
be added to the dependencies list?
I was unable to complete the makepkg without them:
makepkg ✔ 15s
==> Making package: xrdp 0.9.23-1 (Tue 12 Sep 2023 12:31:56 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading xrdp-0.9.23.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 2014k 100 2014k 0 0 2410k 0 --:--:-- --:--:-- --:--:-- 2410k
-> Found arch-config.diff
==> Validating source files with sha256sums...
xrdp-0.9.23.tar.gz ... Passed
arch-config.diff ... Passed
==> Extracting sources...
-> Extracting xrdp-0.9.23.tar.gz with bsdtar
==> Starting prepare()...
patching file instfiles/xrdp.service.in
patching file instfiles/xrdp-sesman.service.in
patching file sesman/startwm.sh
error, install autoconf
==> ERROR: A failure occurred in prepare().
Aborting...
unruh commented on 2023-09-08 08:58 (UTC)
The file /etc/xrdp/reconnectwm.sh
is overwritten on each update.
I recommend to add it to the backup=
section of of the PKGBUILD file.
(Like startwm.sh
already is.)
trainzkid commented on 2023-07-23 03:23 (UTC)
@Abzie, just closing the rdp window. I know the proper way is to log out, but I'm not sure I can easily expect end users to do this, especially windows users.
The bigger worry I have is that xrdp isn't properly handling closing active sessions when it's restarted via systemd from what I can tell. Not sure if this is specific to the Arch version, but I'm not seeing this issue anywhere else according to Google.
Abzie commented on 2023-07-22 21:15 (UTC)
Generally a black screen indicates you are still "logged in" to your previous session.
How are you disconnecting from the first session?
trainzkid commented on 2023-07-22 20:38 (UTC)
Anyone else run into issues logging back into a previously active xrdp session following a restart of the service?
I had some applications open on my xrdp desktop and then logged out of xrdp, restarted the service, and was unable to log in again: plasma would start to load and then I'd get the generic black screen with xorg's massive black X cursor. All my googling tells me xrdp is supposed to clean up sessions when restarting.
To resolve, I went through all plasma and xorg processes and killed them (many were in a defunct state). Then when I tried to log in via xrdp, plasma started up just fine.
I'm using /usr/lib/plasma-dbus-run-session-if-needed startplasma-x11
in the .xinitrc
if that helps.
fow0ryl commented on 2022-12-20 17:42 (UTC)
As described earlier in comments in Manjaro the /usr/bin/Xorg is a script that decides to use /usr/lib/Xorg or /usr/lib/Xorg.wrapper. But when using /usr/lib/Xorg.wrapper you have to allow anybody to start X (Add allowed_users=anybody to /etc/X11/Xwrapper.config). Maybe there are more things to do.
The most easy way is to set param=/usr/lib/Xorg in sesman.ini. This setting will be saved, even with new versions of xrdp, since sesman.ini isn't overwritten by default.
Remember the default configuration is good if you are extendig a simple desktop system with xrdp. But when using a real xrdp server with multiple users and no local desktop its better to create a global xorg.conf https://aur.archlinux.org/packages/xrdp?O=60#comment-762246
Pinned Comments