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
export XAUTHORITY=/home/vncuser/.Xauthority
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:
If you see this message, then your VNC configuration is incorrect or not complete, in using VNCSERVER session bus.
Cause
Use VNCSERVER session bus cause deployment of user environment that not performed automatically during installation process of vncserver.
Solution
See this tutorial here in this blog, it shows the complete installation of vncserver suitable for most known distributions.
VNCSERVER session bus
Virtual Network Computing, or VNC for short, is software that displays the screen contents of a remote computer (server) on a local computer (client) and in return sends keyboard and mouse movements from the local computer to the remote computer. This allows you to work on a remote computer as if you were sitting in front of it. VNC implements the Remote Framebuffer Protocol and can therefore be used platform-independently, unlike other remote maintenance software.
Historical backgrounds
VNC was developed at the Olivetti Research Laboratory (ORL). The research laboratory was founded in 1986 with Andy Hopper as director, acquired by AT&T in 1999 and closed in 2002. The original developers of VNC founded RealVNC in 2002. VNC’s project leader was Andy Harter, and Tristan Richardson created VNC’s architecture and protocols, as well as reference implementations for Unix and Java.
VNC has been published as open source since 1998. The original VNC is available under the GNU General Public License. RealVNC published its basic Remote Framebuffer Protocol in a Request for Comments from March 2011.
There are many forks of VNC that contain various improvements and additional functions, but are largely compatible with the original version and support its network protocol as the “lowest common denominator”. There are implementations for all common operating systems, so VNC is considered platform-independent.
VNCSERVER session bus functionality
VNC works on the client-server model. The server program offers screen output and input options using the mouse and keyboard, which the client program can display and use.
The term virtual in VNC comes from the fact that it can be viewed as a virtual replacement for thin clients.
UNBLOG verwendet Cookies, um Dein Online-Erlebnis zu verbessern. Mit "ACCEPT" gibst Du Deine Zustimmung zur Nutzung dieser Website und unseren Datenschutzbestimmungen, oder wähle Cookie settings.
Diese Website verwendet Cookies, um Ihre Erfahrung zu verbessern, während Sie durch die Website navigieren. Von diesen werden die Cookies, die nach Bedarf kategorisiert werden, in Ihrem Browser gespeichert, da sie für das Funktionieren der grundlegenden Funktionen der Website wesentlich sind. Wir verwenden auch Cookies von Drittanbietern, mit denen wir analysieren und verstehen können, wie Sie diese Website nutzen. Diese Cookies werden nur mit Ihrer Zustimmung in Ihrem Browser gespeichert. Sie haben auch die Möglichkeit, diese Cookies zu deaktivieren. Das Deaktivieren einiger dieser Cookies kann sich jedoch auf Ihre Browser-Erfahrung auswirken.
Notwendige Cookies sind unbedingt erforderlich, damit die Website ordnungsgemäß funktioniert. Diese Kategorie enthält nur Cookies, die grundlegende Funktionen und Sicherheitsmerkmale der Website gewährleisten. Diese Cookies speichern keine persönlichen Informationen.
Alle Cookies, die für die Funktion der Website möglicherweise nicht besonders erforderlich sind und speziell zur Erfassung personenbezogener Daten des Benutzers über Analysen, Anzeigen und andere eingebettete Inhalte verwendet werden, werden als nicht erforderliche Cookies bezeichnet. Es ist obligatorisch, die Zustimmung des Benutzers einzuholen, bevor diese Cookies auf Ihrer Website ausgeführt werden.