LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Server (https://www.linuxquestions.org/questions/linux-newbie-8/server-789632/)

vishwaadiga 02-17-2010 01:23 AM

Server
 
I have installed RHEL 4.6.
But X server is not running.
Wen i executed xclock
Error: Can't open display: hostnmae:0.0

vinaytp 02-17-2010 01:34 AM

Hi vishwaadiga,

Pls give us more info.
How you are accessing your RHEL 4.6 ? Through Putty, vnc ?

If you are accessing thro putty, you can't run xclock. If you are accessing thro VNC, yes u can.

Confirm weather ur X-server is up
Code:

ps -e | grep Xorg
If X-server is not up and running try
Code:

# startx
Also you can try setting display variable
Code:

export DISPLAY=0:0.

linuxlover.chaitanya 02-17-2010 03:37 AM

When you say X server is not running, how do you expect to run X application?

chrism01 02-17-2010 07:12 PM

Also, why 4.6? The latest 4.x is 4.8 and the latest latest is 5.4

TB0ne 02-17-2010 08:41 PM

Quote:

Originally Posted by vishwaadiga (Post 3866506)
I have installed RHEL 4.6.
But X server is not running.
Wen i executed xclock
Error: Can't open display: hostnmae:0.0

If X isn't running, you will obviously not be able to run X apps. But you don't say whether you're running this on the console, or on a remote workstation.

The setting of the DISPLAY variable has been covered on here numerous times. If you're running it on a remote workstation, you'll have to have a working X setup on it first, able to run remote sessions. Again, been covered on here many times...do a search for it.


All times are GMT -5. The time now is 01:02 PM.