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 !



Related Links
  • Articles on KDE
  • Also by Santhosh Joseph
  • Contact author

    Lilliput Mini USB Computer Monitor

    If you have ever wanted to learn about Cisco Routers, check out my new book "Cisco Routers for the Small Business" - it's Cisco CLI for the Regular Guy!

  • Sponsors

    The Fine Print: The following comments are owned by whoever posted them.
    ( Add a Reply )

    Re: GUI login with kdm
    by Lance St on Monday July 15, @06:32PM
    I hope this applies to KDE 3 with BSD 4.6. I dont have the usual .xinitrc,xservrrc files.
    [ Add a Reply to this ]
    • Re: GUI login with kdm
      by Lance St on Monday July 15, @07:20PM
      Yea it worked except one problem. When I login to KDE 3 none of my terminals work. When I click the terminal icon they start- then quickly disapear. Also I need to set the bpp to at least 16, I guess thats in XF86 somewhere. Help.
      [ Reply to this ]
      • Re: GUI login with kdm
        by Epu on Monday August 26, @11:05AM
        Having same terminal problems. If I use xwrapper from a user directory and the 'startx' command, X loads ok and terminals work as expected. If I use kdm, Konsoles disappear when launched from the icon. Got them to stick by trying to run Konsole from a right-click menu somewhere.
        [ Reply to this ]

     
    The Fine Print: The following comments are owned by whoever posted them.
    ( Article Reply )

    "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 ]