<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi Anders,<br>
      I still think what you are looking for is SLiM<br>
      <a class="moz-txt-link-freetext" href="https://en.wikipedia.org/wiki/SLiM">https://en.wikipedia.org/wiki/SLiM</a><br>
      Please check this out.  You can use SLiM instead of LightDM.<br>
      There were no logout, or shutdown buttons present the last time I
      used it in Debian Wheezy<br>
      And it provides a lighter login.<br>
      Of course, you could remove LightDM and setup your computer to run
      startx (or whatever specific startup script Lubuntu uses... I
      can't remember off the top of my head) instead :)<br>
      <br>
      On 07/10/2014 03:12 PM, Anders Bruun Olsen wrote:<br>
    </div>
    <blockquote
cite="mid:CAFJm-UMhMVUvSYb2nTS+fTjAer3AkbfssTiFeJJoGObNPvevUw@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi Nio,
        <div><br>
        </div>
        <div>The problem with going to the "real server guys" is that
          terminal servers are sort of halfway between the
          server/desktop divide, so some things fall on the desktop
          side, and some on the server side. This specific issue is how
          to get lxsession-logout to not show the shutdown/reboot
          buttons, which I would deem to belong on the desktop side of
          things. I may need to try the LXDE guys directly if nobody is
          able to help here. I just thought I would try the distro
          specific mailing list before going to the program specific one
          :)</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">2014-07-10 18:13 GMT+02:00 Nio Wiklund
          <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:nio.wiklund@gmail.com" target="_blank">nio.wiklund@gmail.com</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            Hi Anders,<br>
            <br>
            You can also ask in the Server Platforms Forum at<br>
            <br>
            <a moz-do-not-send="true"
              href="http://ubuntuforums.org/forumdisplay.php?f=339"
              target="_blank">http://ubuntuforums.org/forumdisplay.php?f=339</a><br>
            <br>
            where some real server guys will probably help you.<br>
            <br>
            Best regards/Nio<br>
            <br>
            2014-07-10 16:07, Anders Bruun Olsen skrev:<br>
            > Hi,<br>
            ><br>
            <div>
              <div class="h5">> Ehm.. a graphical desktop environment
                is sort of the point of a terminal<br>
                > server. It provides remote desktops to users. It
                isn't for running a<br>
                > graphical desktop on a locally attached screen :)<br>
                > The issue here is two-fold:<br>
                ><br>
                > 1. If the graphical login-manager (lightdm) is
                running, all users who<br>
                > login to a desktop remotely can shut down the
                entire machine. This is<br>
                > not a good thing, but can be circumvented by
                killing off lightdm. This<br>
                > is fine when you use something like Nomachine,
                which takes care of<br>
                > spinning up a desktop session. But with LTSP you
                would probably run into<br>
                > problems, since it depends on having a DM handling
                login and spinning up<br>
                > desktop sessions. Although lightdm may be
                intelligent enough to actually<br>
                > know when users are remote on LTSP, and will refuse
                to allow them to<br>
                > shutdown the machine without proper rights. This
                may be a none-issue for<br>
                > LTSP. I don't use LTSP, so I can't say for sure.
                With Nomachine it is an<br>
                > issue.<br>
                ><br>
                > 2. Users can get confused when sitting in front of
                a thin client running<br>
                > the nomachine client. They want to shut down for
                the day and choose the<br>
                > shutdown menu on their Lubuntu desktop. Here the
                correct process is to<br>
                > choose logout and then shut down the thin client
                when logout has<br>
                > happened. But users don't usually think about the
                fact that this<br>
                > connects to a remote desktop, so pressing the
                shutdown button in the<br>
                > shutdown menu seems logical. They want to shut down
                their local machine.<br>
                > Unfortunately that button is meant to shut down the
                terminal server.<br>
                > When that does not work (they get the "access
                denied" message), most<br>
                > users get confused and go ask it-support for help.
                I just want to<br>
                > prevent this confusion, if possible :)<br>
                ><br>
                ><br>
                ><br>
                > 2014-07-10 14:53 GMT+02:00 Nio Wiklund <<a
                  moz-do-not-send="true"
                  href="mailto:nio.wiklund@gmail.com">nio.wiklund@gmail.com</a><br>
              </div>
            </div>
            > <mailto:<a moz-do-not-send="true"
              href="mailto:nio.wiklund@gmail.com">nio.wiklund@gmail.com</a>>>:<br>
            <div>
              <div class="h5">><br>
                >     2014-07-10 14:21, Anders Bruun Olsen skrev:<br>
                >     > Hi,<br>
                >     ><br>
                >     > I am looking to build a new terminal
                server for remote desktops which<br>
                >     > will be accessed through NoMachine
                Enterprise. Lubuntu and LXDE looks<br>
                >     > like a nice fit, but I have run into a
                couple of issues.<br>
                >     ><br>
                >     > I have a default install of Lubuntu 14.04
                64-bit. I have created a<br>
                >     > non-privileged user (no sudo rights). I
                have also installed NoMachine<br>
                >     > Enterprise Server. First thing I
                discovered was what I would<br>
                >     almost call<br>
                >     > a security issue. When my non-privileged
                user is logged in remotely<br>
                >     > (with Nomachine Enterprise Client),
                choosing shutdown in the logout<br>
                >     > dialog actually does shut down the server.
                How can this user shut down<br>
                >     > the server, without root access? I found
                out, that if I ensure lightdm<br>
                >     > isn't running (nobody will login locally),
                my unprivileged user can't<br>
                >     > shut down the server, but will be asked
                for the password to a<br>
                >     privileged<br>
                >     > user, so I guess this is an issue with
                lightdm. Is this really<br>
                >     intended<br>
                >     > behavior?<br>
                ><br>
                >     I think it is made for desktop installation,
                where any user should be<br>
                >     able to shut down the computer. But it is not
                suitable for a server. I'm<br>
                >     glad you found a way to stop shutting it down
                with superuser privileges.<br>
                ><br>
                >     But, many people will discourage the use of a
                graphical desktop<br>
                >     environment for a server. Do you really need
                it? Or maybe a simple<br>
                >     window manager like Openbox or Fluxbox would
                do?<br>
                ><br>
                >     ><br>
                >     > Next up, I would like to hide the shutdown
                and reboot buttons in the<br>
                >     > logout dialog. The only way I have been
                able to find by searching,<br>
                >     is to<br>
                >     > actually change the source code for
                lxsession-logout and recompile. Is<br>
                >     > there really no other way to hide those
                buttons?<br>
                ><br>
                >     Sorry, I don't know this, but think other
                people can help you with it.<br>
                ><br>
                >     > --<br>
                >     > Anders Bruun Olsen<br>
                >     > It-ansvarlig<br>
                >     > Det Danske Sprog- og Litteraturselskab<br>
                >     > (Society for Danish Language and
                Literature)<br>
                >     ><br>
                >     ><br>
                ><br>
                ><br>
                >     --<br>
                >     Lubuntu-users mailing list<br>
              </div>
            </div>
            >     <a moz-do-not-send="true"
              href="mailto:Lubuntu-users@lists.ubuntu.com">Lubuntu-users@lists.ubuntu.com</a>
            <mailto:<a moz-do-not-send="true"
              href="mailto:Lubuntu-users@lists.ubuntu.com">Lubuntu-users@lists.ubuntu.com</a>><br>
            <div class="HOEnZb">
              <div class="h5">>     Modify settings or unsubscribe
                at:<br>
                >     <a moz-do-not-send="true"
                  href="https://lists.ubuntu.com/mailman/listinfo/lubuntu-users"
                  target="_blank">https://lists.ubuntu.com/mailman/listinfo/lubuntu-users</a><br>
                ><br>
                ><br>
                ><br>
                ><br>
                > --<br>
                > Anders Bruun Olsen<br>
                > It-ansvarlig<br>
                > Det Danske Sprog- og Litteraturselskab<br>
                > (Society for Danish Language and Literature)<br>
                <br>
              </div>
            </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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Regards</pre>
  </body>
</html>