About setting DISPLAY variable
hi all,
I have booted my RH7.2 in text mode. It fails to run a graphic-mode program in text mode and reports that I need to set the DISPLAY variable. How to set it? |
You cannot run a graphics mode player in text mode. You have to have the Xserver running for you to enable running graphical programs. When you start XServer, the DISPLAY variable is automatically set.
|
Try startx to start running x server.
|
Yes. I am running X now. However, it stills demand me to set DISPLAY. It's really weird.
|
You can set the display variable $DISPLAY in your .profile file in your home directory. The name may differ depending what shell your using. I use bash so for me its .bash_profile.
Try adding this: export DISPLAY="$IP:0.0" |
All times are GMT -5. The time now is 07:48 AM. |