geekvenue.net

Welcome to Chucktips Hardware HELP WITH DEAD OS Installing FreeBSD Miscellaneous
 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 :

  1. 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



  1. Restart the machine and You should be greeted by the pleasant KDM Login Screen.

  2. 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

    ...........................

  3. 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.



  1. 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

If this is a genuine post please ignore this field:

Name
Email
Notify Notify me via email of responses to this message
Title
Comment
(Check those URLs! Don't forget the http://!)
Encoding
If none of the above mean anything to you, select 'Plain'!
Attachment
(You can attach a file to your reply which can then be retrieved by other readers.
Try to keep the file sizes below 500Kb in order to conserve network and server resources.)
Allowed HTML <B> <I> <P> <A> <LI> <OL> <UL> <EM> <BR> <TT> <HR> <STRONG> <BLOCKQUOTE> <DIV .*> <DIV> <P .*>
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.
  • "You never know how many friends you have until you own a Condo on the beach." -- Jason's Postulate

    Powered by Zope  Powered by Apache  Squishdot Powered
    All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest ©2001 Jason Neumann.
    [ main | post article | search ]