Author Topic: e17 user logout from another console  (Read 761 times)

Offline werepacman

  • Full Member
  • ***
  • Posts: 80
e17 user logout from another console
« on: November 25, 2010, 05:41:58 PM »
If desktop hangs, and only working thing is Ctrl+Alt+F2.
Is there a nice way (command) to logout from another console so after this you can return with Ctrl+Alt+F8 and login again?

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: e17 user logout from another console
« Reply #1 on: November 25, 2010, 05:59:57 PM »
Hi, what about gdm-restart, or gdm-safe-restart as root ?

Code: [Select]
# gdm-
gdm-binary               gdm-dmx-reconnect-proxy  gdm-safe-restart
gdm-control              gdm-restart              gdm-stop



melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline smurfslover

  • Hero Member
  • *****
  • Posts: 811
Re: e17 user logout from another console
« Reply #2 on: November 25, 2010, 10:33:35 PM »
you could try (as user)
enlightenment_remote -exit

To restart gdm i always do as root: /etc/init.d/dm restart
or switch to init 3 and back to init 5
Registered Linux User 440970

Every windows machine has an un-patchable critical vulnerability... Its called "Power ON" switch.

Offline airdrik

  • Jr. Member
  • **
  • Posts: 12
Re: e17 user logout from another console
« Reply #3 on: December 05, 2010, 10:49:57 AM »
you can also use "killall -KILL enlightenment" which will work if enlightenment is hung (I don't think enlightenment_remote works if enlightenment is hung).  This kills the enlightenment process which in turn kills all running applications and logs you out.