]Problem:
]
]If I edit something, the machine doesn't seem to have permission
]to write to my display.
]"_X11TransSocketINETConnect: Can't connect: errno = 4"
]
]My DISPLAY environment doesn't seem to be being used as
]I have to specify -display with any X programs.
]
]Running "xhost +<my machine> doesn't help.
Assumption: You are running some X program on the remote machine (typing
into that XTerm you ran earlier)
Hence, you need to set the DISPLAY variable within that XTerm windows
(export DISPLAY=aa.bb.cc.dd:0.0) to set the display to your own PC. If you
don't do this, then it will default to :0.0, which is the console of that
particular machine that you are connected to (the remote machine)
xhost +<my machine> won't do anything in this case. It is basically saying
that <my machine> has access to use X on whatever machine you typed the
command in on. Assuming again that you are typing that into the XTerm
windows, then you are saying that X Programs running on your local machine
can be opened on the remote machine. You want it the other way around.
Since the XTerm is opening on your local machine, then xhost is already set
on your machine.
Your problem, then, should be resolved by typing the above 'export DISPLAY'
command in the XTerm.
Gary
**********************************************************************
This e-mail and any attachment contains information which is private
and confidential and is intended for the addressee only.
If you are not an addressee, you are not authorised to read, copy or
use the e-mail or any attachment.
If you have received this e-mail in error, please notify the sender
by return e-mail and then destroy it.
**********************************************************************
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!