Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'What's the ugly error?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
What's the ugly error?
Authored by: adrianu on Dec 11, '01 11:11:00AM

In your .cshrc, wrap the xhost commands as follows...
if( $?DISPLAY ) then
  xhost commands go here...
endif
This will make sure that the DISPLAY variable is set before trying to execute the xhost commands... I do recommend the ssh way, though - if you are connecting to a machine that does not have ssh running then ask the owner/administrator WHY NOT!! Bye! Adrian

[ Reply to This | # ]