Hiding Shutdown/reboot in logout dialog and possible security issue

Anders Bruun Olsen abo at dsl.dk
Mon Jul 14 12:49:11 UTC 2014


Hi Israel,

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.

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 :)



2014-07-11 14:49 GMT+02:00 Israel <israeldahl at gmail.com>:

>  Hi Anders,
>
> You need to figure out how to automatically start X without using a
> display manager like LightDM.
>
>
> I am not sure if I have been unclear here, so I will go over things a bit
> more.
> LightDM is the login manager that has those 'pesky shutdown/reboot buttons'
> SLiM doesn't have those pesky buttons, and is a login manager.  You can
> install it and remove lightdm (after configuring SLiM to be your login
> manager of course).
> This will solve the screen having 'pesky shutdown/reboot buttons'.
>
>
> If you *do not want a Login screen AT ALL.*
> You will need to dig a bit, and* find out how to automatically Start X,
> without a display manager* like LightDM or SLiM.
>
>
> I have no experience doing that.  I do remember having to type `startx` to
> get Gnome going, but this was back in the 90s...  So, there has to be a way
> you can cut out the display manager, and boot directly into X.  I suggest
> searching Ubuntu Forums, or Ask Ubuntu on how to do this.  You might even
> try asking in the wider Ubuntu community. This will take a LOT more work
> than simply switching SLiM for LightDM, but it is possible.
>
>
> To summarize: You do not want a display manager.  You want to start X
> without a display manager.  I don't know how to do this (never needed to
> find out).  Duckduckgo.com might know how to do this :)
>
>
>
> On 07/11/2014 04:14 AM, Anders Bruun Olsen wrote:
>
> .....
>
>
>
> --
> Regards
>
>


-- 
Anders Bruun Olsen
It-ansvarlig
Det Danske Sprog- og Litteraturselskab
(Society for Danish Language and Literature)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/lubuntu-users/attachments/20140714/058911d2/attachment.html>


More information about the Lubuntu-users mailing list