Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Text Editors Not Working Under Root Term
post Oct 3 2003, 02:18 AM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 1
Joined: 3-October 03
Member No.: 1,570

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.

Go to the top of the page
+Quote Post
post Oct 3 2003, 04:45 AM
Post #2

Its GNU/

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151

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.

Johnny Hughes
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 23rd March 2018 - 11:15 PM