[SOLVED] impossible to logout and to switch betweer users
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
[SOLVED] impossible to logout and to switch betweer users
Hi,
I use LMDE, updated to the pack 4.
I have two users. One with admin level created on the instal, and another created after the instal.
With this second user, it is impossible to logout. The logout option is available, it makes appear a message-box claiming it will logout within 60 seconds and asking to confirm or cancel. But either I confirm for immediate log out or wait for the 60 second, the only things done is the closing of the message-box.
Before the update to pack 4, I was using CTRL+ALT+BACKSPACE to logout. Not very clean, but efficient. Moreover, I was able to switch from user even not logged out.
But now, I am stucked. I can't logout, CTRL+ALT+BACKSPACE doesn't work anymore, and I can't switch to other users.
Has anyone an idea to solve that? To get back the switch user option and to be able to logout?
I have tried several things already. I haven't seen anything is the logs
I can shut down the computer by typing halt command in a terminal.
Thanks for your help
I use LMDE, updated to the pack 4.
I have two users. One with admin level created on the instal, and another created after the instal.
With this second user, it is impossible to logout. The logout option is available, it makes appear a message-box claiming it will logout within 60 seconds and asking to confirm or cancel. But either I confirm for immediate log out or wait for the 60 second, the only things done is the closing of the message-box.
Before the update to pack 4, I was using CTRL+ALT+BACKSPACE to logout. Not very clean, but efficient. Moreover, I was able to switch from user even not logged out.
But now, I am stucked. I can't logout, CTRL+ALT+BACKSPACE doesn't work anymore, and I can't switch to other users.
Has anyone an idea to solve that? To get back the switch user option and to be able to logout?
I have tried several things already. I haven't seen anything is the logs
I can shut down the computer by typing halt command in a terminal.
Thanks for your help
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: impossible to logout
have you checked in system settings > keyboard > shortcuts > system if the logout combo is active?But now, I am stucked. I can't logout, CTRL+ALT+BACKSPACE doesn't work anymore, and I can't switch to other users.
Re: impossible to logout
This short cut open the same message box, with the same unsuccessful result. I guess the problem is in the logout procedure.
However, the "Kill X" is not in this shortcut list. Is it normal?
Thanks for your help.
However, the "Kill X" is not in this shortcut list. Is it normal?
Thanks for your help.
Re: impossible to logout and to switch between users.
The CTRL ALT BACKSPACE works again, but I don't know why.
But still can't find the switch to another user… neither able to logout normally.
Thanks for your help anyway.
Best regards
But still can't find the switch to another user… neither able to logout normally.
Thanks for your help anyway.
Best regards
Last edited by FDF on Tue Apr 10, 2012 7:20 pm, edited 1 time in total.
Re: impossible to logout
that one you have to thank Clem
debian-system-adjustments (2012.04.7) debian; urgency=low
* Added mate-help
* Added ctrl_alt_backspace shortcut
Re: impossible to logout and to switch betweer users
Could you please provide the output to the following commands while logged as the problematic user:
And this:
Code: Select all
gnome-session-quit --logout
Code: Select all
dbus-send --session --type=method_call --print-reply --dest=org.gnome.SessionManager /org/gnome/SessionManager org.gnome.SessionManager.Logout uint32:0
Re: impossible to logout and to switch betweer users
Thanks for your help
we should always launch the order in console to see…
For the second part, It is not clear to me, but here is the result:
I hope it means something for you. I will try to sniff around about "canberra-gtk-module"
Thanks
we should always launch the order in console to see…
Code: Select all
FDF@desktop:~$ gnome-session-quit --logout
Gtk-Message: Failed to load module "canberra-gtk-module"
Code: Select all
FDF@desktop:~$ dbus-send --session --type=method_call --print-reply --dest=org.gnome.SessionManager /org/gnome/SessionManager org.gnome.SessionManager.Logout uint32:0
method return sender=:1.1 -> dest=:1.561 reply_serial=2
Thanks
Re: impossible to logout and to switch betweer users
Ok, first command shows a problem, second not.
But the most important part is what happens once you execute them. Do they start the close session prompt? If so, what happens when you click the end session button?
Can you provide the terminal output (if any) once they fail to do what they're supposed to do?
Let's start with the first problem. Please execute the following command (at a terminal, of course):
Restart and then try to close session the usual way and also with the commands you've already tried.
But the most important part is what happens once you execute them. Do they start the close session prompt? If so, what happens when you click the end session button?
Can you provide the terminal output (if any) once they fail to do what they're supposed to do?
Let's start with the first problem. Please execute the following command (at a terminal, of course):
Code: Select all
sudo apt-get update && sudo apt-get install libcanberra-gtk3-module
Re: impossible to logout and to switch betweer users
Hi,
I installed libcanberra-gtk3-module and reboot, then try again your commands.
There are no real change. The "gnome-session-quit --logout" open the message box appears, but nothing more happen when clicking OK. The box close and nothing happen. By the way, the prompt of the terminal is back almost imediatly, even before I can click on any button of the box. So sure I won't see the result in the terminal.
as for the second one, same as above, the message box appears, the prompt is back in the terminal, then clicking OK just close the box… The little change in the result doesn't seems significant to me, but may be my mistake, so I post it below.
Thanks again for your help.
I installed libcanberra-gtk3-module and reboot, then try again your commands.
There are no real change. The "gnome-session-quit --logout" open the message box appears, but nothing more happen when clicking OK. The box close and nothing happen. By the way, the prompt of the terminal is back almost imediatly, even before I can click on any button of the box. So sure I won't see the result in the terminal.
as for the second one, same as above, the message box appears, the prompt is back in the terminal, then clicking OK just close the box… The little change in the result doesn't seems significant to me, but may be my mistake, so I post it below.
Code: Select all
FDF@desktop:~$ dbus-send --session --type=method_call --print-reply --dest=org.gnome.SessionManager /org/gnome/SessionManager org.gnome.SessionManager.Logout uint32:0
method return sender=:1.0 -> dest=:1.129 reply_serial=2
Re: impossible to logout and to switch betweer users
Did you try to create another user and see if it shows the same problem?
If the newly created user account logs out properly, then you can grab all the important files from the problematic user to the new /home/personal_folder, take property and forget the rest.
If the newly created user account logs out properly, then you can grab all the important files from the problematic user to the new /home/personal_folder, take property and forget the rest.
Re: impossible to logout and to switch betweer users
Hi,
This solution has worked.
There is only the Switch between user to solve. But that's a Cinnamon issue, as when logged with Gnome 3, the option is available and works.
Thanks for your help
This solution has worked.
There is only the Switch between user to solve. But that's a Cinnamon issue, as when logged with Gnome 3, the option is available and works.
Thanks for your help
Re: impossible to logout and to switch betweer users
To switch users, a lot of people use "Lock Screen" and then "Switch User".
Give it a try.
Give it a try.
Re: impossible to logout and to switch betweer users
Hi,
The strange things is the lock button doesn't work on my computer. It makes nothing, even not open a message box. I quess that's why I haven't seen the switch option in. I will try to find it back, probably an old option somewhere… I have to say the current setting tools are not really user friendly, with options spread in many menus…
Best regards
The strange things is the lock button doesn't work on my computer. It makes nothing, even not open a message box. I quess that's why I haven't seen the switch option in. I will try to find it back, probably an old option somewhere… I have to say the current setting tools are not really user friendly, with options spread in many menus…
Best regards
Re: impossible to logout and to switch betweer users
Which screensaver are you using?
If you have removed gnome-screensaver then the "lock screen" button won't work. If you have xscreensaver installed you can also use it to switch users just starting it in "screen lock" mode with a trick (xscreensaver-command --lock && xscreensaver-command --deactivate) and then use its "new login" button. To configure xscreensaver to use the "lock screen" button, read here: http://ubuntuforums.org/showthread.php?t=1865593
If you have removed gnome-screensaver then the "lock screen" button won't work. If you have xscreensaver installed you can also use it to switch users just starting it in "screen lock" mode with a trick (xscreensaver-command --lock && xscreensaver-command --deactivate) and then use its "new login" button. To configure xscreensaver to use the "lock screen" button, read here: http://ubuntuforums.org/showthread.php?t=1865593
Re: impossible to logout and to switch betweer users
you were right.
The problems are solved.
Thanks
The problems are solved.
Thanks
Re: [SOLVED] impossible to logout and to switch betweer user
I had the same problem with "Lock Screen" didn't work, but before I read about it here, I found another way to change user/lock the screen.
Right click on "Menu", Edit Menu, then in some suitable place, for me it was in "Systemtools", there is so you can click and make a new object. Name it as you like, but the command is "gdmflexiserver". In the Menu you can right click it and put it to Favorites or in panel or desktop.
Right click on "Menu", Edit Menu, then in some suitable place, for me it was in "Systemtools", there is so you can click and make a new object. Name it as you like, but the command is "gdmflexiserver". In the Menu you can right click it and put it to Favorites or in panel or desktop.
Re: [SOLVED] impossible to logout and to switch betweer user
It's better to use the command:pulf wrote:I had the same problem with "Lock Screen" didn't work, but before I read about it here, I found another way to change user/lock the screen.
Right click on "Menu", Edit Menu, then in some suitable place, for me it was in "Systemtools", there is so you can click and make a new object. Name it as you like, but the command is "gdmflexiserver". In the Menu you can right click it and put it to Favorites or in panel or desktop.
Code: Select all
dm-tool switch-to-greeter
If you want to add a "Switch users" button to Cinnamon+Classic Menu Applet you can try this: http://forums.linuxmint.com/viewtopic.p ... 60#p566415