![]() To revert back your changes, you will issue the following command in the Terminal Console xhost -si:localuser:root If everything is working as expected, you will see your Nautilus interface that is running as root To make nautilus running as root, you will need to issue the following commands xhost si:localuser:root The command can be used to add or delete hostnames or user names to authorize connections to the X Server. Before running the nautilus command as root, we will need to use the xhost command (which is a server access control program for X Server). So, to overcome this limitation, we need to use a small workaround. So, the standard approach that works when locally logged on does not work when remote connected. Within the remote session, if the user tries to use the command line approach by issuing the su nautilus command, the following error message will appear Running Nautilus as root in Remote Session Up to Ubuntu 22.04 VersionĪs mentioned above, if a user tries to run the Nautilus GUI application as root in the remote session, the Oops Error message will be probably displayed. The point here is that even if not recommended, people will try to start nautilus as root or try to get admin access to their folders within the GUI. Note: There are other ways to start nautilus as root such as pkexec or nautilus-admin packages as well. This is why some many people are asking to run Nautilus as root. Some people needs indeed access to files that are restricted and they prefer the GUI approach. The user will then be able to browse and navigate through all the Folder Tree structure. The user will get prompted for credentials and the Nautilus would open fine and running with elevated privileges. They would simply issue the following command sudo nautilus
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |