LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-28-2002, 04:08 AM   #1
rieta
LQ Newbie
 
Registered: Aug 2002
Posts: 4

Rep: Reputation: 0
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
 
Old 08-28-2002, 05:09 AM   #2
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

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

startkde , Xconfigurator, man XF86Config, xf86config, xfree86setup
 
Old 08-28-2002, 06:45 AM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Or, check your log files. /var/log/XFree86.0.log

Should exist if you have one installed.
 
Old 08-28-2002, 06:58 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,361
Blog Entries: 55

Rep: Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sane will NOT detect installed scanner! revdg Linux - Hardware 2 01-21-2005 06:04 PM
How do you detect a newly self installed eithernet card? godzilla_roar20 Linux - Newbie 5 07-19-2004 01:47 AM
rp_pppoe cant detect pppd even though it's installed ttilt Linux - Networking 9 06-28-2004 11:33 PM
help: how to detect for plugins and installed programs? taiwanboi Programming 0 03-16-2004 02:05 PM
PHP server page detect radnix Programming 4 06-29-2003 03:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration