18.04 swich user or log out and log in new user hangs computer sometimes

Clash Royale CLAN TAG#URR8PPP up vote
3
down vote
favorite
I just installed 18.04 and created 2 users. Switching between users often causes the computer to freeze/hang. The only escape is the power switch.
login users 18.04
add a comment |Â
up vote
3
down vote
favorite
I just installed 18.04 and created 2 users. Switching between users often causes the computer to freeze/hang. The only escape is the power switch.
login users 18.04
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I just installed 18.04 and created 2 users. Switching between users often causes the computer to freeze/hang. The only escape is the power switch.
login users 18.04
I just installed 18.04 and created 2 users. Switching between users often causes the computer to freeze/hang. The only escape is the power switch.
login users 18.04
asked May 4 at 15:13
RAI
162
162
add a comment |Â
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
1
down vote
What I am going to post here is a workaround:
Edit as root /etc/gdm3/PostSession/Default and add before exit 0:
sleep 0.9
pkill -SIGQUIT -f gnome-session-binary
It should look like this:
#!/bin/sh
sleep 0.9
pkill -SIGQUIT -f gnome-session-binary
exit 0
This will result in a dark screen flash without showing any text and will probably cause a restart on gdm. This means that switching users will not be available without exiting the session.
But might make your life a bit more bearable.
"/etc/gdm3/PostSession/Default" is executed as root at the end of each session (after logout).
Instead of what presented above, you could try with:
#!/bin/sh
pkill X && systemctl restart gdm
exit 0
add a comment |Â
up vote
0
down vote
I have the same problem. I rebuilt my PC a couple of times fearing I had a hard disk issue but I get the same intermittent login freeze with blank purple screen when I change user or logout and back in.
Not a good idea to power off.
I find I can wait a minute then hit Ctl Alt + F1, F2 and F3 a few times -- forget which order, I get back to the main login screen. When I then click on the user I was trying to login it tells me there was an authentication issue (the password given was correct).
I can then login normally. This avoids power off and the damage that can do. I've been searching to see if other users are affected. There are some similar reporting similar issues see Why does my ubuntu 18.04 get stuck on the 'purple' screen after logging in?
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
What I am going to post here is a workaround:
Edit as root /etc/gdm3/PostSession/Default and add before exit 0:
sleep 0.9
pkill -SIGQUIT -f gnome-session-binary
It should look like this:
#!/bin/sh
sleep 0.9
pkill -SIGQUIT -f gnome-session-binary
exit 0
This will result in a dark screen flash without showing any text and will probably cause a restart on gdm. This means that switching users will not be available without exiting the session.
But might make your life a bit more bearable.
"/etc/gdm3/PostSession/Default" is executed as root at the end of each session (after logout).
Instead of what presented above, you could try with:
#!/bin/sh
pkill X && systemctl restart gdm
exit 0
add a comment |Â
up vote
1
down vote
What I am going to post here is a workaround:
Edit as root /etc/gdm3/PostSession/Default and add before exit 0:
sleep 0.9
pkill -SIGQUIT -f gnome-session-binary
It should look like this:
#!/bin/sh
sleep 0.9
pkill -SIGQUIT -f gnome-session-binary
exit 0
This will result in a dark screen flash without showing any text and will probably cause a restart on gdm. This means that switching users will not be available without exiting the session.
But might make your life a bit more bearable.
"/etc/gdm3/PostSession/Default" is executed as root at the end of each session (after logout).
Instead of what presented above, you could try with:
#!/bin/sh
pkill X && systemctl restart gdm
exit 0
add a comment |Â
up vote
1
down vote
up vote
1
down vote
What I am going to post here is a workaround:
Edit as root /etc/gdm3/PostSession/Default and add before exit 0:
sleep 0.9
pkill -SIGQUIT -f gnome-session-binary
It should look like this:
#!/bin/sh
sleep 0.9
pkill -SIGQUIT -f gnome-session-binary
exit 0
This will result in a dark screen flash without showing any text and will probably cause a restart on gdm. This means that switching users will not be available without exiting the session.
But might make your life a bit more bearable.
"/etc/gdm3/PostSession/Default" is executed as root at the end of each session (after logout).
Instead of what presented above, you could try with:
#!/bin/sh
pkill X && systemctl restart gdm
exit 0
What I am going to post here is a workaround:
Edit as root /etc/gdm3/PostSession/Default and add before exit 0:
sleep 0.9
pkill -SIGQUIT -f gnome-session-binary
It should look like this:
#!/bin/sh
sleep 0.9
pkill -SIGQUIT -f gnome-session-binary
exit 0
This will result in a dark screen flash without showing any text and will probably cause a restart on gdm. This means that switching users will not be available without exiting the session.
But might make your life a bit more bearable.
"/etc/gdm3/PostSession/Default" is executed as root at the end of each session (after logout).
Instead of what presented above, you could try with:
#!/bin/sh
pkill X && systemctl restart gdm
exit 0
answered Jul 13 at 10:42
cyberalex4life
595
595
add a comment |Â
add a comment |Â
up vote
0
down vote
I have the same problem. I rebuilt my PC a couple of times fearing I had a hard disk issue but I get the same intermittent login freeze with blank purple screen when I change user or logout and back in.
Not a good idea to power off.
I find I can wait a minute then hit Ctl Alt + F1, F2 and F3 a few times -- forget which order, I get back to the main login screen. When I then click on the user I was trying to login it tells me there was an authentication issue (the password given was correct).
I can then login normally. This avoids power off and the damage that can do. I've been searching to see if other users are affected. There are some similar reporting similar issues see Why does my ubuntu 18.04 get stuck on the 'purple' screen after logging in?
add a comment |Â
up vote
0
down vote
I have the same problem. I rebuilt my PC a couple of times fearing I had a hard disk issue but I get the same intermittent login freeze with blank purple screen when I change user or logout and back in.
Not a good idea to power off.
I find I can wait a minute then hit Ctl Alt + F1, F2 and F3 a few times -- forget which order, I get back to the main login screen. When I then click on the user I was trying to login it tells me there was an authentication issue (the password given was correct).
I can then login normally. This avoids power off and the damage that can do. I've been searching to see if other users are affected. There are some similar reporting similar issues see Why does my ubuntu 18.04 get stuck on the 'purple' screen after logging in?
add a comment |Â
up vote
0
down vote
up vote
0
down vote
I have the same problem. I rebuilt my PC a couple of times fearing I had a hard disk issue but I get the same intermittent login freeze with blank purple screen when I change user or logout and back in.
Not a good idea to power off.
I find I can wait a minute then hit Ctl Alt + F1, F2 and F3 a few times -- forget which order, I get back to the main login screen. When I then click on the user I was trying to login it tells me there was an authentication issue (the password given was correct).
I can then login normally. This avoids power off and the damage that can do. I've been searching to see if other users are affected. There are some similar reporting similar issues see Why does my ubuntu 18.04 get stuck on the 'purple' screen after logging in?
I have the same problem. I rebuilt my PC a couple of times fearing I had a hard disk issue but I get the same intermittent login freeze with blank purple screen when I change user or logout and back in.
Not a good idea to power off.
I find I can wait a minute then hit Ctl Alt + F1, F2 and F3 a few times -- forget which order, I get back to the main login screen. When I then click on the user I was trying to login it tells me there was an authentication issue (the password given was correct).
I can then login normally. This avoids power off and the damage that can do. I've been searching to see if other users are affected. There are some similar reporting similar issues see Why does my ubuntu 18.04 get stuck on the 'purple' screen after logging in?
answered May 6 at 8:45
user824808
566
566
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1032037%2f18-04-swich-user-or-log-out-and-log-in-new-user-hangs-computer-sometimes%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password