Package: xrdp Version: 0.5.0-2 Severity: important User: debian-...@lists.debian.org Usertags: debian-edu
I discovered this while testing xrdp with Debian Edu Wheezy. I would log in using rdesktop, use the desktop for a while, and suddenly the rdesktop window would just disappear. The cause was the killer package, killing all non-niced processes of users that no longer was logged in. And the reason why it mistook my session as a no longer active login was that xrdp fail to register the session in /var/log/utmp. Thus 'who' did not show that I was logged in, KDE would not get a notification from shutdown and killer would kill all the users processes every hour. I assume it also will cause other problems. :) Normally the display manager (kdm,gdm, etc) will register the session with utmp and wtmp when the user log in, and remove/update it when the user log out. But xrdp fail to do so. Please change xrdp to register all active sessions in utmp and wtmp. This is the console output from pstree and who, showing that there is an active session, that do not show up in who when I run who from a root shell logged in via ssh: root@localhost:~# pstree init─┬─NetworkManager───{NetworkManager} ├─acpid ├─automount───2*[{automount}] ├─avahi-daemon───avahi-daemon ├─bluetoothd ├─console-kit-dae───64*[{console-kit-dae}] ├─cron ├─cupsd ├─2*[dbus-daemon] ├─dbus-launch ├─dconf-service───2*[{dconf-service}] ├─exim4 ├─gconfd-2 ├─6*[getty] ├─gnome-keyring-d───7*[{gnome-keyring-d}] ├─goa-daemon───{goa-daemon} ├─gsd-printer───{gsd-printer} ├─gvfs-afc-volume───{gvfs-afc-volume} ├─gvfs-gdu-volume ├─gvfs-gphoto2-vo ├─gvfsd ├─inetd ├─kdm─┬─Xorg │ └─kdm───kdm_greet───{kdm_greet} ├─minissdpd ├─mission-control───2*[{mission-control}] ├─modem-manager ├─munin-node ├─ntpd───ntpd ├─packagekitd───2*[{packagekitd}] ├─polkitd───{polkitd} ├─pulseaudio───{pulseaudio} ├─rpc.gssd ├─rpc.idmapd ├─rpc.statd ├─rpcbind ├─rsyslogd───3*[{rsyslogd}] ├─rtkit-daemon───2*[{rtkit-daemon}] ├─rwhod───rwhod ├─sshd───sshd───bash───pstree ├─sssd─┬─sssd_be │ ├─sssd_nss │ └─sssd_pam ├─udevd───2*[udevd] ├─udisks-daemon─┬─udisks-daemon │ └─{udisks-daemon} ├─upowerd───2*[{upowerd}] ├─xrdp───{xrdp} └─xrdp-sesman───xrdp-sessvc─┬─Xvnc ├─ck-launch-sessi─┬─ssh-agent │ └─x-session-manag─┬─evolution+ │ ├─gdu-notif+ │ ├─gnome-fal+ │ ├─gnome-pan+ │ ├─gnome-scr+ │ ├─gnome-set+ │ ├─gnome-sou+ │ ├─krb5-auth+ │ ├─metacity─+++ │ ├─nm-applet+++ │ ├─notificat+ │ ├─parcellit+ │ ├─polkit-gn+ │ ├─tracker-m+ │ ├─tracker-s+ │ └─3*[{x-ses+ └─xrdp-chansrv───{xrdp-chansrv} root@localhost:~# who root pts/0 2013-05-23 14:05 (cm-84.215.38.245.getinternet.no) root@localhost:~# -- System Information: Debian Release: 7.0 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages xrdp depends on: ii adduser 3.113+nmu3 ii libc6 2.13-38 ii libpam0g 1.1.3-7.1 ii libssl1.0.0 1.0.1e-2 ii libx11-6 2:1.5.0-1 ii libxfixes3 1:5.0-4 Versions of packages xrdp recommends: ii vnc4server [vnc-server] 4.1.1+X4.3.0-37.1 xrdp suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org