[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 270
  • Last Modified:

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
0
MCHDMISDEPT
Asked:
MCHDMISDEPT
  • 6
  • 6
  • 2
  • +2
1 Solution
 
tanelornCommented:
HI  MCHDMISDEPT,

which distribution are you running??

Tanelorn
0
 
MCHDMISDEPTAuthor Commented:
I am using mandrake 10.1
0
 
LuxanaCommented:
at least you should have kde# or gnome directories in /etc dirrectory
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
MCHDMISDEPTAuthor Commented:
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?
0
 
LuxanaCommented:
if you thing that that is VGA driver problem try just run xserver with commnad
# X
if installed. Than you will see repport if it does not start wich will tell you what is going wrong.
to get appropriate driver for VGA do first:
# lspci
and from output dtermine what kind of VGA do you have
0
 
MCHDMISDEPTAuthor Commented:
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?
0
 
LuxanaCommented:
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
0
 
LuxanaCommented:
sorry typo:
then read files with README or INSTALL
# cat file | less
and follow instructions
0
 
MCHDMISDEPTAuthor Commented:
ok...i have ran the tar command...however I do not see a directory in the tmp folder.
0
 
MCHDMISDEPTAuthor Commented:
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?
0
 
LuxanaCommented:
cp /mnt/cdrom/package.rpm /yourfolder

cp <what> <where>
0
 
MCHDMISDEPTAuthor Commented:
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
0
 
LuxanaCommented:
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/
0
 
tomvergoteCommented:
just move to the folder on the cdrom and type
 #rpm -ivh package.rpm
0
 
ScrubbieCommented:
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

0
 
ScrubbieCommented:
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
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 6
  • 6
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now