View previous topic :: View next topic |
Author |
Message |
branko n00b
Joined: 25 Jun 2015 Posts: 8 Location: Serbia
|
Posted: Mon Aug 24, 2015 10:01 pm Post subject: [SOLVED] LXDE no shutdown and reboot buttons |
|
|
Hi Guys,
Fresh installed system with LXDE with LXDM does not show shutdown and reboot buttons. Here is what I expect:
http://www.ubuntugeek.com/images/lxde/7.png
And I only have buttons for Logout, Lock Screen and Cancel.
The same happens with root user and for my regular user, so I think there is no problem with permissions which came to my mind first.
LXDM is setup to run on boot with this:
Code: | more /etc/conf.d/xdm | grep lxdm
DISPLAYMANAGER="lxdm"
|
Code: | rc-update add xdm default |
Code: | rc-update | grep xdm
xdm | default |
I believe the reason why I don't have shutdown and reboot buttons is because of how LXDE is started:
Code: | more /etc/X11/Sessions/lxde | grep startlxde
exec /usr/bin/startlxde
|
But I cannot find solution. Do you have any hint what could be the problem?
Thanks in advance.
Regards,
Branko _________________ Neo: "You ever have that feeling where you're not sure if you're awake or still dreaming?"
Last edited by branko on Tue Aug 25, 2015 7:53 pm; edited 1 time in total |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3627
|
Posted: Mon Aug 24, 2015 10:42 pm Post subject: |
|
|
if you have xdm in rc-update, check and install lxdm (consolekit nls pam -debug -gtk3) if missing; then try to have:
Quote: | cat /etc/conf.d/xdm.conf
# We always try and start X on a static VT. The various DMs normally default
# to using VT7. If you wish to use the xdm init script, then you should ensure
# that the VT checked is the same VT your DM wants to use. We do this check to
# ensure that you haven't accidentally configured something to run on the VT
# in your /etc/inittab file so that you don't get a dead keyboard.
CHECKVT=7
# What display manager do you use ? [ xdm | gdm | kdm | gpe | entrance ]
# NOTE: If this is set in /etc/rc.conf, that setting will override this one.
DISPLAYMANAGER="lxdm"
n ~ # less xdml.set
n ~ # more ~/templates//etc/conf.d/xdm.lxde
# We always try and start X on a static VT. The various DMs normally default
# to using VT7. If you wish to use the xdm init script, then you should ensure
# that the VT checked is the same VT your DM wants to use. We do this check to
# ensure that you haven't accidentally configured something to run on the VT
# in your /etc/inittab file so that you don't get a dead keyboard.
CHECKVT=7
# What display manager do you use ? [ xdm | gdm | kdm | gpe | entrance ]
# NOTE: If this is set in /etc/rc.conf, that setting will override this one.
DISPLAYMANAGER="lxdm" | which should start your lxde at boot time.
Hopping I'm no missing anything, please then check about missing features.
Possibly login will remain in console #1, don't forget to try Ctrl/Alt/F7 to go to login screen.
Thks 4 ur attention. |
|
Back to top |
|
|
branko n00b
Joined: 25 Jun 2015 Posts: 8 Location: Serbia
|
Posted: Tue Aug 25, 2015 5:17 pm Post subject: |
|
|
Hi CaptainBlood,
I already installed LXDM. I chose LXDM as my login manager. Here is my whole xdm:
Code: |
more /etc/conf.d/xdm
# We always try and start X on a static VT. The various DMs normally default
# to using VT7. If you wish to use the xdm init script, then you should ensure
# that the VT checked is the same VT your DM wants to use. We do this check to
# ensure that you haven't accidentally configured something to run on the VT
# in your /etc/inittab file so that you don't get a dead keyboard.
CHECKVT=7
# What display manager do you use ? [ xdm | gdm | kdm | gpe | entrance ]
# NOTE: If this is set in /etc/rc.conf, that setting will override this one.
DISPLAYMANAGER="lxdm"
|
CaptainBlood wrote: | which should start your lxde at boot time. |
I already managed LXDM and LXDE to start at boot time.
My issue is that I don't have buttons for shutdown and restart as it is shown on above picture.
Thank you for looking into this post. _________________ Neo: "You ever have that feeling where you're not sure if you're awake or still dreaming?" |
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3137
|
Posted: Tue Aug 25, 2015 6:53 pm Post subject: |
|
|
AFAIR those buttons depend on polkit and dbus: Dbus must be running before you launch lxde |
|
Back to top |
|
|
branko n00b
Joined: 25 Jun 2015 Posts: 8 Location: Serbia
|
Posted: Tue Aug 25, 2015 7:52 pm Post subject: |
|
|
It works!
Thank you szatox.
I had only to start D-Bus at boot time:
Code: | rc-update add dbus default |
And to reboot my machine. _________________ Neo: "You ever have that feeling where you're not sure if you're awake or still dreaming?" |
|
Back to top |
|
|
|