[Pkg-utopia-maintainers] Bug#601140: consolekit: Should not claim xrdp sessions are local
Vincent Bernat
bernat at debian.org
Sun Oct 24 11:38:38 UTC 2010
OoO Pendant le journal télévisé du samedi 23 octobre 2010, vers 20:26,
Petter Reinholdtsen <pere at hungry.com> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20101024/dfef871b/attachment.pgp>
More information about the Pkg-utopia-maintainers
mailing list