[Bug 491940] Re: Patch for LTSP clients to properly reboot/shutdown

2012-09-17 Thread Alessio Comai
Thank you bpranoto, but I finally solved with a faster solution using epoptes: I put a launcher on desktop referring to: /usr/share/epoptes-client/endsession --shutdown thanks to alkisg for suggestion -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 491940] Re: Patch for LTSP clients to properly reboot/shutdown

2012-09-15 Thread Bambang Pranoto
My workaround for this problem is to send halt command to the underlying client o/s. Below are the steps needed, do in the server: 1. Chroot to the client environment: $sudo chroot /opt/ltsp/i386 2. Define root password: #passwd 3. Install openssh server and exit from chroot: #apt-get

[Bug 491940] Re: Patch for LTSP clients to properly reboot/shutdown

2012-09-14 Thread Alessio Comai
I installed an edubuntu 12.04 LTSP environment, but when I click shutdown on thin clients it does a logoff instead. I tried to add deb http://ppa.launchpad.net/ts.sch.gr/ppa/ubuntu precise main deb-src http://ppa.launchpad.net/ts.sch.gr/ppa/ubuntu precise main to my repositories and

[Bug 491940] Re: Patch for LTSP clients to properly reboot/shutdown

2012-09-14 Thread Alkis Georgopoulos
Since the proposed patch was not accepted by the Ubuntu devs that maintain gnome-session, nor any alternative component was suggested to try to patch that instead, we didn't upload a patched gnome-session in the ts.sch.gr PPA for 12.04, it's only there for 10.04. So no point in adding the PPA in

[Bug 491940] Re: Patch for LTSP clients to properly reboot/shutdown

2012-08-27 Thread John Hupp
If this bug refers to the inelegant and tedious behavior in which LTSP clients have to click Shutdown 3 times (once on the desktop, again in a Shutdown/Restart dialog, and the dropping back to the login screen, choose Preferences: Shutdown), then I confirm that it is still a problem under Ubuntu

[Bug 491940] Re: Patch for LTSP clients to properly reboot/shutdown

2012-06-21 Thread .cobnet
This is a bug from 2009, but could it be that this is still a problem when using autologin? I used the tutorial https://help.ubuntu.com/community/UbuntuLTSP/AutoLoginFeatures, which works. The problem is when thin client users want to shut down their system, they are brought out to the login

[Bug 491940] Re: Patch for LTSP clients to properly reboot/shutdown

2012-06-21 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: gnome-session (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/491940 Title:

[Bug 491940] Re: Patch for LTSP clients to properly reboot/shutdown

2012-06-21 Thread Frederick J. Henderson
I have a LTSP client that functions as a photo frame running gphotoframe. I have the following in lts.conf for that client #Laptop ethernet [00:0*:**:**:**:**] LIKE=Atoms # Used to allow auto login of clients LDM_AUTOLOGIN=false LDM_LOGIN_TIMEOUT=7 # Needed for LDM_LOGIN_TIMEOUT to work

[Bug 491940] Re: Patch for LTSP clients to properly reboot/shutdown

2012-06-21 Thread Frederick J. Henderson
I forgot to add in my last comment during the countdown open the menu in the bottom left corner called Prefrences and select Shutdown. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/491940 Title:

[Bug 491940] Re: Patch for LTSP clients to properly reboot/shutdown

2011-07-06 Thread Stéphane Graber
Closing the LTSP task as it doesn't affect the LTSP package. I'll subscribe directly to this bug instead. Alkis: What's the status of this patch with more recent version of Ubuntu/Unity/Gnome3 ? ** Changed in: ltsp (Ubuntu) Status: Confirmed = Invalid -- You received this bug

[Bug 491940] Re: Patch for LTSP clients to properly reboot/shutdown

2011-07-06 Thread Alkis Georgopoulos
Sorry, no idea. We're using only LTS releases here, and I'm kinda pressed time-wise this year, so I won't be able to test with recent versions of the involved packages until Ubuntu 12.04, if it's still a problem then. The LTSP task mainly referred to LTSP_LOGOUT_ACTION (commit

[Bug 491940] Re: Patch for LTSP clients to properly reboot/shutdown

2010-12-22 Thread Alkis Georgopoulos
Is it possible for gnome-session to return to the parent process a different exit code based on what the user selected? E.g. logout = return 0 reboot = return 1 shutdown = return 2 This way LTSP could look at the exit code and act appropriately... Or is there another way for LTSP to get

[Bug 491940] Re: Patch for LTSP clients to properly reboot/shutdown

2010-05-12 Thread Alkis Georgopoulos
I've uploaded a patched gnome-session package in the Greek schools ppa. Now the clients properly reboot/shutdown from gnome-panel or from iTalc. Anyone interested may other add the ppa to his sources and update by doing `sudo add-apt-repository ppa:ts.sch.gr sudo apt-get update sudo apt-get

[Bug 491940] Re: Patch for LTSP clients to properly reboot/shutdown

2010-05-05 Thread Nigel Babu
Please forward the patch upstream, thanks for the patch. ** Tags added: patch-needswork ** Tags removed: patch -- Patch for LTSP clients to properly reboot/shutdown https://bugs.launchpad.net/bugs/491940 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 491940] Re: Patch for LTSP clients to properly reboot/shutdown

2010-05-05 Thread Chris Coulson
The patch can't go upstream, as it touches code which is currently specific to Ubuntu anyway -- Patch for LTSP clients to properly reboot/shutdown https://bugs.launchpad.net/bugs/491940 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. --

[Bug 491940] Re: Patch for LTSP clients to properly reboot/shutdown

2010-05-05 Thread Nigel Babu
Ok, so I'll wait for chris's concerns to be addressed. -- Patch for LTSP clients to properly reboot/shutdown https://bugs.launchpad.net/bugs/491940 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 491940] Re: Patch for LTSP clients to properly reboot/shutdown

2010-04-03 Thread Alkis Georgopoulos
LXDE has added upstream support for LTSP reboot/shutdown, using the same method as the patch proposed here. http://lxde.git.sourceforge.net/git/gitweb.cgi?p=lxde/lxsession;a=commit;h=d2508534100fddbac931fa60e3b989ae54ddf147 Thanks, pcman and vagrantc. Maybe we'd have better luck trying upstream

[Bug 491940] Re: Patch for LTSP clients to properly reboot/shutdown

2010-03-29 Thread Alkis Georgopoulos
Reopening in LTSP, as it seems we'll need to find another method in order to get working shutdown/reboot menus, and I'm not sure if we have enough time left to make it for Lucid. Maybe the indicator-session applet could be patched instead, like fusa was in previous releases, although patching

[Bug 491940] Re: Patch for LTSP clients to properly reboot/shutdown

2010-03-27 Thread Benjamin Drung
I unsubscribed ubuntu-sponsors, because there is no debdiff to sponsor. I subscribe ubuntu-reviewers for the patch. -- Patch for LTSP clients to properly reboot/shutdown https://bugs.launchpad.net/bugs/491940 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 491940] Re: Patch for LTSP clients to properly reboot/shutdown

2010-03-27 Thread Chris Coulson
The patch doesn't look right anyway - the extra hooks are in a code path that's only accessible from the dbus interface, which means that the shutdown behaviour from the indicator-session applet will be different to the shutdown behaviour initiated form the session dialog. It looks quite hacky

[Bug 491940] Re: Patch for LTSP clients to properly reboot/shutdown

2010-03-27 Thread Alkis Georgopoulos
The LTSP user session is running on the server through ssh -X. The shutdown will need to be executed on the client. LTSP is using xprops as a mechanism for the server to notify the client to execute something. It is indeed a hack, but that's the standard way we do it in LTSP. That's also the way

[Bug 491940] Re: Patch for LTSP clients to properly reboot/shutdown

2010-03-08 Thread Alkis Georgopoulos
The LTSP part of this patch has been committed two months ago in http://bazaar.launchpad.net/~ltsp-upstream/ltsp/ltsp- trunk/revision/1481. Please include the gnome-session patch as well, it's been heavily tested and it works great. ** Also affects: ltsp (Ubuntu) Importance: Undecided

[Bug 491940] Re: Patch for LTSP clients to properly reboot/shutdown

2010-02-19 Thread Brian Murray
** Tags added: patch -- Patch for LTSP clients to properly reboot/shutdown https://bugs.launchpad.net/bugs/491940 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

[Bug 491940] Re: Patch for LTSP clients to properly reboot/shutdown

2010-01-12 Thread Alkis Georgopoulos
I uploaded patched gnome-session packages for Lucid in my PPA. So if anyone wants to test those 4 lines to verify that they solve the reboot/shutdown problem for thin clients, he just needs to do: sudo add-apt-repository ppa:ts.sch.gr/proposed sudo apt-get update sudo apt-get dist-upgrade --

[Bug 491940] Re: Patch for LTSP clients to properly reboot/shutdown

2010-01-12 Thread apanagio
I just tested the new packages and they work for reboot/shutdown fine. nice work, thanks a lot -- Patch for LTSP clients to properly reboot/shutdown https://bugs.launchpad.net/bugs/491940 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 491940] Re: Patch for LTSP clients to properly reboot/shutdown

2010-01-04 Thread Alkis Georgopoulos
LDM_LOGOUT_ACTION has been renamed to the more generic LTSP_LOGOUT_ACTION, in commit http://bazaar.launchpad.net/~ltsp- upstream/ltsp/ltsp-trunk/revision/1481 So please use the following 4 lines instead: + if (g_getenv (LTSP_CLIENT)) + g_spawn_command_line_async(xprop -root -f LTSP_LOGOUT_ACTION

[Bug 491940] Re: Patch for LTSP clients to properly reboot/shutdown

2009-12-11 Thread Alkis Georgopoulos
Instead of g_spawn_command_line_async(), the following could also be used: gdk_property_change(gdk_get_default_root_window(), gdk_atom_intern(LDM_LOGOUT_ACTION, FALSE), XA_STRING, 8, GDK_PROP_MODE_REPLACE, (guchar *) HALT, strlen(HALT)); ...but that would require #including some additional

[Bug 491940] Re: Patch for LTSP clients to properly reboot/shutdown

2009-12-09 Thread Strikos
Works for me also! -- Patch for LTSP clients to properly reboot/shutdown https://bugs.launchpad.net/bugs/491940 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

[Bug 491940] Re: Patch for LTSP clients to properly reboot/shutdown

2009-12-08 Thread Alkis Georgopoulos
I've uploaded in LTSP-upstream the necessary code to handle this xprop from the LTSP side: http://bazaar.launchpad.net/~ltsp-upstream/ltsp/ldm-trunk/revision/1223 http://bazaar.launchpad.net/~ltsp-upstream/ltsp/ltsp-trunk/revision/1465 So if the patch above was accepted in gnome-session, LTSP

[Bug 491940] Re: Patch for LTSP clients to properly reboot/shutdown

2009-12-08 Thread Alkis Georgopoulos
In case anyone else wants to test this, I've uploaded updated packages for gnome-session and LTSP (karmic) to this PPA: https://launchpad.net/~ts.sch.gr/+archive/proposed I've also uploaded a modified iTalc package there that calls gnome.SessionManager.RequestReboot/RequestShutdown via dbus-send

[Bug 491940] Re: Patch for LTSP clients to properly reboot/shutdown

2009-12-04 Thread markakis
I had the same problem with my LTSP Clients. Ι can confirm that this patch enables me to reboot/shutdown my LTSP clients. Nice work !!! -- Patch for LTSP clients to properly reboot/shutdown https://bugs.launchpad.net/bugs/491940 You received this bug notification because you are a member of