Re: [gentoo-user] Programs executed as root cannot connect to X server

2005-05-10 Thread YoYo Siska
Hareesh Nagarajan wrote: On 5/8/05, Dmitri Vassilenko [EMAIL PROTECTED] wrote: On Sunday May 8 2005 22:14, Hareesh Nagarajan wrote: How do I enable programs which are executed by the root to connect to the X server? I think if you're doing this locally, you can just copy .Xauthority in the

Re: [gentoo-user] Programs executed as root cannot connect to X server

2005-05-09 Thread Sami Samhuri
* On Sun May-08-2005 at 09:14:15 PM -0500, Hareesh Nagarajan said: Hi All: How do I enable programs which are executed by the root to connect to the X server? I think you might be looking for this command (normal user): % xhost +localhost For more info read 'man xhost'. -- Sami Samhuri

Re: [gentoo-user] Programs executed as root cannot connect to X server

2005-05-09 Thread martin nicolas
Are you using su for beeing root ? In that case have a look at sux (which permit to give access to x for root in sudo mode).On 5/9/05, Sami Samhuri [EMAIL PROTECTED] wrote:* On Sun May-08-2005 at 09:14:15 PM -0500, Hareesh Nagarajan said: Hi All: How do I enable programs which are executed by

Re: [gentoo-user] Programs executed as root cannot connect to X server

2005-05-09 Thread Martin Carpella
Sami Samhuri [EMAIL PROTECTED] writes: I think you might be looking for this command (normal user): % xhost +localhost Note however that this can be dangerous, as now every local user could send you a window to your X-server, not only root. Regards, Martin -- gentoo-user@gentoo.org mailing

Re: [gentoo-user] Programs executed as root cannot connect to X server

2005-05-09 Thread Hareesh Nagarajan
On 5/8/05, Dmitri Vassilenko [EMAIL PROTECTED] wrote: On Sunday May 8 2005 22:14, Hareesh Nagarajan wrote: How do I enable programs which are executed by the root to connect to the X server? I think if you're doing this locally, you can just copy .Xauthority in the directory of the user

Re: [gentoo-user] Programs executed as root cannot connect to X server

2005-05-09 Thread Dmitri Vassilenko
On Monday May 9 2005 05:57, Hareesh Nagarajan wrote: I used this recipe and I'm now able to connect to an XServer as root (I need K3B to work as root you see!) Unless you really want to you don't have to. Just add yourself to the burning and cdrw groups and you should be set. :) Dmitri --

Re: [gentoo-user] Programs executed as root cannot connect to X server

2005-05-09 Thread Sami Samhuri
* On Mon May-09-2005 at 10:57:47 AM +0200, Martin Carpella said: Sami Samhuri [EMAIL PROTECTED] writes: I think you might be looking for this command (normal user): % xhost +localhost Note however that this can be dangerous, as now every local user could send you a window to your

Re: [gentoo-user] Programs executed as root cannot connect to X server

2005-05-09 Thread Volker Armin Hemmann
Hi, with KDE kdesu xemacs or kdesu k3b is the easiest way. But without KDE, the earlier mentioned sux, or xhost +localhost etc are fine too. -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] Programs executed as root cannot connect to X server

2005-05-08 Thread Dmitri Vassilenko
On Sunday May 8 2005 22:14, Hareesh Nagarajan wrote: How do I enable programs which are executed by the root to connect to the X server? I think if you're doing this locally, you can just copy .Xauthority in the directory of the user currently using the server to /root/ (or whatever root's

Re: [gentoo-user] Programs executed as root cannot connect to X server

2005-05-08 Thread Philip Webb
050508 Myk Taylor wrote: Hareesh Nagarajan wrote: How do I enable programs which are executed by root to connect to the X server? If you're logged into a X as a user and su to root in a console, root won't have the appropriate credentials to access X (~/.Xauthority). One way around this is

Re: [gentoo-user] Programs executed as root cannot connect to X server

2005-05-08 Thread Nick Rout
On Sun, 08 May 2005 19:51:15 -0700 Myk Taylor wrote: If you're logged into a X as a user and su to root in a console, root won't have the appropriate credentials to access X (~/.Xauthority). One way around this is to allow forwarded X connections in sshd and run ssh -Y [EMAIL

Re: [gentoo-user] Programs executed as root cannot connect to X server

2005-05-08 Thread Rumen Yotov
Hareesh Nagarajan wrote: Hi All: How do I enable programs which are executed by the root to connect to the X server? E.g.: root: hareesh/ # xemacs Xlib: connection to :0.0 refused by server Xlib: No protocol specified X server not responding : :0.0 Thanks, Hareesh Hi, Just set it (or