set oracle user Display so i can install
running oracle enterprise linux
the Oracle installer keeps telling me that my DISPLAY variable isn't set. however echo display clearly prints ":0.0"
logged in as root I am able to run xclock to launch the app, but when I "su oracle" and then run xclock it refuses
[oracle@devsebl ~开发者_运维技巧] xclock
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Error: Can't open display: :0.0
how can i give the oracle user permissions to use the display??
fixed it...i had to add localhost to xhost first
xhost +localhost
http://www.linuxquestions.org/questions/linux-software-2/cannot-open-display-as-root-352200/
精彩评论