Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 04-19-2004, 04:05 AM   #1
Registered: Mar 2004
Distribution: Slackware current, DSL 0.9.2
Posts: 133

Rep: Reputation: 15
cant use emacs in root any more?

I used to be able to use emacs while su'ing into root, but i no longer can
this is the error
Xlib: connection to ":0.0" refused by server
Xlib: Invalid XDM-AUTHORIZATION-1 key (failed key comparison)
emacs: Cannot connect to X server :0.0.
Check the DISPLAY environment variable or use `-d'.
Also use the `xhost' program to verify that it is set to permit
connections from your machine.
could i do xhost + to enable it for everyone, or is this a security risk?
NVM .. i think i fixed it. i did xhost +localhost under normal user, and now it works
How strange. Stranger thing is i googled for it, and the first result i found was for a SuSE discussion list, and i USE SuSE

Last edited by |2ainman; 04-19-2004 at 04:26 AM.
Old 04-19-2004, 09:07 PM   #2
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
It's just that you aren't starting it up properly.

Go to the big K and look for run programs or some such (can you tell that I'm not running linux at the moment? )

Enter in emacs, click run as different user (root), supply said password, enjoy.

Or just keep doing it the way that you discovered. Either way is fine.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
can't run emacs as root resist_r Linux - General 1 10-07-2005 05:54 PM
emacs not responding to .emacs file in Mandriva 2005 LE. Please help LaptopLinux Mandriva 1 06-08-2005 08:36 AM
root emacs problems spuppett Linux - Newbie 2 04-13-2004 02:20 AM
edb (emacs database) won't open file - emacs 20 & 21 tip184 Linux - Software 0 04-03-2004 07:31 AM
emacs won't load as root cuzzle Linux - Software 3 03-05-2004 12:49 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:59 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration