LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 05-20-2004, 11:40 AM   #1
badgolfer73
LQ Newbie
 
Registered: May 2004
Location: outside boston
Distribution: Slackware 9.1
Posts: 14

Rep: Reputation: 0
xwindos not starting


hello all,
Having a problem that is probably an easy fix, xcept for this noob- running slackware 9.1 and just finished installing. Install went great. Logged in fine, but Xwindows will not start- ran xf86config and "dumbed it down" a little, and got it set so that my HW shouldn't be a problem( ran RH on this box a while back w/o issue). It quits when it tries to run the last line of xinitrc which is exec gnome-session. I had chosen Gnome during setup, and startx looks to be executing fine until that point. Looked in xfree86.0.log, and nothing looks out of the ordinary- that is to say, no glaring "ERROR"s were found.

Any thoughts?
 
Old 05-20-2004, 11:51 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
so xfree86.0.log doesn't include any lines that start with (WW) or (EE) ?

hm..you could try to see if this helps: first, as root, do

updatedb

to make sure your search database is up-to-date. after it's finished (may take a while), run

locate gnome-session | more

and when you get something, scroll down if needed, and see where the executable is (something like /usr/bin/gnome-session or where ever it's installed). when you get the path, edit the .xinitrc file and replace the line

exec gnome-session

with

exec /path/to/your/gnome-session

this handles the problem that might occur if gnome-session isn't in your PATH; that is, your system can't automatically find it simply by it's name. now save .xinitrc and retry startx...
 
Old 05-20-2004, 12:29 PM   #3
badgolfer73
LQ Newbie
 
Registered: May 2004
Location: outside boston
Distribution: Slackware 9.1
Posts: 14

Original Poster
Rep: Reputation: 0
There are two(2) WW error messages,actually.

One initially, that reads (WW) Open APM Failed(/dev/apm_bios) (no such device)

and another that is just saying that it is ignoring extraneous synch rates

I am running the updatedb, and will try your path suggestions when it is complete
 
Old 05-20-2004, 01:02 PM   #4
badgolfer73
LQ Newbie
 
Registered: May 2004
Location: outside boston
Distribution: Slackware 9.1
Posts: 14

Original Poster
Rep: Reputation: 0
Well,

The good news is that this is the best way to learn. The bad news is that the updatedb with subsequent LOCATE did not turn up a gnome-session file. I ran pkgtool and re-selected GNOME as the preferred desktop; I also tried selecting KDE to see what happened. That failed too. I think that I either I am missing something obvious, or there might be a hardware issue.
 
Old 05-20-2004, 02:56 PM   #5
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
no, if you have installed Gnome desktop, you really should have the gnome-session file...perhaps you should try to reinstall Gnome (if it's possible)?

try to locate the other gnome files too, and see what you have:

locate gnome | less

you should get a lot of output..but scroll down and look. if you see /something/bin/ -directory that has gnome's files, go there and see what you got. gnome-session should reside in the same place than gnome-panel, gnome-about, gnome-help and some other gnome-something binaries..
 
Old 05-20-2004, 03:25 PM   #6
badgolfer73
LQ Newbie
 
Registered: May 2004
Location: outside boston
Distribution: Slackware 9.1
Posts: 14

Original Poster
Rep: Reputation: 0
The only gnome-sessions that I have are in /etc/gconf.xml.defaults/apps and etc/gconf.xml.defaults/schemas/apps. Earlier, I tried changing the path to the 1st one above, and got a File/Directory Not Found Error. I will try it again, though, as I might have screwed something up. Seems like an odd place for it to end up, though..
 
Old 05-20-2004, 03:35 PM   #7
badgolfer73
LQ Newbie
 
Registered: May 2004
Location: outside boston
Distribution: Slackware 9.1
Posts: 14

Original Poster
Rep: Reputation: 0
No good on either of those, though I did find out that I was editing the wrong xinitrc file. Found the one that xf86config was calling, and changed that. No luck. I did notice, however, that when I change the path, I get a File/Directory not found error, whereas when it is left as gnome-session, I just get 'not found'.....though I don't think that that is really anything but a different message depending on whether you specify an explicit path versus an iplicit path....
 
Old 05-20-2004, 11:15 PM   #8
badgolfer73
LQ Newbie
 
Registered: May 2004
Location: outside boston
Distribution: Slackware 9.1
Posts: 14

Original Poster
Rep: Reputation: 0
all set now, thx b0uncer- turned out to be a corrupted build. How, I am not sure. Noticed other issues, and rebuilt. Installed with individual package acknowledgement, and it went fine. Posting this reply on it now.


thx
 
Old 05-20-2004, 11:36 PM   #9
joshin
LQ Newbie
 
Registered: May 2004
Location: Delhi
Posts: 2

Rep: Reputation: 0
hi,

Please try the following command and then run X windows
TERM=xterm
 
  


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
starting xprogram without starting X server. bruse Linux - Newbie 9 04-26-2005 08:05 PM
Terminal cmd for starting Matlab M-file editor without starting matlab fubzot Linux - Software 2 02-15-2005 07:49 AM
Won't Boot - Starting Printer Service - Starting CUPS jeansond Linux - Newbie 0 10-11-2004 07:39 PM
Starting apps after starting xfce?? gtgoku Slackware 2 08-21-2004 02:49 PM
starting kpppd w/ ximian or starting ximian w/ kde ergo_sum Linux - Newbie 8 12-02-2003 06:35 AM


All times are GMT -5. The time now is 09:26 PM.

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