Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USB is not being automounted when logged in with non-root user #3078

Open
modernNeo opened this issue May 17, 2024 · 2 comments
Open

USB is not being automounted when logged in with non-root user #3078

modernNeo opened this issue May 17, 2024 · 2 comments
Labels

Comments

@modernNeo
Copy link

xrdp version

0.9.21.1

Detailed xrdp version, build options

xrdp 0.9.21.1
  A Remote Desktop Protocol Server.
  Copyright (C) 2004-2020 Jay Sorg, Neutrino Labs, and all contributors.
  See https://github.com/neutrinolabs/xrdp for more information.

  Configure options:
      --enable-ipv6
      --enable-jpeg
      --enable-fuse
      --enable-rfxcodec
      --enable-opus
      --enable-painter
      --enable-vsock
      --build=x86_64-linux-gnu
      --prefix=/usr
      --includedir=${prefix}/include
      --mandir=${prefix}/share/man
      --infodir=${prefix}/share/info
      --sysconfdir=/etc
      --localstatedir=/var
      --disable-silent-rules
      --libdir=${prefix}/lib/x86_64-linux-gnu
      --libexecdir=${prefix}/lib/x86_64-linux-gnu
      --disable-maintainer-mode
      --disable-dependency-tracking
      --with-socketdir=/run/xrdp/sockdir
      build_alias=x86_64-linux-gnu
      CFLAGS=-g -O2 -ffile-prefix-map=/build/xrdp-QTF2mN/xrdp-0.9.21.1=. -fstack-protector-strong -Wformat -Werror=format-security 
      LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed
      CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 
      PKG_CONFIG_PATH=/build/xrdp-QTF2mN/xrdp-0.9.21.1/pkgconfig

  Compiled with OpenSSL 3.0.11 19 Sep 2023

Operating system & version

Debian GNU/Linux 12 (bookworm)

Installation method

dnf / apt / zypper / pkg / etc

Which backend do you use?

xorgxrdp 1:0.9.19-1

What desktop environment do you use?

Cinnamon

Environment xrdp running on

physical machine with Alder Lake-P Integrated Graphics Controller

What's your client?

No response

Area(s) with issue?

Other

Steps to reproduce

  1. login with non-root user
  2. plug in a USB on the physical machine that is being RDPed into

✔️ Expected Behavior

for the usb to be auto-mounted

❌ Actual Behavior

the usb is not auto-mounted. instead i see this if I click on the USB

remmina_the-machine local_the-machine local_2024517-205822

Anything else?

No response

@modernNeo modernNeo added the bug label May 17, 2024
@matt335672
Copy link
Member

Duplicate of #2934. Have a look at this comment and below.

In summary; by default polkit won't allow this operation as you're not logged in to the console. This is to prevent a security hole where remote users can read USB sticks of other users attached to the console.

@modernNeo
Copy link
Author

oh, sorry for not responding sooner...for some reason github didn't notify me of the new comments on this issue....will follow-up tomorrow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants