LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Detect if X server is installed (https://www.linuxquestions.org/questions/linux-newbie-8/detect-if-x-server-is-installed-28964/)

rieta 08-28-2002 03:08 AM

Detect if X server is installed
 
Is it possible to write a script which will tell me if x-server is installed. Can somebody please tell me how.

Please help

Rieta

nautilus_1987 08-28-2002 04:09 AM

I think you don't need to write any scripts, just try some commands:

startkde , Xconfigurator, man XF86Config, xf86config, xfree86setup

MasterC 08-28-2002 05:45 AM

Or, check your log files. /var/log/XFree86.0.log

Should exist if you have one installed.

unSpawn 08-28-2002 05:58 AM

Ofcourse it's possible to write a script, AFAIK X11 makes X a link to server in /usr/X11/bin, dunno which distro's won't handle this:
if [ -f /etc/X11/X ]; then set_instd_flag=0; fi


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