Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 13th November 2007, 11:31 AM
a8hex Offline
Registered User
 
Join Date: Nov 2007
Posts: 4
wierd problem with prefdm, can't exec from /etc can from /tmp

I've just installed Fedora 8 onto a USB 4GB key. Everything when great, I left it updating last night and then let it reboot this morning. When I did this however X didn't startup. On the console I just get

init: Id "x" respawning too fast: disabled for 5 minutes

So I go and take a look at the inittab file, and it's trying to execute

[root@duck ~]# grep ^x /etc/inittab
x:5:respawn:/etc/X11/prefdm -nodaemon

So I try this from a ssh session, I just get the prompt back.
After checking the file, I see it's a shell script so I try

sh -xv /etc/X11/prefdm -nodaemon

and it starts no problem.
I try adding a

set -xv

into the script to see where it fails ...

# Fallbacks, in order
exec gdm "$@" >/dev/null 2>&1 </dev/null
+ exec gdm -nodaemon

So it's trying to exec gdm.

Before I make any further changes to the script I copy it to /tmp and try things from there. It works no problem.

cp /etc/X11/prefdm /tmp
/tmp/prefdm -nodaemon

works with no problem

/etc/X11/prefdm -nodaemon

the exec fails.


hmmm I'm confused!
Reply With Quote
 

Tags
exec, or etc, or tmp, prefdm, problem, wierd

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wierd log in problem infernosoft Using Fedora 0 2nd September 2009 06:37 PM
Apache/PHP/Perl exec() problem jmaynard Servers & Networking 2 25th February 2008 03:36 AM
problem with the prefdm process unky Using Fedora 2 15th September 2006 08:16 AM
Plz help wierd cvs problem ShadeAtNight Servers & Networking 5 13th March 2005 03:16 AM


Current GMT-time: 04:39 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat