Re: make xconfig & xfree???
From: Joost Witteveen (joostje_at_iliana.nl)
Date: 09/30/04
- Previous message: Arne Götje (q=AB=98=E7=9B=9B=E8=8F=AF?=): "XIM in KDE broken again?"
- In reply to: Jeremy Brown: "Re: make xconfig & xfree???"
- Next in thread: Robert Tilley: "Re: make xconfig & xfree???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 30 Sep 2004 12:34:35 +0200 To: Jeremy Brown <jeremy@brownjava.org>
Jeremy Brown wrote:
> Robert Tilley wrote:
>
>> Make was issued as root. Why can't root connect to the xserver?
>>
>> root@debian-rtg:/usr/src/linux-2.6.8.1# make xconfig
>> HOSTCC scripts/basic/fixdep
>> HOSTCC scripts/basic/split-include
>> HOSTCC scripts/basic/docproc
>> HOSTCC scripts/kconfig/conf.o
>> HOSTCC scripts/kconfig/kconfig_load.o
>> HOSTCC scripts/kconfig/mconf.o
>> HOSTCXX scripts/kconfig/qconf.o
>> HOSTCC -fPIC scripts/kconfig/zconf.tab.o
>> HOSTLLD -shared scripts/kconfig/libkconfig.so
>> HOSTLD scripts/kconfig/qconf
>> scripts/kconfig/qconf arch/i386/Kconfig
>> qconf: cannot connect to X server
>> make[1]: *** [xconfig] Error 1
>> make: *** [xconfig] Error 2
>>
>> Any ideas welcome, Bob
>>
>>
>
> Might want to try doing:
>
> bash$ xhost +
>
> as a regular user, before attempting to connect to the X server as root.
It's a lot safer to put in root's .bashrc:
if test "$LOGNAME" != "root"; then
export XAUTHORITY=/home/$LOGNAME/.Xauthority
fi
This will give user root access to the X session of the logged-in-user.
What you suggested will give _every_ user access to the X session,
including the ability to read passwords etc.
(And, if the server accepts TCP connections, "xhost +" allows everyone
on the internet to connect, and look while you type your passords etc).
-- joostje -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: Arne Götje (q=AB=98=E7=9B=9B=E8=8F=AF?=): "XIM in KDE broken again?"
- In reply to: Jeremy Brown: "Re: make xconfig & xfree???"
- Next in thread: Robert Tilley: "Re: make xconfig & xfree???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|