You are not logged in.

#1 2005-05-09 00:20:42

IceRAM
Member
From: Bucharest, Romania
Registered: 2004-03-04
Posts: 772
Website

I don't want to "xhost +"

Something strange happened on my new Arch installation.
I can't seem to:

$ xhost +localhost
$ su
# some_X_app

anymore. I don't know why.
I have X started with "-nolisten tcp -dpi 96 :0 vt7 -auth /var/run/xauth/A:0-SOMECODE" by KDM.

I also get such lines:
"AUDIT: Mon May  9 03:15:03 2005: 3128 X: client 17 rejected from local host"
in /var/log/Xorg.0.log

It worked well under the same conditions on my old installation (on the dead hdd).

The only way I can run X apps as root under a normal user is to use "xhost +" which grants unconditional access for everybody.

Does anyone know how to fix this?
Thanks.

Offline

#2 2005-05-09 00:53:49

IceRAM
Member
From: Bucharest, Romania
Registered: 2004-03-04
Posts: 772
Website

Re: I don't want to "xhost +"

I see the problem got fixed by removing "-nolisten tcp" form ServerLocalArgs="..." in /opt/kde/share/config/kdm/kdmrc.

Pretty weird, as I remember it working fine before with that option there. There might be something else...

Offline

#3 2005-05-09 02:21:08

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: I don't want to "xhost +"

It works for me, both for root and other users. Root always worked, and I did something to allow other users too, but forgot what... I don't use xhost and do use the -nolisten tcp option. Try without the -auth option, perhaps that helps.

Offline

Board footer

Powered by FluxBB