LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Where is Fedora login screen (https://www.linuxquestions.org/questions/fedora-35/where-is-fedora-login-screen-316261/)

satimis 04-22-2005 11:21 PM

Where is Fedora login screen
 
Hi folks,

Fedore Core 3

Immediate after installation, a clean installation, the Fedora login screen was there with
"Language", "Session" etc. awailable on screen bottom. After running update with "yumex" (Yum Extender) the Fedora Login Screen disappeared, starting with a login screen similar to RH without "Language", "Session" etc. on the screen bottom. No "Language" selection was available.

Please advise how to get it back. TIA

B.R.
satimis

masand 04-23-2005 03:56 PM

i think now u are not using gdm ,instead u are using kdm

see if u have a /etc/X11/prefdm script??
or lookout for entries in /etc/inittab

regards

satimis 04-23-2005 07:33 PM

Hi masand,

Tks for your advice.

Quote:

see if u have a /etc/X11/prefdm script??
or lookout for entries in /etc/inittab

$ cat /etc/X11/prefdm script
Code:

#!/bin/sh

PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/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=gdm
        elif [ "$DISPLAYMANAGER" = KDE ]; then
                preferred=kdm
        elif [ "$DISPLAYMANAGER" = XDM ]; then
                preferred=xdm
        fi
fi

shopt -s execfail

[ -n "$preferred" ] && exec $preferred $* >/dev/null 2>&1

# Fallbacks, in order
exec gdm $* >/dev/null 2>&1
exec kdm $* >/dev/null 2>&1
exec xdm $* >/dev/null 2>&1

# catch all exit error
exit 1
[satimis@localhost ~]$ cat /etc/X11/prefdm
#!/bin/sh

PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/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=gdm
        elif [ "$DISPLAYMANAGER" = KDE ]; then
                preferred=kdm
        elif [ "$DISPLAYMANAGER" = XDM ]; then
                preferred=xdm
        fi
fi

shopt -s execfail

[ -n "$preferred" ] && exec $preferred $* >/dev/null 2>&1

# Fallbacks, in order
exec gdm $* >/dev/null 2>&1
exec kdm $* >/dev/null 2>&1
exec xdm $* >/dev/null 2>&1

# catch all exit error
exit 1

$ cat /etc/inittab
Code:

#
# inittab      This file describes how the INIT process should set up
#              the system in a certain run-level.
#
# Author:      Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
#              Modified for RHS Linux by Marc Ewing and Donnie Barnes
#

# Default runlevel. The runlevels used by RHS are:
#  0 - halt (Do NOT set initdefault to this)
#  1 - Single user mode
#  2 - Multiuser, without NFS (The same as 3, if you do not have networking)
#  3 - Full multiuser mode
#  4 - unused
#  5 - X11
#  6 - reboot (Do NOT set initdefault to this)
#
id:5:initdefault:

# System initialization.
si::sysinit:/etc/rc.d/rc.sysinit

l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6

# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -r now

# When our UPS tells us power has failed, assume we have a few minutes
# of power left.  Schedule a shutdown for 2 minutes from now.
# This does, of course, assume you have powerd installed and your
# UPS connected and working correctly.
pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"

# If power was restored before the shutdown kicked in, cancel it.
pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"

# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6

# Run xdm in runlevel 5
x:5:respawn:/etc/X11/prefdm -nodaemon

B.R.
satimis

masand 04-23-2005 10:09 PM

so it is pretty much clear that u have prefdm script which starts the DM
now if u have gdm nstalled that will start thr gdm first and if u do not have it won't start gdm but kdm

so do u have gdm and gnome installed

regards

satimis 04-24-2005 03:48 AM

Hi masand,

Quote:

so it is pretty much clear that u have prefdm script which starts the DM.....
I fixed my problem as follow;

Editted following file as root
/etc/sysconfig/desktop

changed "DISPLAYMANAGER=KDM" to "DISPLAYMANAGER=GDM"

Rebooted the PC. Then I was on my way.

I did not run
# rpm -Uvh gdm-*
as I'm happy with the "circle" theme

Anyway tks for your advice.

B.R.
satimis

masand 04-24-2005 03:58 AM

oh my mistake, i forgot about looking for this file also

/etc/sysconfig/desktop


regards


All times are GMT -5. The time now is 06:31 PM.