[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Root can't run X programs



David Krider said:
> nate wrote:
>
>> remove all instances of it and restart your X server/display manager
>
> You are the man. Was I supposed to be able to find this in the standard
> Debian docs someplace?

honestly I couldn't tell ya, having never read the docs myself. I usually
just play with stuff until it works. not sure how I found about this
particular feature but I've been turning it off on select machines for
a while now so it was easy to remember. X has history of some security
problems which is why it's off by default, I do wish there was another
option to have it listen for TCP connections on localhost only(maybe there
is, I haven't looked). I remember several years ago I used to
cat /dev/random | nc friends_computer 6000

which, on a local lan could grind their X session to a halt :)

so it's a good idea in enviornments where security is of concern to
disable this functionality or firewall it so only trusted hosts can
connect.

> I don't think X will ever stop confounding me. I mean, I love what it  can
> do, but winding through all the twisty little passages, all alike,  that
> make up all the config files that X will reference... Man!

yeah X is a pretty big piece of software. I love X too, it's just so
great to be able to run apps remotely so transparently(at least on the
LAN, over WANs normal X is unusable for my tastes for everything but
very basic needs, where WAN = 1Mbit).

one of the systems I run uses xawtv on top of X 3.3.6 on woody. For the
longest time I used blackbox as a window manager, then realized why do
I need a window manager, I don't have a keyboard/mouse hooked up(xawtv
is a TV viewing app), all it runs is xawtv fullscreen, so I told X
that xawtv was my window manager :)

nate





Reply to: