LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-15-2006, 04:35 AM   #1
unky
LQ Newbie
 
Registered: Sep 2006
Posts: 1

Rep: Reputation: 0
problem with prefdm


hi everyone!

i have installed fedora core 5 a few weeks ago and so far everything was working ok.
at last i tried to install a mail program called postfix. now i have problems with booting (vnc viewer crashed!):

like the following:
when i boot up the system i dont see the login screen. i just see a black screen and the harddrive is working really heavy. when i press ALT-CTRL-F1 i can see the login screen. then i login and look at the system control tool which tells me that 80% of the CPU is being used by PREFDM. also the harddrive is working heavy. when i stop the process PREFDM everything seems to be normal. i am just not able to have access to the command line full screen.

anyone knows about this problem?
i will post the content of my /etc/X11/prefdm here:
#########################################
#!/bin/sh

PATH=/sbin:/usr/sbin:/bin:/usr/bin

# shut down any graphical boot that might exist
if [ -x /usr/bin/rhgb-client ]; then
/usr/bin/rhgb-client -quit
fi

# We need to source this so that the login screens get translated
[ -f /etc/profile.d/lang.sh ] && . /etc/profile.d/lang.sh

# Run preferred X display manager
preferred=
if [ -f /etc/sysconfig/desktop ]; then
. /etc/sysconfig/desktop
if [ "$DISPLAYMANAGER" = GNOME ]; then
preferred=/usr/sbin/gdm
elif [ "$DISPLAYMANAGER" = KDE ]; then
preferred=/usr/bin/kdm
elif [ "$DISPLAYMANAGER" = XDM ]; then
preferred=/usr/bin/xdm
elif [ -n "$DISPLAYMANAGER" ]; then
preferred=$DISPLAYMANAGER
fi
fi

shopt -s execfail

# If we're in early-login mode and something is running, bail out
if grep -q early-login /proc/cmdline 2> /dev/null ; then
if [ -n "$preferred" ]; then
pidof $preferred >/dev/null 2>&1 && exit 0
fi
pidof gdm-binary >/dev/null 2>&1 && exit 0
pidof kdm >/dev/null 2>&1 && exit 0
pidof xdm >/dev/null 2>&1 && exit 0
fi

if [ -n "$preferred" ]; then
$preferred "$@" >/dev/null 2>&1
if [ $? -ne 127 ]; then
exec $0 "$@"
exit $?
fi
fi

# Fallbacks, in order
gdm "$@" >/dev/null 2>&1
if [ $? -ne 127 ]; then
exec $0 "$@"
exit $?
fi
kdm "$@" >/dev/null 2>&1
if [ $? -ne 127 ]; then
exec $0 "$@"
exit $?
fi
xdm "$@" >/dev/null 2>&1
if [ $? -ne 127 ]; then
exec $0 "$@"
exit $?
fi

# catch all exit error
exit 1


--------
ok now when i look in the file /var/log/messages it says:

Sep 13 14:22:42 localhost gdm[3736]: GDM is already running. Aborting!
Sep 13 14:22:42 localhost gdm[3765]: GDM is already running. Aborting!

and so on. the log file is 26.8 MB !!!!
 
  


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
Proper configuration of the /etc/X11/prefdm* files and or links? flgal3 Linux - Distributions 1 06-14-2017 08:11 AM
Mandrake 10, xorg, and prefdm *sigh* jiml8 Linux - Software 4 02-28-2005 08:36 AM
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 07:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 10:55 AM.

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
Open Source Consulting | Domain Registration