Display Variable Problem
Hello,
I´m trying to execute "xclock" utility in order to check if DISPLAY variable is set correctly for using with Oracle. I set the DISPLAY variable to <hostmane>:0.0 and also to "machine_ip":0.0 and then tried to execute xclock but doen´t work. If I type startx, the X starts correctly. How can I know which value for the DISPLAY variable is using startx? Thanks in advance Regards |
A display doesn't exist until X is running. So if you are in the command line BEFORE you enter startx, there is no display for xclock to connect to. Once X is running, xclock would be able to connect to it. I believe that on the console, entering startx will always start 0.0 by default. VNC always starts at 1.0.
R.O. |
Thank you for your reply.
I executed it when X is running and the problem is solved. Regards |
All times are GMT -5. The time now is 11:19 PM. |