Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-04-2003, 02:03 AM   #1
Registered: Dec 2003
Posts: 32

Rep: Reputation: 15
problem with running emacs as su

any time i run root when i am logged into x as another user i get...
emacs: cannot connect to X Server :0.0.
Check the Display enviroment variable or use '-d'.

how do i fix this...ianyone know?
Old 12-04-2003, 03:17 AM   #2
Registered: Mar 2003
Location: Berlin
Distribution: Slackware current
Posts: 310

Rep: Reputation: 31

I haven't found a better way so far, though.
Old 12-04-2003, 02:11 PM   #3
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913
Several possibilities :)

emacs -nw file

If you like the X interface...

for safety reasons I'd suggest the following

ssh -X root@yourhostnam "emacs <your file>"



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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
emacs not running in a windows ttilt Slackware 9 12-01-2004 04:12 PM
running scheme through emacs phoeniks Linux - Software 5 10-18-2004 01:12 AM
running emacs in su mode wont open x window true_atlantis Linux - Software 2 05-05-2004 01:05 AM
emacs running winDOS programs trough wine or similar software ? jamaso Linux - General 2 11-19-2003 07:41 AM
Problem running emacs when su jkcunningham Linux - General 5 06-24-2002 09:20 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:53 AM.

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