Package Details: xorgxrdp 0.10.2-3

Git Clone URL: https://aur.archlinux.org/xorgxrdp.git (read-only, click to copy)
Package Base: xorgxrdp
Description: Xorg drivers for xrdp
Upstream URL: https://github.com/neutrinolabs/xorgxrdp
Licenses: X11
Submitter: Chocobo1
Maintainer: Chocobo1
Last Packager: Chocobo1
Votes: 16
Popularity: 0.140446
First Submitted: 2018-02-06 14:30 (UTC)
Last Updated: 2024-08-04 09:11 (UTC)

Pinned Comments

Chocobo1 commented on 2022-11-10 16:23 (UTC) (edited on 2022-11-10 16:31 (UTC) by Chocobo1)

If you are having this error:

ERROR: One or more PGP signatures could not be verified!

Read the following for an explanation and how to temporarily workaround it: https://wiki.archlinux.org/title/Makepkg#Signature_checking

Latest Comments

1 2 3 4 5 6 Next › Last »

kaszak696 commented on 2024-08-04 12:58 (UTC) (edited on 2024-08-04 13:00 (UTC) by kaszak696)

I have discovered something since my last post, turns out it is possible to use this package with "--enable-glamor" on my virtual machine. In such case, the xorgxrdp module is compiled in with some symbols from glamor library, but the Xorg server doesn't load it automatically, probably because the GPU drivers don't support it. You can force it to manually load glamor library by adding 'Load "glamoregl"' line the "Module" section in "/etc/X11/xrdp/xorg.conf", so it looks like this:

Section "Module"
    Load "dbe"
    Load "ddc"
    Load "extmod"
    Load "glx"
    Load "glamoregl"
    Load "int10"
    Load "record"
    Load "vbe"
    Load "xorgxrdp"
    Load "fb"
EndSection

Of course it's kinda pointless since glamor can't be used, it'll just kinda sit in the memory uselessly, but the xrdp will load successfully and it does open an avenue into making an unified "xorgxrdp" package.

So it seems like my bug report was a little premature, i apologize.

sshaikh commented on 2024-08-04 10:55 (UTC)

It's a good question, I'm using QEMU via Proxmox. Though I don't think anything emulated is being passed through.

kaszak696 commented on 2024-08-04 10:30 (UTC)

@sshaikh

What kind of hypervisor are you using? I'm using xrdp on HyperV (yeah, i know...), and glamor doesn't work, the Xorg server fails to load the driver and crashes with it enabled, with errors in the log clearly pointing at glamor. Maybe i'm missing something.

sshaikh commented on 2024-08-04 09:29 (UTC)

Fwiw I use the xorgxrdp-glamor across all my VMs, whether they have a GPU or not. No action to take but I do think a unified package would have value eventually.

Chocobo1 commented on 2024-08-04 09:12 (UTC)

The "--enable-glamor" configure switch added in 0.10.2-2 breaks usage on systems where glamor isn't supported, like virtual machines.

Alright, done.

kaszak696 commented on 2024-08-04 08:57 (UTC) (edited on 2024-08-04 08:58 (UTC) by kaszak696)

The "--enable-glamor" configure switch added in 0.10.2-2 breaks usage on systems where glamor isn't supported, like virtual machines. Rebuilding the package without the switch solves the problem.

The "xorgxrdp-glamor" package already exists for those with glamor-supporting systems.

Chocobo1 commented on 2024-08-03 20:16 (UTC)

@jghodd changes work. Any word on getting this into the PKGBUILD?

Done.

TheLamer commented on 2024-08-03 18:16 (UTC)

@Chocobo1, @jghodd changes work. Any word on getting this into the PKGBUILD?

jghodd commented on 2024-07-30 20:45 (UTC) (edited on 2024-07-30 23:00 (UTC) by jghodd)

Getting the following build error:


Making all in xrdpdev
make[2]: Entering directory '/distro/local/repository/xorgxrdp/src/xorgxrdp-0.10.2/xrdpdev'
  CC       xrdpdev.lo
xrdpdev.c:49:10: fatal error: drm.h: No such file or directory
   49 | #include <drm.h>
      |          ^~~~~~~
compilation terminated.
make[2]: *** [Makefile:492: xrdpdev.lo] Error 1
make[2]: Leaving directory '/distro/local/repository/xorgxrdp/src/xorgxrdp-0.10.2/xrdpdev'
make[1]: *** [Makefile:442: all-recursive] Error 1
make[1]: Leaving directory '/distro/local/repository/xorgxrdp/src/xorgxrdp-0.10.2'
make: *** [Makefile:374: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

It should be there. libdrm is installed.

Edit: apparently, libdrm is the key to the resolution:


build() {
  cd "$pkgname-$pkgver"

  CFLAGS="$CFLAGS -I/usr/include/libdrm -ffat-lto-objects" \
  ./configure \
    --prefix="/usr"
  make
}

Note the addition of -I/usr/include/libdrm to CFLAGS. Builds without error.

matt335672 commented on 2024-03-13 10:14 (UTC)

@Chocobo1 - I've added some further analysis to https://github.com/neutrinolabs/xorgxrdp/issues/294

HTH