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

can't copy files from client to server #3335

Open
Blourvim opened this issue Dec 10, 2024 · 3 comments
Open

can't copy files from client to server #3335

Blourvim opened this issue Dec 10, 2024 · 3 comments
Labels

Comments

@Blourvim
Copy link

xrdp version

0.9.21

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.15 3 Sep 2024

Operating system & version

Debian GNU/Linux 12 (bookworm)

Installation method

dnf / apt / zypper / pkg / etc

Which backend do you use?

xorg

What desktop environment do you use?

mate

Environment xrdp running on

qemu libvirt vm

What's your client?

microsoft offical client, xfreerdp on arch

Area(s) with issue?

Clipboard, File transfer / drive redirection

Steps to reproduce

copy file on the client with ctrl + c, paste it to the server

✔️ Expected Behavior

it should copy the file to the machine where xrdp server is running

❌ Actual Behavior

it does nothing

Anything else?

clean install logs don't show interaction

@Blourvim Blourvim added the bug label Dec 10, 2024
@matt335672
Copy link
Member

The copy-paste functionality is provided by a component called xrdp-sesman. Assuming you can't copy-past text, the most likely reasons for this failure are:-

  1. xrdp-sesman has failed. Use ps -fU <user> | grep sesman to look for this.
  2. You've reconnected to an xrdp session while the original connection is still active. xrdp doesn't cope well with this. We're aware of it.

xrdp-sesman runs in a user context. The log file is in ~/.local/share/xrdp/xrdp-chansrv.$D.log where $D is the display number for the session (i.e. 10 for a DISPLAY of :10).

  • Can you copy-paste text?
  • Is sesman running for the user?
  • If so have you reconnected to an active session?

@metalefty
Copy link
Member

@matt335672 You meant xrdp-chansrv rather than xrdp-sesman.

@matt335672
Copy link
Member

Quite right - it's been a busy week! Thanks for the correction.

@Blourvim - replace xrdp-sesman with xrdp-chansrv in the above description and please accept my apologies for the inevitable confusion.

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

3 participants