How to Run Nano File Manager as root in a VNC Session
In this post I show how to run Nano file manager as root in a VNC session. I’m using a Fedora Cinnamon Spin to this logged in as an common user via VNC viewer.
Fire up a terminal and insert the command below at the end of .bashrc by hit nano ~/.bashrc
this example use vncuser, enter your username instead.
close the terminal and re-open again, hit the command line below to run nemo as root:
$ sudo pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY nemo
As the video shows below.