Results 1 to 8 of 8

Thread: Starting gdm

Hybrid View

  1. #1
    Junior Member
    Join Date
    May 2001
    Posts
    92

    Starting gdm

    I want to be able to go straight to the gdm login screen when i boot-up.
    At the moment i boot to the CLI and use startx, when i want to go GUI.
    But, I have forgotten what file to edit to boot straight to GUI (gdm). I had a look at the gdmconfig file, but cannot see where to start it at boot-up.

    I can (as root) do /usr/bin/gdm to get from the CLI.

    Using Libranet with IceWm as default (no kde).
    CHEERS
    LiNuts

  2. #2

    Re: Starting gdm

    Changing the runlevel in /etc/inittab should do it. Use '5' for X11.

    # The runlevels used by COL are:
    # 0 - halt (Do NOT set initdefault to this)
    # 1 - Single user mode (including initialisation of network interfaces,
    # if you do have networking)
    # 2 - Multiuser, (without NFS-Server und some such)
    # (basically the same as 3, if you do not have networking)
    # 3 - Full multiuser mode
    # 4 - unused
    # (should be equal to 3, for now)
    # 5 - X11
    # 6 - reboot (Do NOT set initdefault to this)

    #
    # Default runlevel.
    id:5:initdefault:

  3. #3
    Junior Member
    Join Date
    May 2001
    Posts
    92

    Re: Starting gdm

    Yeah, I tried that, but it still does not boot to gdm, i looked in my sysinit file and gdm is supposed to start on runlevels 2-5.

    What i need is something like a kde login manager, that lets you boot to GUI, but i dont know what the equivalent is in gnome (gdm).

    /me ???
    Cheers
    LiNuts

  4. #4

    Re: Starting gdm

    hello,
    do you have a line in /etc/inittab that looks like this:
    x:5:respawn:/usr/X11/bin/gdm >>/var/log/gdm.log 2>&
    if not try adding it to use runlevel 5, you may need to have /usr/bin/gdm instead.

  5. #5
    Junior Member
    Join Date
    May 2001
    Posts
    92

    Re: Starting gdm


    hello,
    do you have a line in /etc/inittab that looks like this:
    x:5:respawn:/usr/X11/bin/gdm >>/var/log/gdm.log 2>&
    if not try adding it to use runlevel 5, *you may need to have /usr/bin/gdm instead.
    Thanks for the info, I added that to the end of my inittab file and rebooted, got an error message at boot-up saying unexpected operator before &, so i removed the logging part and rebooted again, and booted into gdm .

    I would like to get the logging part of it working though, so i tried it with just the >>/var/log/gdm.log (i had to create a log file called gdm.log) and rebooted o.k. so the problem is with the "2> &" part of it.I also tried it like this 2 > &, but it didn't work.

    I am not quite clear on what the 2> & does though,
    Cheers
    LiNuts

  6. #6

    Re: Starting gdm

    hi LiNuts,
    I am not sure what that is either, I had modified that from a login manager called loginapp which I use.

  7. #7

    Re: Starting gdm

    The "2>" is a type of redirection... it redirects error output into the file named. I'm currently using a version of this to troubleshoot some trouble I'm having with getting E and gdm to work together properly. An example of the syntax would be.... "#startx 2> error.log"

    As I'm making my reply from work I do not have my notes with me on the proper syntax, I hope this helps out.

  8. #8
    Junior Member
    Join Date
    May 2001
    Posts
    73

    Re: Starting gdm

    I didn't read the previous posts, so I'm not sure if this has been answered.
    Based on what you inittab runlevel is, cd into its directory and do a softlink to /etc/init.d/gdm. For example, my runlevel is 2 so I:

    cd /etc/rc2.d
    ln -s ../init.d/gdm S99gdm

Similar Threads

  1. car not starting after running out of gas
    By cajunjoe in forum General Chat
    Replies: 3
    Last Post: 04-17-2011, 08:07 PM
  2. Starting a Business???
    By Rastar in forum General Chat
    Replies: 6
    Last Post: 02-11-2003, 04:45 PM
  3. Starting X in RH7.3
    By mrkeef in forum Redhat / Fedora
    Replies: 5
    Last Post: 05-27-2002, 04:09 PM
  4. Thats it... I am starting over.
    By groundzero in forum Linux - Hardware, Networking & Security
    Replies: 16
    Last Post: 01-31-2002, 11:08 AM
  5. enlightenment starting instead of kde?
    By in forum Linux - Software, Applications & Programming
    Replies: 7
    Last Post: 12-05-2001, 02:11 PM

Bookmarks

Posting Permissions

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