← Back to team overview

lubuntu-desktop team mailing list archive

Re: Fwd: LXDE shutown dependency/permissions?



Just want to give an update.  For those interested, I went back to my
install notes to see if any of the recommended packages stood out from
the pack.  I installed most everything using "--without-recommends"

Here is output from when I installed lxde

root@natty:/usr/share/locale# aptitude install --without-recommends lxde
The following NEW packages will be installed:
  fontconfig{a} gpicview{a} gtk2-engines{a} leafpad{a} libasound2{a} 
  libatk1.0-0{a} libatk1.0-data{a} libavahi-client3{a} 
  libavahi-common-data{a} libavahi-common3{a} libcups2{a} libdatrie1{a} 
  libfm-gtk0{a} libfm0{a} libgdk-pixbuf2.0-0{a} libglade2-0{a} 
  libgtk2.0-0{a} libgtk2.0-common{a} libjasper1{a} libjpeg62{a} 
  liblua5.1-0{a} libmenu-cache1{a} libobparser21{a} libobrender21{a} 
  libpango1.0-0{a} libpython2.7{a} libstartup-notification0{a} 
  libthai-data{a} libthai0{a} libtiff4{a} libvte-common{a} libvte9{a} 
  libxcb-aux0{a} libxcb-event1{a} lxappearance{a} lxde lxde-common{a} 
  lxde-core{a} lxde-icon-theme{a} lxinput{a} lxmenu-data{a} lxpanel{a} 
  lxrandr{a} lxsession{a} lxsession-edit{a} lxshortcut{a} lxterminal{a} 
  obconf{a} openbox{a} pcmanfm{a} shared-mime-info{a} xarchiver{a} 
The following packages will be REMOVED:
The following packages are RECOMMENDED but will NOT be installed:
  arj arora chimera2 chromium-browser edbrowse elinks elinks-lite elvis 
  elvis-console epiphany-browser firefox galculator gdm gksu
  gvfs-fuse hicolor-icon-theme kdm konqueror libgtk2.0-bin lightdm
  links2 lxdm lxmusic lynx-cur manpages-dev menu-xdg midori netrik
  openbox-themes p7zip-full policykit-1-gnome rekonq rpm scrot 
  seamonkey-browser slim unzip uzbl w3m wdm x-ttcidfont-conf xdg-utils
  xemacs21-mule xemacs21-mule-canna-wnn xemacs21-nomule xscreensaver 
  xserver-xorg zip 
0 packages upgraded, 52 newly installed, 1 to remove and 0 not upgraded.
Need to get 14.4 MB of archives. After unpacking 46.8 MB will be used.
Do you want to continue? [Y/n/?] 

What stood out for me was... policykit-1-gnome.  I installed it and 
now root user gets the added options for shutdown and restart.  So I
just need to get regular user.  I'm not sure yet how I will accomplish
that, since there still is no powerdev or any group created by adding

I also added consolekit, but I'm not sure if that was necessary.

consolekit added messagebus group and policykit added no groups to the

So the hunt is still on.  Anyone interested in looking at the list of
lxde recommended packages, feel free to give input on what I still may
be missing.  I do think adding gdm, slim, or other may help, but I have
had it working on Debian in the past without any DM.



On Mon, 2011-06-06 at 20:22 +1000, Jared Norris wrote:
> Sorry, meant to include the mailing list in my reply as well -
> forwarded on for continuity.
> ---------- Forwarded message ----------
> From: Jared Norris <jrnorris@xxxxxxxxx>
> Date: 6 June 2011 20:21
> Subject: Re: [Lubuntu-desktop] LXDE shutown dependency/permissions?
> To: Eric <rvwbug@xxxxxxxxx>
> On 6 June 2011 11:47, Eric <rvwbug@xxxxxxxxx> wrote:
>         Greetings folks,
>         Although I am running a minimal install of Ubuntu 11.04 with
>         LXDE, I
>         hope someone may help.
>         Normally running Debian I add user to powerdev group for
>         "shutdown" and
>         "restart" options to appear in the shutdown menu.  This group
>         however
>         does not exist.  I'm not sure if I am missing a dependency, or
>         if a
>         different group or modification will give my user these
>         options.
>         I must add the even logging to LXDE using 'startx' with user
>         'root',
>         these options are not displayed.  Only 'Logout' and 'Cancel'
>         are
>         displayed on the shutdown menu.
>         The reason I did not install Lubuntu right off, is due to
>         512MB hard
>         drive space on my WebDT366 LX800.  A larger drive will be near
>         what I
>         paid for the device ~ $80 US.
>         Thanks for taking the time,
>         Cheers,
>         Eric
> Gday Eric,
> It's head_victim from IRC, soon after you left one of our very
> knowledgeable developers popped into the room and read the scroll
> back.
> I take no credit for the answer but just wanted to pass on the
> information apparently the issue with the missing shutdown and reboot
> buttons has been traced to starting X using the "startx" command
> rather than the correct "startlubuntu" command. Apparently this means
> you were running a default LXDE theme not actually Lubuntu.
> Thanks jmarsden for the information and I'm sure if you have more
> questions he'd be happy to answer them (they watch the mailing list
> here)
> Regards,
> Jared Norris JP(Qual) BBehSc(Psych)
> https://wiki.ubuntu.com/JaredNorris
> _______________________________________________
> Mailing list: https://launchpad.net/~lubuntu-desktop
> Post to     : lubuntu-desktop@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~lubuntu-desktop
> More help   : https://help.launchpad.net/ListHelp