How are Linux environment variables DISPLAY and XAUTHORITY used?

Posted by theactiveactor on Super User See other posts from Super User or by theactiveactor
Published on 2010-03-25T00:14:35Z Indexed on 2010/03/25 5:03 UTC
Read the original article Hit count: 390

Filed under:
|

How are these 2 variables used by the X Window system?

On my Ubuntu 9.10 host, if I set XAUTHORITY to anything and then try to run a GUI program, I receive a GTK-WARNING ***: cannot open display :0.0 (DISPLAY is set to :0.0 by default). What is causing this error message?

© Super User or respective owner

How are Linux environment variables DISPLAY and XAUTHORITY used?

Posted by theactiveactor on Stack Overflow See other posts from Stack Overflow or by theactiveactor
Published on 2010-03-25T00:14:35Z Indexed on 2010/03/25 0:23 UTC
Read the original article Hit count: 390

Filed under:
|

How are these 2 variables used by the X Window system?

On my Ubuntu 9.10 host, if I set XAUTHORITY to anything and then try to run a GUI program, I receive a GTK-WARNING ***: cannot open display :0.0 (DISPLAY is set to :0.0 by default). What is causing this error message?

© Stack Overflow or respective owner

Related posts about linux

Related posts about gtk