It seems tha I had a root user on a gnome-terminal with "sudo su", as I
could not reproduce the situation just with open terminals. I had to run
"sudo su" for the policy kit dialog to appear when restarting. Anyway
here's the output of ck-list-sessions showing correctly both users:

Session1:
        unix-user = '1000'
        realname = 'usuario,,,'
        seat = 'Seat1'
        session-type = ''
        active = TRUE
        x11-display = ':0'
        x11-display-device = '/dev/tty7'
        display-device = ''
        remote-host-name = ''
        is-local = TRUE
        on-since = '2009-03-27T09:07:30.708831Z'
        login-session-id = ''
Session10:
        unix-user = '0'
        realname = 'root'
        seat = 'Seat1'
        session-type = ''
        active = FALSE
        x11-display = ''
        x11-display-device = ''
        display-device = '/dev/pts/2'
        remote-host-name = ''
        is-local = TRUE
        on-since = '2009-03-27T09:55:03.901752Z'
        login-session-id = ''

I'll mark as invalid.

-- 
policy kit prevents restarting when only one user is logged in
https://bugs.launchpad.net/bugs/349400
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to