Posts: 32
bedna
Joined: 30 May 2015
#1
I remove package desktop-session-antix and switch login manager from Slim to LigtDM.

My issue is that, if I run pkill -u $USER or sudo reboot computer always shutdown.

Thanks.
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#2
google search"lightdm shutdown not working" finds a lot of matches.

I don't quite understand your post.
Isn't it reasonable to expect"sudo reboot" would shutdown the computer?
SamK
Posts: 1,028
SamK
Joined: 21 Aug 2011
#3
skidoo wrote:I don't quite understand your post.
Isn't it reasonable to expect"sudo reboot" would shutdown the computer?
I wonder if it is a language thing? Perhaps he means it powers off and stays that way rather than performing the expected reboot.
bedna
Posts: 32
bedna
Joined: 30 May 2015
#4
SamK wrote:
skidoo wrote:I don't quite understand your post.
Isn't it reasonable to expect"sudo reboot" would shutdown the computer?
I wonder if it is a language thing? Perhaps he means it powers off and stays that way rather than performing the expected reboot.
Yes
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#5
try this:
sudo dpkg-reconfigre lightdm

then power down and restart your machine.
Restart and again test whether the following command now performs the expected result:
sudo reboot now