As the title says I cannot shutdown or reboot from the GUI (when I say GUI I mean the one that loads after the startx
command) after I am done. I can logout and reboot from command line but I cannot do it at once.
I have added another user, made him root and deleted pi
user - if that matters - it appears the problem started after this change.
Can this be fixed?
I can post if you can tell me how or point me to where I should read so I can provide them.
Another problem I had after I created the new user was that the GUI taskbar was flashing and was unavailable for everything. After googling I fixed it by typing
sudo usermod -a -G audio <your_user>
P.S. I managed to reboot from SSH and from Ctrl+Alt+F2 but it still looks like I have a problem to fix. Please help.
Commands I used are:
>sudo adduser newuser
>sudo visudo (to make him root)
>sudo deluser -remove-home pi (to delete pi/remove pi user)
Note that I went through all this to harden my SSH because I want to use my raspberry pi over the net. Hence I will have to do it again after flashing and I'm afraid I will just reproduce the same problem.
root
login but there is a root user. It is probably going to be easier to just reflash your SD card and restart.