[Pkg-utopia-maintainers] Bug#601140: consolekit: Should not claim xrdp sessions are local

Petter Reinholdtsen pere at hungry.com
Sat Oct 23 18:26:41 UTC 2010


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.

The pam setup for xrdp is probably this one:

  root at tjener:~# cat /etc/pam.d/xrdp-sesman
  #%PAM-1.0
  @include common-auth
  @include common-account
  @include common-session
  @include common-password
  root at tjener:~#

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-486
Locale: LANG=nb_NO.UTF-8, LC_CTYPE=nb_NO.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages consolekit depends on:
ii  dbus                   1.2.24-3          simple interprocess messaging syst
ii  libc6                  2.11.2-6+squeeze1 Embedded GNU C Library: Shared lib
ii  libck-connector0       0.4.1-4           ConsoleKit libraries
ii  libdbus-1-3            1.2.24-3          simple interprocess messaging syst
ii  libdbus-glib-1-2       0.88-2            simple interprocess messaging syst
ii  libglib2.0-0           2.24.2-1          The GLib library of C routines
ii  libpolkit-gobject-1-0  0.96-3            PolicyKit Authorization API
ii  libx11-6               2:1.3.3-3         X11 client-side library
ii  zlib1g                 1:1.2.3.4.dfsg-3  compression library - runtime

Versions of packages consolekit recommends:
ii  libpam-ck-connector           0.4.1-4    ConsoleKit PAM module

consolekit suggests no packages.

-- no debconf information

Happy hacking,
-- 
Petter Reinholdtsen





More information about the Pkg-utopia-maintainers mailing list