Marc Weber wrote:
>> Marc,
>> In case you are talking X11:
>> D you have x11 authorization enabled or disabled ?
>>
> I've been taking x11.
> I did modify xhost because I wanted a php script be able to launch vim.
> But I've restarted X now and xhost - shows the same as xhost. It still
> works.
>
> So <c-r>system('xhost') inserts:
> access control enabled, only authorized clients can connect
>
> But I'm not sure.. wether I've enabled localhost..
> Anyway, should this be possible?
> I mean root and "somesuer" should be able to connect to X without
> somesuer beeing able to run root tasks using --remote-send.. by default.
>
Your root user is probably using the same X client authentication as
your regular user. That usually is what happens with su and sudo. It
wouldn't happen with a different user as the one running root.
As an experiment. Try becoming root through another means (such as a
text console, or after logging in from another machine without X client
forwarding), and see if it is still possible.
Dave