OoO Pendant le journal télévisé du samedi 23 octobre 2010, vers 20:26, Petter Reinholdtsen <[email protected]> disait :
> Package: consolekit > Version: 0.4.1-4 > Not quite sure if this is a bug in consolekit or xrdp, but the > combination do not work as it should. > I set up xrdp in Squeeze, and logged in via the RPD protocol using > rdesktop from a remote machine. Then ran ck-list-sessions and can see > that the session for my logged in user is claimed to be local: > Session5: > unix-user = '500' > realname = 'test' > seat = 'Seat4' > session-type = '' > active = FALSE > x11-display = ':10.0' > x11-display-device = '' > display-device = '' > remote-host-name = '' > is-local = TRUE > on-since = '2010-10-23T18:06:32.254503Z' > login-session-id = '' > I believe RPD logins should be considered non-local, to make sure > services only available for local users are inaccessible for users > logged in using RDP. > This was using xrdp version 0.5.0~20100303cvs-6. I think the problem lies in /etc/X11/Xsession.d/90consolekit which considers that when it is able to get a display number considers that you are a local user. Since you get a display number whatever you use a graphical session, this seems not the right thing to do. Maybe this script should also check for GetX11DisplayDevice which is a tty if we use a local session and which is empty otherwise. -- I AM NOT A DENTIST I AM NOT A DENTIST I AM NOT A DENTIST -+- Bart Simpson on chalkboard in episode 7F24
pgpuIsRqzXrr4.pgp
Description: PGP signature

