LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linux Lite 2.4 won't log out...Live CD or installed
#15
Interesting, Not sure what the issue is.

xfce uses this command to logout
Code:
xfce4-session-logout --logout

There is a shutdown script also.
Open the text editor with this command
Code:
leafpad $HOME/Desktop/logout.sh
paste this code inside
Code:
#!/bin/sh

LOGOUT=$(zenity --width=300 --height=300 --list --radiolist --text="Choose" --title="Logout" --column="Choice" --column="Action" TRUE "Shutdown" FALSE "Restart" FALSE "Suspend" FALSE Hibernate FALSE "Lock with xscreensaver" FALSE "Lock with light-locker" FALSE Logout)

if [ -n "${LOGOUT}" ];then
case $LOGOUT in
  Shutdown)
    dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop
    ;;
  Restart)
    dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart
    ;;
  "Lock with xscreensaver")
    xscreensaver-command -lock
    ;;
  "Lock with light-locker")
    light-locker-command -l
    ;;
  Suspend)
   dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Suspend
   ;;
  Hibernate)
   dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Hibernate
   ;;
  Logout)
   xfce4-session-logout --logout
   ;;
  esac
fi
save and close it.
You'll see logout.sh on the Desktop, right-click on it and make executable. When you run it it will bring a list of shutdown options.

Just remembered, it could be the AMD Graphics driver.
Are you using propriatary  or free drivers?
Code:
/usr/bin/software-properties-gtk --open-tab=4
Reply


Messages In This Thread
Re: Linux Lite 2.4 won't log out...Live CD or installed - by misko_2083 - 04-10-2015, 05:45 AM

Forum Jump:


Users browsing this thread: 6 Guest(s)