[Ilugc] Re: root not able to open X display in Slackware 9.1

  • From: lug@xxxxxxxxxxxxxxxxxx (Chandrashekar Babu)
  • Date: Fri Sep 3 20:14:33 2004

Saravanan M K writes:

Even I tried setting the DISPLAY variable but no use.  Any clue how to
solve this issue?

Try this sequence:

      xhost +localhost
      su -
      export DISPLAY=:0.0
      
Then, try running your X application.

Cheers,
Chandrashekar Babu.

Other related posts: