You need to have permission to send an X client to the X server. Let's say I have two machines, foo and bar. foo is running an X server, but I want to run an app that is installed on bar. On foo I issue the following command: xhost +bar This allows bar to send clients to foo's X server Then on bar I can either do: export DISPLAY=foo:0 && xterm or: xterm -display foo:0 Of course, you can get around this hassle by using the -X flag to ssh :)
While trying to open a remote terminal or export DISPLAY I always get the following problem. xterm -display 10.0.0.1:0 -geometry 500x500+0+0 & [1] 1288 jay@server:~> Xlib: connection to "10.0.0.1:0.0" refused by server Xlib: No protocol specified xterm Xt error: Can't open display: 10.0.0.1:0 -- James Ogley, Unix Systems Administrator, Pinnacle Insurance Plc james.ogley@pinnacle.co.uk www.pinnacle.co.uk +44 (0) 20 8731 3619 Using Free Software since 1994, running GNU/Linux (SuSE 8.0) Updated GNOME RPMs for SuSE Linux: www.usr-local-bin.org
********************************************************************** CONFIDENTIALITY.This e-mail and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose, or store or copy the information in any medium. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Pinnacle Insurance plc. If you have received this email in error please immediately notify the Pinnacle Helpdesk on +44 (0) 20 8207 9555. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **********************************************************************