[plug] Woody 'make xconfig' won't run, 'make menuconfig' does.

Russell Steicke r.steicke at bom.gov.au
Thu Oct 31 10:40:17 WST 2002


On Thu, Oct 31, 2002 at 10:18:24AM +0800, Brad Campbell wrote:
> Matt Kemner wrote:
> > copy .Xauthority from your home directory to /root/ and do:
> > export DISPLAY=:0
> 
> in /root/.bashrc I have
> su brad -c "xauth -f /home/brad/.Xauthority extract - $DISPLAY" | \
> xauth -f /root/.Xauthority merge -

An alternative to all of these good ideas... use sudo.  After you have
setup /etc/sudoers (the syntax is a bit odd, but editing it with visudo
will at least stop you from saving a broken file), you can do this:

  $ sudo make xconfig

which will run make xconfig as root, complete with all your environment
variables, including DISPLAY.



-- 
Russell Steicke

-- Fortune says:
There's small choice in rotten apples.
		-- William Shakespeare, "The Taming of the Shrew"



More information about the plug mailing list