<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.10.3">
</HEAD>
<BODY>
Just a *small* note: trying this on my server resulted in users not being able to login to GNOME. Removing gnome-power-management also took gnome-session out! Reinstalling gnome-session brings the power package back, as well...<BR>
<BR>
gconf seems to be the best way to work this out. Basically, set a mandatory entry, as Oliver mentioned. With my config, as soon as users select "Quit" they are logged off (no confirmation or options given).<BR>
<BR>
On Thu, 2006-31-08 at 11:08 +0100, Gavin McCullagh wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Hi Oliver,</FONT>
<FONT COLOR="#000000">thanks for the reply.</FONT>
<FONT COLOR="#000000">On Thu, 31 Aug 2006, Oliver Grawert wrote:</FONT>
<FONT COLOR="#000000">> Am Dienstag, den 29.08.2006, 21:48 +0100 schrieb Gavin McCullagh:</FONT>
<FONT COLOR="#000000">> > XKBLayout = GB</FONT>
<FONT COLOR="#000000">> > under [default] in /etc/ltsp/lts.conf and /opt/ltsp/i386/etc/lts.conf</FONT>
<FONT COLOR="#000000">> > (which is correct?) but to no avail. I keep getting @ instead of ",</FONT>
<FONT COLOR="#000000">> > etc.</FONT>
<FONT COLOR="#000000">> the variables in lts.conf are environment variables, they should be</FONT>
<FONT COLOR="#000000">> capiatlized, also there is no "GB" keymap in xorg, its likely rather</FONT>
<FONT COLOR="#000000">> "gb"</FONT>
<FONT COLOR="#000000">Cool, so I probably need:</FONT>
<FONT COLOR="#000000"> XKBLAYOUT = gb</FONT>
<FONT COLOR="#000000">also, which of the above is the correct lts.conf location? </FONT>
<FONT COLOR="#000000">I know you're preparing a default lts.conf which is a good idea. It would</FONT>
<FONT COLOR="#000000">be really helpful to have a doc or wiki page somewhere which listed _every_</FONT>
<FONT COLOR="#000000">directive which can be set in lts.conf and if possible every possible value</FONT>
<FONT COLOR="#000000">(within reason, I realise this wouldn't be possible for something like X</FONT>
<FONT COLOR="#000000">modes).</FONT>
<FONT COLOR="#000000">> > 2. Out of curiosity I hit the Hibernate button presented when I click quit.</FONT>
<FONT COLOR="#000000">> > To my shock and alarm the system went down. And I mean the server.</FONT>
<FONT COLOR="#000000">> > Both on my account and the users. How do I disable this horrible</FONT>
<FONT COLOR="#000000">> > @feature@. </FONT>
<FONT COLOR="#000000">> that bug showed up very late in the release cycle, i'm working on a</FONT>
<FONT COLOR="#000000">> patch for gnome-session in edgy i hope to be able to backport to dapper</FONT>
<FONT COLOR="#000000">> for the next pointrelease. for now the easiest is to remove</FONT>
<FONT COLOR="#000000">> gnome-power-manager completely via apt or set the gconf keys</FONT>
<FONT COLOR="#000000">> "can-suspend" and "can-hibernate" with gconf-editor, that will make the</FONT>
<FONT COLOR="#000000">> option go away.</FONT>
<FONT COLOR="#000000">I see. I'll probably go with removing the gnome-power-manager for now.</FONT>
<FONT COLOR="#000000">Can one set global gconf keys and if so how is it done? I presume a user</FONT>
<FONT COLOR="#000000">could probably over-ride this but that's not so much of a concern. My fear</FONT>
<FONT COLOR="#000000">is that a user will hit hibernate thinking that they can return to their</FONT>
<FONT COLOR="#000000">programs when they login again (as gnome currently advertises).</FONT>
<FONT COLOR="#000000">Gavin</FONT>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>