Restarting gdm in 18.04 doesn't work

Clash Royale CLAN TAG#URR8PPP up vote
6
down vote
favorite
When I try to run one of these commands:
sudo service gdm restart
sudo service gdm3 restart
the system gets stuck in a loop. It goes from the graphical interface to a black screen, then a terminal-like screen with lots of [ OK ] and then again GUI, this repeats cca every second.
It is impossible to stop this, as GUI ceases to respond to any keystrokes and tty randomly misses some of them (so that it's not possible to correctly input the password).
What is the correct procedure for restarting X then?
(I'm on a freshly installed Ubuntu 18.04 on Acer A315)
xorg 18.04 gdm
add a comment |Â
up vote
6
down vote
favorite
When I try to run one of these commands:
sudo service gdm restart
sudo service gdm3 restart
the system gets stuck in a loop. It goes from the graphical interface to a black screen, then a terminal-like screen with lots of [ OK ] and then again GUI, this repeats cca every second.
It is impossible to stop this, as GUI ceases to respond to any keystrokes and tty randomly misses some of them (so that it's not possible to correctly input the password).
What is the correct procedure for restarting X then?
(I'm on a freshly installed Ubuntu 18.04 on Acer A315)
xorg 18.04 gdm
I think the new command issudo systemctl restart gdm.serviceas Ubuntu can be using systemd
â noone
May 15 at 6:33
@SmitTheLastFirefoxUser That does the same thing for me...
â m93a
May 15 at 7:24
I don't why but this should work if Ubuntu is using systemd as this works for me in arch Linux with systemd. Look like Ubuntu does something else behind the scenes that I am yet to find.
â noone
May 15 at 7:28
add a comment |Â
up vote
6
down vote
favorite
up vote
6
down vote
favorite
When I try to run one of these commands:
sudo service gdm restart
sudo service gdm3 restart
the system gets stuck in a loop. It goes from the graphical interface to a black screen, then a terminal-like screen with lots of [ OK ] and then again GUI, this repeats cca every second.
It is impossible to stop this, as GUI ceases to respond to any keystrokes and tty randomly misses some of them (so that it's not possible to correctly input the password).
What is the correct procedure for restarting X then?
(I'm on a freshly installed Ubuntu 18.04 on Acer A315)
xorg 18.04 gdm
When I try to run one of these commands:
sudo service gdm restart
sudo service gdm3 restart
the system gets stuck in a loop. It goes from the graphical interface to a black screen, then a terminal-like screen with lots of [ OK ] and then again GUI, this repeats cca every second.
It is impossible to stop this, as GUI ceases to respond to any keystrokes and tty randomly misses some of them (so that it's not possible to correctly input the password).
What is the correct procedure for restarting X then?
(I'm on a freshly installed Ubuntu 18.04 on Acer A315)
xorg 18.04 gdm
edited Jul 16 at 5:50
asked May 15 at 6:26
m93a
14612
14612
I think the new command issudo systemctl restart gdm.serviceas Ubuntu can be using systemd
â noone
May 15 at 6:33
@SmitTheLastFirefoxUser That does the same thing for me...
â m93a
May 15 at 7:24
I don't why but this should work if Ubuntu is using systemd as this works for me in arch Linux with systemd. Look like Ubuntu does something else behind the scenes that I am yet to find.
â noone
May 15 at 7:28
add a comment |Â
I think the new command issudo systemctl restart gdm.serviceas Ubuntu can be using systemd
â noone
May 15 at 6:33
@SmitTheLastFirefoxUser That does the same thing for me...
â m93a
May 15 at 7:24
I don't why but this should work if Ubuntu is using systemd as this works for me in arch Linux with systemd. Look like Ubuntu does something else behind the scenes that I am yet to find.
â noone
May 15 at 7:28
I think the new command is
sudo systemctl restart gdm.service as Ubuntu can be using systemdâ noone
May 15 at 6:33
I think the new command is
sudo systemctl restart gdm.service as Ubuntu can be using systemdâ noone
May 15 at 6:33
@SmitTheLastFirefoxUser That does the same thing for me...
â m93a
May 15 at 7:24
@SmitTheLastFirefoxUser That does the same thing for me...
â m93a
May 15 at 7:24
I don't why but this should work if Ubuntu is using systemd as this works for me in arch Linux with systemd. Look like Ubuntu does something else behind the scenes that I am yet to find.
â noone
May 15 at 7:28
I don't why but this should work if Ubuntu is using systemd as this works for me in arch Linux with systemd. Look like Ubuntu does something else behind the scenes that I am yet to find.
â noone
May 15 at 7:28
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f1036388%2frestarting-gdm-in-18-04-doesnt-work%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
I think the new command is
sudo systemctl restart gdm.serviceas Ubuntu can be using systemdâ noone
May 15 at 6:33
@SmitTheLastFirefoxUser That does the same thing for me...
â m93a
May 15 at 7:24
I don't why but this should work if Ubuntu is using systemd as this works for me in arch Linux with systemd. Look like Ubuntu does something else behind the scenes that I am yet to find.
â noone
May 15 at 7:28