[Xrdp-devel] xrdp-0.6.1: Clipboard doesn't work without vncconfig, with it disconnects (and also doesn't work)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Xrdp-devel] xrdp-0.6.1: Clipboard doesn't work without vncconfig, with it disconnects (and also doesn't work)

Steffen Schaumburg
Hi,
I'm trying to use xrdp on current Debian 7/wheezy with a self-built
backport of xrdp-0.6.1 (since the 0.5.0 in wheezy does not support
clipboard at all, afaik?) and it all works fine except for the
clipboard. Without vncconfig the clipboard doesn't work, AIUI that is as
expected. So I start vncconfig on the server and the window comes up.
When I then select some text in lxterminal with click and drag or double
click it immediately disconnects. Before that however, even in the
double click case, I can often still see it make the selection, which
seems to indicate that the problem cause is during transfer to the
client. In kate (a fancy GUI text editor for plain text; based on qt or
kdelibs) it only sometimes disconnects.
In no case have I so far been able to get the clipboard to work across
the network. Copying&pasting within the client works fine and does not
disconnect the session to the server. It also works within server,
except for the large amount of disconnects.

If it disconnects I can reconnect to the session and see that the
selection is still active. Trying to copy at this point yields the same
results as above.

- I haven't been able to find anything that is (to my mind) conceivably
even remotely related to the issue in the logs on client or server. On
the client I get a bunch of output at the shell if I start remmina from
a shell, but it's just things like missing icons in the theme.
- It is the same behaviour whether using remmina from Gentoo or the
built-in RDP client of Win2003.
- When connecting to Win2003 servers from either client copy&paste works.
- When connecting to a 0.6.x xrdp on Gentoo I got it to work -
unfortunately, in further trials I had uninstalled that again, and now
after re-installing it I can't get it to connect&login at all, so I
can't make a direct comparison of the configs...
- Found some ML entries and a Debian bug about this issue that were
fixed with a patch but that was already applied to the Debian package.
- With the 0.5.0 that comes with wheezy it disconnects immediately when
I start vncconfig. Other than that the behaviour appears identical.
- Rebooting client and server doesn't help (worth a try..)
- Even more desperate than rebooting, I tried starting vncconfig with
the nowin option, but still no luck.

I did a lot of searching and trying and whilst there were quite a few
relevant hits, almost all are rather well aged from before xrdp
supported this. Now I'm lost and hoping that maybe someone has some
ideas or pointers.. of course I'd also take a solution ;)

Below are two config files. Anything else you need, pls let me know.

TIA, Steffen


# cat /etc/xrdp/xrdp.ini #(I believe it connects with sessman-Xvnc; it
certainly is running xrdp-sesman as root and Xvnc as the logged-in user)

[globals]
bitmap_cache=yes
bitmap_compression=yes
port=3389
crypt_level=low
channel_code=1
max_bpp=24
#black=000000
#grey=d6d3ce
#dark_grey=808080
#blue=08246b
#dark_blue=08246b
#white=ffffff
#red=ff0000
#green=00ff00
#background=626c72

[xrdp1]
name=sesman-Xvnc
lib=libvnc.so
username=ask
password=ask
ip=127.0.0.1
port=-1

[xrdp2]
name=console
lib=libvnc.so
ip=127.0.0.1
port=5900
username=na
password=ask

[xrdp3]
name=vnc-any
lib=libvnc.so
ip=ask
port=ask5900
username=na
password=ask

[xrdp4]
name=sesman-any
lib=libvnc.so
ip=ask
port=-1
username=ask
password=ask

[xrdp5]
name=rdp-any
lib=librdp.so
ip=ask
port=ask3389

[xrdp6]
name=freerdp-any
lib=libxrdpfreerdp1.so
ip=ask
port=ask3389
username=ask
password=ask

[xrdp7]
name=sesman-X11rdp
lib=libxup.so
username=ask
password=ask
ip=127.0.0.1
port=-1
xserverbpp=24




# cat /etc/xrdp/sesman.ini
[Globals]
ListenAddress=127.0.0.1
ListenPort=3350
EnableUserWindowManager=1
UserWindowManager=startwm.sh
DefaultWindowManager=startwm.sh

[Security]
AllowRootLogin=0
MaxLoginRetry=4
TerminalServerUsers=tsusers
TerminalServerAdmins=tsadmins

[Sessions]
X11DisplayOffset=10
MaxSessions=10
KillDisconnected=0
IdleTimeLimit=0
DisconnectedTimeLimit=0

[Logging]
LogFile=/var/log/xrdp-sesman.log
LogLevel=DEBUG
EnableSyslog=0
SyslogLevel=DEBUG

[X11rdp]
param1=-bs
param2=-ac
param3=-nolisten
param4=tcp

[Xvnc]
param1=-bs
param2=-ac
param3=-nolisten
param4=tcp
param5=-localhost
param6=-dpi
param7=96


------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
xrdp-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/xrdp-devel