Link to home
Start Free TrialLog in
Avatar of MCHDMISDEPT
MCHDMISDEPT

asked on

How to tell what GUI is installed on Linux

I am at a bash shell...I need to get into a GUI intferace...how can you tell what GUI is installed while I'm in the shell...I tried to type startx and i get a message saying command not found...I thought during the setup I had installed KDE...please advise
Avatar of tanelorn
tanelorn

HI  MCHDMISDEPT,

which distribution are you running??

Tanelorn
Avatar of MCHDMISDEPT

ASKER

I am using mandrake 10.1
at least you should have kde# or gnome directories in /etc dirrectory
I am re-installing the OS right now...I think I might have a video driver issue...Its a brand new DELL...any idead on what drivers I should use?
ASKER CERTIFIED SOLUTION
Avatar of Luxana
Luxana
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ok i have found the proper driver from INTEL for the video card...i now have it on a floppy disk in tar.gz format...how do I untar the file and install the new driver?
first put floppy in floppy drive then:
mcopy a:\foobar.tar.gz /tmp
lets say that you have driver file in /tmp directory and this file is called  foobar.tar.gz

# tar -xvzf /tmp/foobar.tar.gz
then go to /tmp/foobar directory
#cd /tmp/foobar
and leek for README or INSTALL file
# ls
then reda fiels with
# cat file | less
and follow instructions
sorry typo:
then read files with README or INSTALL
# cat file | less
and follow instructions
ok...i have ran the tar command...however I do not see a directory in the tmp folder.
ok I have a different driver (an RPM package) on CD I have the cdrom drive mounted...how do I copy the info from the cd to the hard drive?
cp /mnt/cdrom/package.rpm /yourfolder

cp <what> <where>
I figured that out...now I have the rpm in the tmp folder...what do I do with it?  I have tried to rpm command but it tells me that its not an rpm package
ypu probably need to bulid rpm first ..not sure your not providing any details so is hard to say...do some reading..

http://www.linux.org/docs/ldp/howto/RPM-HOWTO/
just move to the folder on the cdrom and type
 #rpm -ivh package.rpm
the shell will tell u that it cant find startx because, well, it cant find it. not because its not there. is ur path env variable set?

X and KDE may be installed already!!

try running a #find command, or #whereis startx (u may need to do comand #updatedb )
after that u have to put in the full path of the command to get it to work
on most systems this is at /usr/X11R6/bin
so u need to use the absolute path, type this
#/usr/X11R6/bin/startx
at ur command line.
to make it easier in the future, edit ur .profile file and for the path variable just add
/usr/X11R6/bin, now in future all u have to do is type startx :D

in addition you could start up in GUI mode by putting your favourite display manager (xdm, gdm, kdm) into your runlevel.rc directory

more info at
http://www.linuxforum.com/linux-xwindow/runningx.html#AEN455