<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">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 :)<br>
      <br>
      On 07/14/2014 07:49 AM, Anders Bruun Olsen wrote:<br>
    </div>
    <blockquote
cite="mid:CAFJm-UORjMCSv91mdCm2jRcC+xOTvj3AxNnKBXsPWNghvxr_6g@mail.gmail.com"
      type="cite">
      <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 class="gmail_extra"><br>
        <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>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Regards</pre>
  </body>
</html>