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

  • From: praveen@xxxxxxxxxxx (Praveen)
  • Date: Fri Sep 3 15:21:45 2004

Saravanan M K wrote:

I have trouble opening X applications as root in Slackware 9.1.  All X
applications opens perfectly as a normal user.  However if I do:

su -

and then open say for e.g., gvim, it says:

E233: Can't open display.

all X applications throw the same error:

Error: Can't open display.

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

The following links might be of little use.

http://www.linuxquestions.org/questions/showthread.php?s=&threadid=118340
http://www.linuxquestions.org/questions/archive/14/2003/12/1/120121

-- 
Praveen Kumar
Web    : http://myriad-zero.net
Blog   : http://blog.myriad-zero.net
Mobile : +91-98407-02060

Other related posts: