<div dir="ltr">Hi Israel,<div><br></div><div>Fair enough, sometimes it can be difficult to get the message across in text, but as long as we get there in the end right? :)</div><div><br></div><div>Running "lxsession-default quit" produces the same logout menu as lxsession-logout, which means that it also shows the shutdown/reboot buttons.</div>
<div><br></div><div>And yes, choices are what makes free desktops awesome! :)</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-07-14 15:29 GMT+02:00 Israel <span dir="ltr"><<a href="mailto:israeldahl@gmail.com" target="_blank">israeldahl@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi Anders,<br>
I misunderstood you, I thought you meant the shutdown buttons in
lightdm.<br>
But, you are meaning the logout dialog. It was unclear to me what
you meant.<br>
<br>
I am sorry for misunderstanding you, now I see!!! Thanks for your
reply!<br>
<br>
You may be able to edit the shutdown menu, to simply log out the
user, though you may be right, there could be no way to do what
you are looking for.<br>
I made the exec bold...<br>
<br>
[Desktop Entry]<br>
Name=Shutdown<br>
Name[zh_TW]=關機<br>
Comment=Shutdown or Reboot<br>
Icon=system-shutdown-panel<br>
Exec=<b>lxsession-default quit</b><br>
NoDisplay=true<br>
<br>
<br>
But I expect, that if you can do it easily with XFCE, then that is
the proper choice for your scenario. It is always so wonderful to
have choices!!<br>
We can run the same OS with different DE for different needs!<br>
<br>
Thanks for mailing us back. It is a good lesson to me, that I
need ask more questions to understand much better what someone is
talking about SPECIFICALLY :)<div class=""><br>
<br>
On 07/14/2014 07:49 AM, Anders Bruun Olsen wrote:<br>
</div></div>
<blockquote type="cite"><div class="">
<div dir="ltr">Hi Israel,
<div><br>
</div>
<div>I have no idea how you got that from what I have written.
My question has nothing to do with starting X. That is not a
problem at all. The problem is that the logout menu shows the
shutdown/reboot buttons, which I do not want unprivileged
users to see. The logout menu is a part of LXDE, not the login
manager (lightdm or slim). In particular the buttons are a
part of the lxsession-logout package.</div>
<div><br>
</div>
<div>Having researched LXDE a bit more, it does not seem
possible, and it seems that Lubuntu is not really an option
for running a terminal server, without modifying code, which I
do not want to do. I'm gonna go with XFCE instead. There I can
set a policy with polkit, which will at least grey out the
shutdown/reboot buttons (rendering them unclickable). Thanks
for your replies and suggestions :)</div>
<div><br>
</div>
</div>
</div><div class="gmail_extra"><br>
<br>
...<div class=""><br clear="all">
<div><br>
</div>
-- <br>
Anders Bruun Olsen<br>
It-ansvarlig<br>
Det Danske Sprog- og Litteraturselskab<br>
(Society for Danish Language and Literature)<br>
</div></div><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<br>
<pre cols="72">--
Regards</pre>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Anders Bruun Olsen<br>It-ansvarlig<br>Det Danske Sprog- og Litteraturselskab<br>(Society for Danish Language and Literature)<br>
</div>