changing user with SU, gives "Xlib: connection to ":0.0" refused by server" (Partily solved)

(=?utf-8?q?=60=60-=5F-=C2=B4=C2=B4?=) -- Fernando Ubuntu at bugabundo.net
Wed Oct 10 23:43:43 UTC 2007


On Monday 08 October 2007 17:22:12 Andrew Glen-Young wrote:
> On 08/10/2007, (``-_-´´) -- Fernando <ubuntu at bugabundo.net> wrote:
> > > $ xhost +
> > > access control disabled, clients can connect from any host
> > >
> > > I don't think that this is the best of ideas, but since the Ubuntu
> > > Xserver doesn't listen on any network ports be default, it should be safe.
<snip>
> It does look like you have some X ports open. It does mean that
> someone can connect to your Xserver remotely and login as a valid user
> on your machine.
> I would consider this method a work around until you find the "proper"
> way of doing it.

I tried a different approach:
sudo xhost +127.0.0.1

That way, i guess, it will only open a connection to the localhost.
What do you think?

-- 
BUGabundo  :o)
(``-_-´´)	http://Ubuntu.BUGabundo.net
Linux user #443786    GPG key 1024D/A1784EBB
My new micro-blog @ http://BUGabundo.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20071011/3ef55e91/attachment.sig>


More information about the ubuntu-users mailing list