Opened 15 years ago

Last modified 14 years ago

#43 accepted defect

disable shutdown options in virtual desktops! (and logout virtual desktop only!)

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 1.0
Component: Client Keywords:
Cc:

Description (last modified by Antoine Martin)

Some desktops (gnome and others) offer the option to shutdown/reboot.
I also have the case where openbox will log me out of my real desktop when I logout of the virtual one! WTF!

In a virtual desktop environment this is most certainly NOT wanted.

We need a way to tell the window manager to just offer logout and nothing else.

Something a bit like these gconf keys maybe?

Maybe try to detect which commands get used and define dummy aliases for them? Or maybe it's dbus related?

Change History (5)

comment:1 Changed 15 years ago by Antoine Martin

Looks like the right place for these policy decisions is PolicyKit, unfortunately it does not look like we can set this easily at runtime for individual sessions...


The same user may have a full X session (ie: on display :0) and many other virtual desktops on the same box. Although he may want to shutdown/reboot from the main X session, offering the same options from the virtual desktops is not a good option. This will need some work.

comment:2 Changed 15 years ago by Antoine Martin

Owner: changed from Antoine Martin to Antoine Martin
Status: newaccepted

See also bug #45 - the resolution might come from there (xdg menus?)

comment:3 Changed 15 years ago by Antoine Martin

Description: modified (diff)
Summary: disable shutdown options in virtual desktops!disable shutdown options in virtual desktops! (and logout virtual desktop only!)

comment:4 Changed 15 years ago by Antoine Martin

Description: modified (diff)

comment:5 Changed 14 years ago by Antoine Martin

Priority: criticalmajor

This seems to have been improved by r2283: the sessions no longer have access to the dbus/etc environment variables.

Last edited 13 years ago by Antoine Martin (previous) (diff)
Note: See TracTickets for help on using tickets.