Logout doesn't work

Please post all general support questions for LXDE here.
Locked
coder25
Posts: 8
Joined: Fri Nov 28, 2014 9:10 pm

Logout doesn't work

Post by coder25 »

Clidking the logout icon on the panel produces this message:
"Invalid desktop entry file: '/usr/share/applications/lxde-logout.desktop' "

Logout under File, nothing happens.

??
drooly
Posts: 791
Joined: Mon Apr 08, 2013 6:45 am

Re: Logout doesn't work

Post by drooly »

what distro?
how did you install it? just default settings, or did you 'tinker'?

please open a terminal and enter

Code: Select all

ls -al /usr/share/applications/lxde-logout.desktop
cat /usr/share/applications/lxde-logout.desktop
and post the output here.
coder25
Posts: 8
Joined: Fri Nov 28, 2014 9:10 pm

Re: Logout doesn't work

Post by coder25 »

Friday January 27, 2017, Muon Discover offered an update from Kubuntu 14.04 to Kubuntu 16.04 and I clicked yes.
The upgrade took over 2 hours.
I had already installed LXDE on January 23.
Below are the results of the two commands you specified and others as well.

<ls -al /usr/share/applications/lxde-logout.desktop>
-rw-r--r-- 1 root root 1833 Feb 27 2016 /usr/share/applications/lxde-logout.desktop

<cat /usr/share/applications/lxde-logout.desktop>
[Desktop Entry]
Type=Application
Name=Logout
Name[ar]=اخرج
Name[cs]=Odhlásit se
Name[de]=Abmelden
Name[es]=Cerrar sesión
Name[fi]=Kirjaudu ulos
Name[fr]=Déconnexion
Name[gl]=Saír da sesión
Name[he]=יציאה
Name[is]=Útskráning
Name[ja]=ログアウト
Name[lg]=Komya olutuula
Name[nl]=Afmelden
Name[pl]=Wylogowanie
Name[pt]=Terminar sessão
Name[pt_BR]=Desligar
Name[ru]=Выход
Name[sl]=Odjava
Name[sv]=Logga ut
Name[tr]=Oturumu kapat
Name[uk]=Вихід
Name[zh_CN]=注销
Name[zh_TW]=登出
Comment=Logout, shutdown or reboot
Comment[ar]=اخرج، أطفئ أو أعد الإقلاع
Comment[cs]=Odhlásit se, vypnout a znovu zapnout
Comment[de]=Abmelden, herunterfahren oder neu starten
Comment[es]=Cerrar sesión, apagar o reiniciar
Comment[fi]=Kirjaudu ulos, sammuta tai käynnistä tietokone uudelleen
Comment[fr]=Se déconnecter, éteindre ou redémarrer
Comment[gl]=Saír da sesión, apagar ou reiniciar
Comment[he]=יציאה, כיבוי או הפעלה מחדש
Comment[is]=Skrá út, slökkva eða endurræsa
Comment[ja]=ログアウト, シャットダウンまたは再起動
Comment[lg]=Komya lutuula, gyako kompyuta oba ddamu kugikoleza
Comment[nl]=Afmelden, afsluiten of herstarten
Comment[pl]=Wylogowanie, wyłączenie komputera lub ponowne uruchomienie
Comment[pt]=Terminar sessão, desligar ou reiniciar
Comment[pt_BR]=Desligar, reiniciar, sair da sessão etc.
Comment[ru]=Выйти, выключить или перезапустить
Comment[sv]=Logga ut, stäng av eller starta om
Comment[tr]=Oturumu kapat, bilgisayarı kapat veya yeniden başlat
Comment[uk]=Вийти, вимкнути або перезавантажити
Comment[zh_CN]=注销、关机或重启
Comment[zh_TW]=登出、關機、或重新開機
Icon=gnome-logout
Exec=lxde-logout
TryExec=lxsession-logout
NoDisplay=true

<uname -r>
4.4.0-59-generic

<lsb_release -a>
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial

<dpkg -l openssl>
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==========================-==================-==================-=========================================================
ii openssl 1.0.2g-1ubuntu4.6 amd64 Secure Sockets Layer toolkit - cryptographic utility

<cat /etc/*release>
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS"
NAME="Ubuntu"
VERSION="16.04.1 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.1 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial

<lsb_release -ds 2>/dev/null || cat /etc/*release 2>/dev/null | head -n1 || uname -om>
Ubuntu 16.04.1 LTS
drooly
Posts: 791
Joined: Mon Apr 08, 2013 6:45 am

Re: Logout doesn't work

Post by drooly »

the files look ok.

thanks for the detailed info.
but...
coder25 wrote:Friday January 27, 2017, Muon Discover offered an update from Kubuntu 14.04 to Kubuntu 16.04 and I clicked yes.
The upgrade took over 2 hours.
i'm assuming it worked ok before the upgrade?
but i have no clue what "muon discover" is.
definitely not standard.

a so-called dist-upgrade (14.04 => 16.04) can have its hurdles, esp. on ubuntu. sorry.

also kubuntu (KDE) != lubuntu (LXDE).
which desktop are you using? which panel? how do you get that error message, pressing which button? show us?

and what has openssl got to do with it?
coder25
Posts: 8
Joined: Fri Nov 28, 2014 9:10 pm

Re: Logout doesn't work

Post by coder25 »

I took a "print screen" using KSnapshot, but I get an error message "file too large" when I drag it here.

I click the logoff button in the panel (running person in profile), and get the above error message.
drooly
Posts: 791
Joined: Mon Apr 08, 2013 6:45 am

Re: Logout doesn't work

Post by drooly »

screenshots aren't usually worth the effort, and a screenshot without additional info is almost always worthless.

so:
coder25 wrote:the panel
which one? kde or lxde? for lxde it should be lxpanel. is it?

all in all, as pointed out in your other threads, multiple DEs is not without risk.
Dist-upgrades are not without risk.
hunting down the error will require some effort.
coder25
Posts: 8
Joined: Fri Nov 28, 2014 9:10 pm

Re: Logout doesn't work

Post by coder25 »

Yes, it's LXPanel 0.8.2.

One solution from StackOverflow to the problem of logout doesn't work:
To Log Off from LXDE:
>Close all apps.
>Launch Konsole or other terminal.
>Issue the command <lxsession>
>Log off happens.

Also to hibernate from LXDE:
>Issue the command <sudo pm-hibernate>
coder25
Posts: 8
Joined: Fri Nov 28, 2014 9:10 pm

Re: Logout doesn't work

Post by coder25 »

The problem seems to be solved.

Per a comment at https://ubuntuforums.org/showthread.php ... t=synaptic

I opened Synaptic
Searched for lxsession-logout
Marked lxsession-logout for installation
Applied
Installed

Now LXDE logout works again.
Locked