LinuxQuestions.org
Register a domain and help support LQ
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-2008, 03:49 AM   #1
sneaky
Member
 
Registered: Aug 2008
Distribution: Fedora 9 Server
Posts: 51

Rep: Reputation: 15
Trying to run Gnome from the command line and getting startx not found


Hi,

I am trying to run run from the command line with startx gnome.

I am getting the msg -bash: startx command not found

Any ideas greatfully received.

Thanks

Chris
 
Old 08-28-2008, 04:45 AM   #2
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 847

Rep: Reputation: Disabled
hi there,

first of all which distro are you using?

try and run the same command as root.

try finding out if gnome is installed - I once had installed a Debian net-inst cd and I was very confused when the gui did not show up. Later realised that there were no gui packages

try using 'X' on the command line - works the same. u may also try 'gdm'. all of these will work the same if you have X installed on the pc
 
Old 08-28-2008, 04:57 AM   #3
sneaky
Member
 
Registered: Aug 2008
Distribution: Fedora 9 Server
Posts: 51

Original Poster
Rep: Reputation: 15
Hi,

I am using Fedora 9.

I am logged in as root.

I have ram yum install gnome and it says all is installed and nothing to do.

gdm comes up with command cannot be found.

I have ran X and all I get is a grey screen with a black cross in the middle and just hangs there. I cannot move the X with the mouse but nothing else appears.

Thanks

Chris
 
Old 08-28-2008, 05:07 AM   #4
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,453

Rep: Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941
The startx command on Fedora 9 is provided by the xorg-x11-xinit package and the startx executable is placed in /usr/bin. See if the package is installed:
Code:
yum list xorg-x11-xinit
 
Old 08-28-2008, 05:29 AM   #5
sneaky
Member
 
Registered: Aug 2008
Distribution: Fedora 9 Server
Posts: 51

Original Poster
Rep: Reputation: 15
I have had a look in /usr/bin and there isnt startx but there is a startxfce which doesn't work.

yum list xorg-x11-xinit - did this and it says available packages xorg-x11-xinit.x86_64

run yum update xorg etc and it says no packages marked for update.

Thanks

Chris
 
Old 08-28-2008, 05:36 AM   #6
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,453

Rep: Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941
On my system I have
Code:
# yum list xorg-x11-xinit
Loaded plugins: refresh-packagekit
fedora                                                                                           | 2.4 kB     00:00     
updates                                                                                          | 2.3 kB     00:00     
primary.sqlite.bz2                                                                               | 2.8 MB     00:00     
Installed Packages
xorg-x11-xinit.x86_64                    1.0.9-1.fc9            installed
If you don't see installed, but only available you have to install it using
Code:
yum install xorg-x11-xinit
since yum update looks for updates of the already installed packages.
 
Old 08-28-2008, 06:15 AM   #7
sneaky
Member
 
Registered: Aug 2008
Distribution: Fedora 9 Server
Posts: 51

Original Poster
Rep: Reputation: 15
Hi,

X is still the same.

xfce works now but is fairly basic for my liking.

Gnome tries to boot but comers up with the following error msg.

xinit: no such file or directory (errno 2): no program named xterm in path

specify a program on the command line or make sure that /usr/bin is in your path

waiting for x server to shut down

and the back to the command line
 
  


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
startx command not found Deelk Debian 3 04-08-2006 05:22 AM
startX 'command not found' ? phil81 Debian 20 01-05-2005 08:59 AM
Startx command is not found. What do I do? Alram Linux - Newbie 11 12-20-2004 10:25 AM
startx command not found brian183 Debian 6 10-07-2004 06:37 PM
startx command not found desluscious Linux - Newbie 6 08-25-2003 06:57 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration