From: Matthew Kennedy <mkennedy@gentoo.org>
To: William Kenworthy <billk@iinet.net.au>
Cc: John Nilsson <pzycrow@hotpop.com>,
gentoo-dev List <gentoo-dev@gentoo.org>
Subject: Re: [gentoo-dev] GnomeUI-WARNING
Date: 18 Oct 2002 22:52:28 -0500 [thread overview]
Message-ID: <87k7kfhypv.fsf@gentoo.shacknet.nu> (raw)
In-Reply-To: <1034984740.8784.15.camel@rattus.localdomain>
William Kenworthy <billk@iinet.net.au> writes:
> xhost +localhost
> su -
> export DISPLAY=localhost:0.0
>
> Using "su -", requires a display set. Where does one put the xhost and
> export in a generic sence? I have a single user machine and often use a
> number of x displays - how could I set up to do the above automaticly,
> no matter which X dispaly I am on?
I'm not a real expert on vim, but perhaps it has a feature where you
can edit a file as root from a vim session running as a normal without
explicitly su-ing anywhere. Kinda like Emacs's Tramp stuff;
/[sm/root@localhost]/etc/make.conf
This is much more convenient than switching users/using a local ssh
connection etc. or playing with xhost authentication.
--
Matthew Kennedy
Gentoo Linux Developer
next prev parent reply other threads:[~2002-10-19 18:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-18 19:50 [gentoo-dev] GnomeUI-WARNING John Nilsson
2002-10-18 18:46 ` Thomas T. Veldhouse
2002-10-18 22:04 ` [gentoo-dev] GnomeUI-WARNING Thomas de Grenier de Latour
2002-10-18 23:45 ` [gentoo-dev] GnomeUI-WARNING William Kenworthy
2002-10-19 0:03 ` Troy Dack
2002-10-19 3:35 ` William Kenworthy
2002-10-23 11:05 ` Colin Morey
2002-10-24 4:27 ` Morten Liebach
2002-10-19 3:52 ` Matthew Kennedy [this message]
2002-10-19 2:12 ` Vitalyl Kushneriuk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k7kfhypv.fsf@gentoo.shacknet.nu \
--to=mkennedy@gentoo.org \
--cc=billk@iinet.net.au \
--cc=gentoo-dev@gentoo.org \
--cc=pzycrow@hotpop.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox