LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Xorg-server Processes Exist (https://www.linuxquestions.org/questions/linux-newbie-8/xorg-server-processes-exist-4175488975/)

jerzdevs 12-23-2013 03:10 PM

Xorg-server Processes Exist
 
Is there a Linux BASH command to see if any version of Xorg-server is installed on a RHEL5 or RHEL6 server? I have rpm -q xorg-x11-server-common. I only receive something that states it's not installed or is installed. What I would like to see, is that if a version is installed, the command used will provide version results.

I don't know what process (ps) to look for on a server that does have the files installed because I've never seen it.

Thanks for your help.

Shadow_7 12-23-2013 04:17 PM

$ X -version

$ which X

Although I doubt a server would have X installed. Or still installed once moved to production. Depends on the server though.

jpollard 12-24-2013 03:16 AM

Quote:

Originally Posted by Shadow_7 (Post 5086114)
$ X -version

$ which X

Although I doubt a server would have X installed. Or still installed once moved to production. Depends on the server though.

Either command should work - the first will tell you "command not found" if it isn't installed. The second will tell you "no X in..."


But there is no difference between a server and a desktop - only what software is installed. Server editions usually have a different default set though.


All times are GMT -5. The time now is 07:08 PM.