[Bug 329008] Re: .xsession it aborted at shutdown

2009-02-18 Thread Mikael Ståldal
/etc/rc*.d requires root access to setup, and by default it is run as root for every user. And AFAIK, it's the same with Gnome logout notification, isn't it? I want something which a user can setup without root access, and which is run as that user and only when that user logout (or shutdown). A

Re: [Bug 329008] Re: .xsession it aborted at shutdown

2009-02-18 Thread Scott James Remnant
On Tue, 2009-02-17 at 21:15 +, Mikael Ståldal wrote: > A possible use case could be running a backup procedure. > For such things, you can either use gnome-session's logout notification or admin /etc/rc*.d scripts. But what happens if the shutdown is due to low battery? Scott -- Scott Jame

[Bug 329008] Re: .xsession it aborted at shutdown

2009-02-17 Thread Mikael Ståldal
A possible use case could be running a backup procedure. -- .xsession it aborted at shutdown https://bugs.launchpad.net/bugs/329008 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

Re: [Bug 329008] Re: .xsession it aborted at shutdown

2009-02-16 Thread Scott James Remnant
On Mon, 2009-02-16 at 20:48 +, Mikael Ståldal wrote: > OK. What about providing another mechanism for a user to run stuff at > logout AND shutdown then? > Such as what kind of thing? Scott -- Scott James Remnant sc...@canonical.com -- .xsession it aborted at shutdown https://bugs.launchpa

[Bug 329008] Re: .xsession it aborted at shutdown

2009-02-16 Thread Mikael Ståldal
OK. What about providing another mechanism for a user to run stuff at logout AND shutdown then? -- .xsession it aborted at shutdown https://bugs.launchpad.net/bugs/329008 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs ma

Re: [Bug 329008] Re: .xsession it aborted at shutdown

2009-02-16 Thread Scott James Remnant
On Mon, 2009-02-16 at 18:45 +, Mikael Ståldal wrote: > That's the way I use to shutdown Ubuntu desktop. > > Anyway, wouldn't it be USEFUL if the stuff in .xsession was executed at > shutdown? > > Should I perhaps submit this to Brainstorm instead? > It's not something we can change without

[Bug 329008] Re: .xsession it aborted at shutdown

2009-02-16 Thread Mikael Ståldal
That's the way I use to shutdown Ubuntu desktop. Anyway, wouldn't it be USEFUL if the stuff in .xsession was executed at shutdown? Should I perhaps submit this to Brainstorm instead? -- .xsession it aborted at shutdown https://bugs.launchpad.net/bugs/329008 You received this bug notification be

Re: [Bug 329008] Re: .xsession it aborted at shutdown

2009-02-16 Thread Scott James Remnant
On Sat, 2009-02-14 at 08:25 +, Mikael Ståldal wrote: > So why does not the shutdown sequence wait for .xsession to finish? It > did in Ubuntu 8.04. > No it didn't. The only time that anything after running the session manager would be honoured in .xsession is if you shutdown *using* the sess

[Bug 329008] Re: .xsession it aborted at shutdown

2009-02-14 Thread Mikael Ståldal
So why does not the shutdown sequence wait for .xsession to finish? It did in Ubuntu 8.04. Is there any other way for a user to run stuff at logout AND shutdown? I know you can fiddle with /etc/rc2.d stuff, but that's complicated and requires root access. -- .xsession it aborted at shutdown htt

[Bug 329008] Re: .xsession it aborted at shutdown

2009-02-13 Thread Scott James Remnant
That's because when you shutdown, the shutdown sequence is invoked while gnome-session is still running and gnome-session, along with your .xsession file, are killed at the same time. ** Changed in: util-linux (Ubuntu) Status: New => Invalid -- .xsession it aborted at shutdown https://bug

[Bug 329008] Re: .xsession it aborted at shutdown

2009-02-13 Thread Dimitrios Symeonidis
assigning to the bsdutils package ** Changed in: util-linux (Ubuntu) Sourcepackagename: None => util-linux -- .xsession it aborted at shutdown https://bugs.launchpad.net/bugs/329008 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ub