launching text editor as root
From: Sebastian Luque (spluque_at_gmail.com)
Date: 07/14/05
- Next message: Bill Seivert: "Re: escaping the first col's first part"
- Previous message: Ed Morton: "Re: Library Files & Relative Paths - Confusion"
- Next in thread: Barry Margolin: "Re: launching text editor as root"
- Reply: Barry Margolin: "Re: launching text editor as root"
- Reply: Chris F.A. Johnson: "Re: launching text editor as root"
- Reply: Icarus Sparry: "Re: launching text editor as root"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 14 Jul 2005 03:36:35 GMT
When I'm in a shell (bash konsole in my case) and say 'emacs' as user, the
editor launches normally. However, if I do the same as root, I get:
,-----
| Xlib: connection to ":0.0" refused by server
| Xlib: No protocol specified
|
| 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.
`-----
Curiously, vim starts fine in these conditions. The DISPLAY variable is
the same as it is as user. I'd greatly appreciate any explanations.
Best,
-- Sebastian P. Luque
- Next message: Bill Seivert: "Re: escaping the first col's first part"
- Previous message: Ed Morton: "Re: Library Files & Relative Paths - Confusion"
- Next in thread: Barry Margolin: "Re: launching text editor as root"
- Reply: Barry Margolin: "Re: launching text editor as root"
- Reply: Chris F.A. Johnson: "Re: launching text editor as root"
- Reply: Icarus Sparry: "Re: launching text editor as root"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|