>
> I know this has been addressed before, I've tried searching the archives
> for it, but without success.
>
> How do you run an X program as root whilst still in a user X session?
>
>
Use either fakeroot, or run su in an xterm, and then launch apps in the
background:
su
/usr/sbin/some_n
On Sun, 6 Sep 1998 [EMAIL PROTECTED] wrote:
> Another idea, the simplest one I could think of: in your startx script, add
> the line ``cat ~root/.Xauthority >> ~/.Xauthority'' just after
> ``serverargs="$serverargs -auth $HOME/.Xauthority"''. First startx as root
> to
> create the ~root/.Xauth
Another idea, the simplest one I could think of: in your startx script, add
the line ``cat ~root/.Xauthority >> ~/.Xauthority'' just after
``serverargs="$serverargs -auth $HOME/.Xauthority"''. First startx as root to
create the ~root/.Xauthority file and chgrp it so that only users in a group
w
>
> I know this has been addressed before, I've tried searching the archives
> for it, but without success.
>
> How do you run an X program as root whilst still in a user X session?
>
# Date: Tue, 07 Jul 1998 16:19:01 -0500
# From: "Jens B. Jorgensen" <[EMAIL PROTECTED]>
# Organization: Busine
>From the xhost manpages, ``xhost +local:'' should work better than +localhost,
if you are on a network; this only allows clients on the local machine to
display X clients.
Chandran
> If you're not on a network: 'xhost +localhost' (as user)
Andrew wrote on Sat, Sep 05, 1998 at 10:53:01PM +1200.
On Sat, 5 Sep 1998, Andrew wrote:
>
> I know this has been addressed before, I've tried searching the archives
> for it, but without success.
>
> How do you run an X program as root whilst still in a user X session?
Many ways...
1) su in an xterm.. no worries.
2) As root on a VC:
# xauth
*-Andrew <[EMAIL PROTECTED]>
|
| I know this has been addressed before, I've tried searching the archives
| for it, but without success.
|
| How do you run an X program as root whilst still in a user X session?
If you're not on a network: 'xhost +localhost' (as user)
--
.elOle.
I know this has been addressed before, I've tried searching the archives
for it, but without success.
How do you run an X program as root whilst still in a user X session?
Andrew Tarr
"We were so close to heaven --- Peter came out and gave us badges,
proclaiming us `The Nicest of the Damned
8 matches
Mail list logo