iellison@spike.axion.bt.co.uk (Ian Ellison-Taylor) (07/17/89)
I'm having trouble using the display connection facility under X. I have written a very simple X-windows application, most of which is out of a book and which uses a "-d" option to select a display. Attempting to use a display other than ":0.0" produces an error. e.g. demo -d spike:0 Invalid Display: spike:0 Even though I'm on spikes xhost list and xclock -display spike:0 works fine. My code is so simple I can't understand what is going on !! The really odd thing is I got hold of the source to xclock and recompiled it using cc xclock.c -lXaw -lXmu -lXt -lX11 -O -lm and now it doesn't work for remote connections !! (it works fine without the -display option). I hope someone can help. Ian ############################################################################### #insert witty signature # iellison@axion.bt.co.uk # #of your choice. # BTRL x6619 # # # # ############################################################################### +----------------------------------------------------------------+ | Who: Nigel Fletton | | Where: RT3121, Room G44, SSTF, British Telecom Research Labs, | | Martlesham Heath, Ipswich, IP5 7RE, UK. | | Phone: +44 473 645797 | | E mail: nfletton@axion.bt.co.uk | | Quote: "" | +----------------------------------------------------------------+