Find the answer to your Linux question:
Results 1 to 9 of 9
I keep getting lost on this one,I done- rc-update add xdm default then,nano /etc/rc.conf to gdm. But when i reboot i get a login screen but it wont log me ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User mactabilis's Avatar
    Join Date
    Apr 2005
    Location
    moon
    Posts
    379

    gdm


    I keep getting lost on this one,I done-

    rc-update add xdm default

    then,nano /etc/rc.conf to gdm.

    But when i reboot i get a login screen but it wont log me or it just crashes or does nothing but go to the failsafe/default option , so i have to do ctrl+alt+f1 to get out and then reverse changes rc-update del xdm default ,

    then,nano /etc/rc.conf back to xdm

    i have ,emerged gdm.

  2. #2
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    Mactabilis. this is my rc.conf file. I have no probleems starting Gnome.

    UNICODE="no"

    # Set EDITOR to your preferred editor.
    # You may use something other than what is listed here.

    EDITOR="/bin/nano"
    #EDITOR="/usr/bin/vim"
    #EDITOR="/usr/bin/emacs"

    # What display manager do you use ? [ xdm | gdm | kdm | entrance ]
    DISPLAYMANAGER="kdm"

    # XSESSION is a new variable to control what window manager to start
    # default with X if run with xdm, startx or xinit. The default behavior
    # is to look in /etc/X11/Sessions/ and run the script in matching the
    # value that XSESSION is set to. The support scripts are smart enough to
    # look in all bin directories if it cant find a match in /etc/X11/Sessions/,
    # so setting it to "enlightenment" can also work. This is basically used
    # as a way for the system admin to configure a default system wide WM,
    # allthough it will work if the user export XSESSION in his .bash_profile, etc.
    #
    # NOTE: 1) this behaviour is overridden when a ~/.xinitrc exists, and startx
    # is called.
    # 2) even if ~/.xsession exists, if XSESSION can be resolved, it will
    # be executed rather than ~/.xsession, else KDM breaks .
    # Gnome - will start gnome-session
    # kde-<version> - will start startkde (ex: kde-3.0.2)
    # Xsession - will start a terminal and a few other nice apps

    XSESSION="kde-3.5"


    I start kde by default, but I can start Gnome by default if I wish.
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  3. #3
    Linux User mactabilis's Avatar
    Join Date
    Apr 2005
    Location
    moon
    Posts
    379

    gdm

    so i have made the error in this line useing xdm "rc-update add xdm default"
    I need to change it to gdm?

  4. #4
    Linux User St. Joe's Avatar
    Join Date
    Jun 2005
    Location
    USA
    Posts
    271
    Quote Originally Posted by mactabilis
    so i have made the error in this line useing xdm "rc-update add xdm default"
    I need to change it to gdm?
    No, that's correct. If you issue that command and change the 'DISPLAYMANAGER="gdm"' line in your rc.conf you should get the gnome login screen to appear on reboot. If you can not, then it is not your procedure which is incorrect but most likely some other issue.
    It may be that your sole purpose in life is simply to serve as a warning to others.

  5. #5
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    In the displaymanager line you can have kdm or gdm, just not xdm.

    The command "rc-update add xdm default" is the correct command.
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  6. #6
    Linux User mactabilis's Avatar
    Join Date
    Apr 2005
    Location
    moon
    Posts
    379
    It is then another issue.

  7. #7
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    Try this, as root

    rc-update del xdm default
    nano /home/username/.xinitrc
    Add this line
    exec startkde
    Then, as your regular user do "startx" and report any errors.
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  8. #8
    Linux User mactabilis's Avatar
    Join Date
    Apr 2005
    Location
    moon
    Posts
    379
    Ok i'm there i have got a login screen lol,

    but i'm pulling up these errors when i change it,

    #gdmsetup,

    (gdmsetup:7072): GnomeUI-WARNING **: While connecting to session manager:
    Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.


    #glxgears,

    Xlib: extension "GLX" missing on display ":0.0".
    glxgears: Error: couldn't get an RGB, Double-buffered visual.

  9. #9
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    As root do
    rc-update del gdm default
    nano /home/wizard1/.xinitrc
    Put a # infront of the startkde line.
    Add this line
    exec gnome-session

    Then do "startx" as your normal user, report any errors
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •