faq
search
add article
cool-stuff
how-to
main
tips
parent
|
Re: GUI login with kdm
by Santhosh Joseph on Thursday January 24, @09:25AM
|
I heve kde-2.2.2 and I haven't tried this on any other version.
Here's how I did it :
As root edit /etc/ttys and modify the file to look like the
following :
#ttyv0 "/usr/libexec/getty Pc"
cons25 on secure
ttyv0 "/usr/local/bin/kdm -nodaemon"
xterm on secure
# Virtual terminals
ttyv1 "/usr/libexec/getty Pc" cons25 on secure
......................................................................................
ttyv7 "/usr/libexec/getty Pc" cons25 on secure
#ttyv8 "/usr/X11R6/bin/xdm -nodaemon"
xterm off secure
Restart the machine and You should be greeted by the pleasant
KDM Login Screen.
Intially only default,kde,failsafe sessions will be
displayed. You can add other Window Managers like gnome. First of
all make sure gnome has been installed. Then, as root, edit
/usr/local/share/config/kdm/Xsession to look like the following :
.........................................................
case "$sess" in
failsafe)
exec xterm -geometry 80x24-0-0 $*
;;
gnome)
exec
gnome-session
;;
""|default)
exec $HOME/.xsession $*
;;
esac
...........................
Gnome has not been added to the session list yet. For that,
start X as root and from KDE Control Center, Select System
-> Login Manager ->Sessions (tab).
In the new type textbox enter :
gnome
warning : This should be same as the corresponding entry in
/usr/local/share/config/kdm/Xsession
Click Add New to add gnome to the "Available Types"
List.
When you login for the first time, select kde or gnome or any
WM from the list. Next time onwards, KDM will remember the session
used last time and will log into that environment automatically.
That's it !
|
| Add Reply |
Important Stuff:
Note: Fields with bold titles are required.
Please try to keep posts on topic.
Try to reply to other people comments instead of starting new threads,
Read other people's messages before posting your own to
avoid simply duplicating what has already been said.
Use a clear subject that describes what your
message is about.
Please do not post offtopic, inflammatory, inappropriate, illegal,
or offensive comments. Repeat offenders will be sanctioned.
|