For some reasons, I need to run the whole GUI as root. So I tried to login root user account from ubuntu. I selected Not Listed? option. And I entered username root then when I enter the password it says That didn't worked... but that is the correct password for root user account.....
Can't I login as root??
I am using Ubuntu 20.04 LTS, up to date
sudo program-nameto raise permissions when necessary, but do as much as possible with normal permissions. The reason is simple: avoid severe damage to the operating system by mistake. You can make exceptions, and runsudo -iand arrive at the root prompt#and get elevated permissions. But please avoid it when possible. – sudodus Aug 21 '21 at 17:00gedit admin:///path/to/file– sudodus Aug 21 '21 at 17:16sudo -H gedit /path/to/fileshould be easier.sudo -Hshould be used when starting any GUI app from the terminal CLI. – heynnema Aug 21 '21 at 17:27man sudostill shows -H as a viable option. Do you know what/when the behavior that you describe kicked in? – heynnema Aug 21 '21 at 17:41