Taken from here you should never use normal sudo to start graphical applications as root. How to run gedit and nautilus as root with pkexec instead. Nautilus opens directly to the specified directory. Nautilus will show mount points although not the contents of unmounted devices even when a device is not mounted on the mount point. This is to help people set up and install a lamp linux apachemysqlphp server in ubuntu, including apache 2, php 5 and mysql 4. If you need a stable environment with longer support time, we recommend that you use xubuntu 16. Solved gksu nautilus sudo nautilus fails to show hidden files i have a similar issue launching gksu gnometerminal, the tip was to look at pam. In the terminal you just type sudo plus the command you want to perform. Also many tools that you need to perform tasks at the system level request the right.
The xubuntu team is happy to announce the immediate release of xubuntu 17. Their primary purpose is to run graphical commands that need root without the need to run an x terminal emulator and using su directly. Nautilus is the official file manager for the gnome desktop ubuntus desktop environment. Xubuntu is distributed on two types of images described below. How to add gksudo or what to use instead in ubuntu. If you need a stable environment with longer support time. Application developers are suggested to use policykit instead what iswas gksu. I recommand you not to install gksu, and use sudo or gksudo instead. If you know how to use torrents, it is highly recommended and preferred to use torrent downloads. Then, when you click on that launcher, you can type in your password, make root changes, and then close the window and be a user again. All the gksudo or kdesudo do is setting your homeroot and copying. This manual page documents briefly gksu and gksudo. How to run gedit and nautilus as root with pkexec instead of. Now that the tool is installed, all you have to do is open nautilus file browser, rightclick a file or folder and select open as administrator as shown in the image below first run the commands below to reload nautilus.
What is the difference between gksudo nautilus and sudo. If you find that especially right after the initial ubuntukubuntu install that youre making a lot of changes as root, create a launcher with the command gksudo nautilus or kdesu konqueror. And set the authentication to sudo, like in the following image. This way graphical applications were allowed to be run with root privileges. Alternatives for gksu and gksudo installation of ubuntu. In a default ubuntu installation gksudo will not be available in favor of another way and that is pkexec, however, some applications still require. Please note that this is primarily about configuration files. And when i was trying to suppress the ubuntu crash report, i tried to use a command with gksu. Jul 04, 2007 if you find that especially right after the initial ubuntukubuntu install that youre making a lot of changes as root, create a launcher with the command gksudo nautilus or kdesu konqueror.
You may first check your os type, 32bit or 64bit, by clicking on about this computer from shutdown menu topright corner gear button. How to open files and folders as administrator in nautilus. The folder may show no contents even though subfolders or files exist. A plugin for nautilus to open files as a privileged user. Ubuntu reference privileges sudo command run command as root sudo s open a root shell sudo s u user open a shell as user sudo k forget sudo passwords gksudo command visual sudo dialog gnome kdesudo command visual sudo dialog kde sudo visudo edit etcsudoers gksudo nautilus root file manager gnome kdesudo konqueror root file. The desktop cd allows you to try xubuntu without changing your computer at all, and at your option to install it permanently later. This prevents files in your home directory becoming owned by root.
You should use gksudo kdesudo on kubuntu to run such programs. You can easily jump to other directories in nautilus, such as your home directory. But still you may want to be able to run a program with root privileges. Be sure to type a space between nautilus and the period.
Ubuntu reference privileges sudo command run command as root sudo s open a root shell sudo s u user open a shell as user sudo k forget sudo passwords gksudo command visual sudo dialog gnome kdesudo command visual sudo dialog kde sudo visudo edit etcsudoers gksudo nautilus root file manager gnome. There are a few tools for changing current gtkicon theme, e. How to install the latest blender release in ubuntu. May 01, 2015 this is to help people set up and install a lamp linux apachemysqlphp server in ubuntu, including apache 2, php 5 and mysql 4. Afaict, this is all thats special about the environment of the started process with gksudo vs. Choose this if you have a computer based on the amd64 or em64t architecture e. You can achieve the gksu functionality with gvfs admin backend. Because ubuntu encourages users to use sudo, gksu is disabled by default. Starting gedit with gksudo gedit you will notice that it will have another theme and another history and not have any of your custom settings. After doing this, you can use any gui application to alter system files, like nautilus to add delete files or folders, gedit or.
Add open as rootadministrator to context menu april 24, 2014 this simple tutorial will show you how to add open as root or open as administrator option to context menu so that you can easily edit open file folders as super user privilege within nautilus file browser. Now run gui application using gksudo to run them as root. How to open files and folders as administrator in nautilus in. After that, open nautilus file browser and test step 2. To install nautilus admin in ubuntu, use the following command. Sep 03, 2017 nautilus will show mount points although not the contents of unmounted devices even when a device is not mounted on the mount point. Mar 18, 2015 nautilus admin is a nautilus extension that adds policykit files for both nautilus and gedit and it allows opening a file or folder from nautilus as root, via policykit. Other versions of gksu in xenial no other version of this package is available in the xenial release. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. It has not been integrated to the latest gnome, so gksu was dropped on ubuntu. How to open the ubuntu nautilus file browser from the terminal. Add open as rootadministrator to context menu april 24, 2014 this simple tutorial will show you how to add open as root or open as administrator option to context menu so that you can easily edit open file folders as. Unlike its parent, however, xubuntu uses the lightweight xfce desktop environment and is optimised for lowerend machines.
This one is inspired by how to run gedit and nautilus as root with pkexec instead of gksu on webup8 when you need to perform a task outside your home directory you need to have access to root. Oct 29, 2014 download blender for gnulinux from the official link below. Download gksudo kdesudo on kubuntu to run such programs. For the default unity desktop, launch unity tweak tool and go to appearance theme. Xauthority to a tmp directory, this preventing files getting owned by root accidentally. Apr 08, 2015 the better approach is to use gksudo kdesudo on kde. Apr, 2017 the xubuntu team is happy to announce the immediate release of xubuntu 17. A comprehensive list of commands needed when using ubuntu. To fix stuff after running sudo nautilus, you have to find all the files owned accidentally by root and set the ownership back to the non root user.
What many people didnt realize, though, was gksu hadnt been maintained in a long time. This type of cd is what most people will want to use. Youd browse to etcapt and find the file called sources. I used to use gksudo gedit etcnf to edit system configuration files but this doesnt seem to work any more. Notice that all the magic is done by the underlying library, libgksu.
First of all we will add a gnome testing ppa that will contain the addition packages required, which are. If you dont know how to use torrents or for any reason cant, you can download the image from one of the mirrors. It was first removed from debian and then canonical decided to drop it from ubuntu 18. Pasi lallinaho has announced the release of xubuntu 14. It doesnt matter which directory is active in terminal before jumping to a specific directory in nautilus. This made me do some little investigation and i found that gksu has been deprecated.