Restarting gdm in 18.04 doesn't work

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
6
down vote

favorite
2












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)







share|improve this question






















  • 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










  • 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














up vote
6
down vote

favorite
2












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)







share|improve this question






















  • 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










  • 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












up vote
6
down vote

favorite
2









up vote
6
down vote

favorite
2






2





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)







share|improve this question














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)









share|improve this question













share|improve this question




share|improve this question








edited Jul 16 at 5:50

























asked May 15 at 6:26









m93a

14612




14612











  • 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










  • 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










  • @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















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















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



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














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













































































Popular posts from this blog

Unable to execute new pre-installation script (/var/lib/dpkg/tmp.ci/preinst)

Running the scala interactive shell from the command line

Do not install recommended packages of dependencies