Go 2 Linux/Unix World !!
Tips n Tricks of Linux/Unix/Solaris.........
Pages
Home
Popular Linux Distribution
Useful Linux Applications
Useful Linux-Links
Contact Me
Friday, March 4, 2011
Gtk-warnning ** : can not open display or ** WARNING ** can not open display
The problem is with two environment variables
DISPLAY
and
XAUTHORITY
$ su -
password:
# export DISPLAY=0:0
# export XAUTHORITY=/home/username/.Xauthority
to verify, run a graphical program from terminal. e.g.;
# xeyes
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment