xrdp opens new sessions for users already having a session running
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xrdp (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
xrdp opens new sessions for users already having a session running.
install xrdp, start xrdp. Then:
1. connect to your xrdp server: mstsc.exe -> enter the servername, then connect or, if you prefer (or not from a windows machine): use freerdp or rdesktop.
2. xrdp-loginscreen is shown. Enter your username and password -- your session is started.
3. Now terminate the connection, leaving the session intact.
4. connect again to the same server.
5. the xrdp loginscreen is shown. Type your username and password. Instead of connection to the already running session xrdp opens a new session.
repeating steps 3 to 5 gives you additional sessions:
14110 ? Sl 0:00 /usr/sbin/xrdp
14112 ? S 0:00 /usr/sbin/
23096 ? S 0:00 \_ /usr/sbin/
23097 ? S 0:00 | \_ /bin/bash /home/sct-
23137 ? Ss 0:00 | | \_ /usr/bin/ssh-agent /usr/bin/
23166 ? S 0:00 | | \_ /bin/dash -c /home/sct-
23170 ? S 0:00 | | | \_ /bin/bash /home/sct-
23317 ? S 0:00 | | | \_ oclock -fg white -transparent -geometry -0+0
23167 ? S 0:00 | | \_ /usr/bin/xterm -geometry 132x43
23263 pts/1 Ss+ 0:00 | | | \_ bash
23169 ? S 0:00 | | \_ /usr/bin/xfwm4
23098 ? S 0:00 | \_ Xvnc :11 -geometry 1280x1024 -depth 24 -rfbauth /home/sct-
23115 ? Sl 0:00 | \_ xrdp-chansrv
23398 ? S 0:00 \_ /usr/sbin/
23399 ? S 0:00 \_ /bin/bash /home/sct-
23439 ? Ss 0:00 | \_ /usr/bin/ssh-agent /usr/bin/
23468 ? S 0:00 | \_ /bin/dash -c /home/sct-
23471 ? S 0:00 | | \_ /bin/bash /home/sct-
23618 ? S 0:00 | | \_ oclock -fg white -transparent -geometry -0+0
23469 ? S 0:00 | \_ /usr/bin/xterm -geometry 132x43
23550 pts/4 Ss+ 0:00 | | \_ bash
23470 ? S 0:00 | \_ /usr/bin/xfwm4
23400 ? S 0:00 \_ Xvnc :12 -geometry 1280x1024 -depth 24 -rfbauth /home/sct-
23416 ? Sl 0:00 \_ xrdp-chansrv
I'd awaited to be connected to my already running session again, not handled a new session: on connecting to a xrdp server for a given user I'd expect xrdp to look if a session is already running. If: I'd like to be connected to this session. If not a new session shall be created.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: xrdp 0.6.0-1
ProcVersionSign
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.1
Architecture: amd64
Date: Thu May 15 18:18:53 2014
InstallationDate: Installed on 2014-01-31 (104 days ago)
InstallationMedia: Ubuntu-Server 13.10 "Saucy Salamander" - Release amd64 (20131016)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: xrdp
UpgradeStatus: Upgraded to trusty on 2014-01-31 (104 days ago)
Maybe: if there is a running session for my user-id I'd be prompted to connect to this running session or to create a new one.