Help - Search - Members - Calendar
Full Version: Text Editors Not Working Under Root Term
Linuxhelp > Support > Technical Support
I'm running mandrake 9.1. In a root terminal when I try to run any text edit I recevie this error:

Xlib: connection to ":0.0" refused by Server
Xlib: Client is not authorized to connect to Server

(gedit:2045): Gtk-WARNING **: cannot open display:

This is only in a root terminal though. In a regual user term it work just fine.

By default, users other than the one logged in can't open X-Windows objects during that session. This is a security feature.

If I am in a terminal window as root(but logged into X as a normal user), I use vi, nano, or pico as my text editor in that window.

If you want to allow anyone logged into the machine to access X, you could issue the command:

xhost +localhost

Then root could display items on your normal user's desktop ... but then other people could look at your desktop as well...if they were logged into the machine.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.