Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17
I installed Arch Linux today and tried to install gnome. The first time I installed it, it gave me a bunch of errors. I reinstalled it and then it seemed ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2011
    Posts
    14

    Stuck at SLIM login screen


    I installed Arch Linux today and tried to install gnome. The first time I installed it, it gave me a bunch of errors. I reinstalled it and then it seemed to work. After that I tried to install gdm and get it to run but it wouldn't run and I got an error when I tried to install it so I uninstalled that and installed SLIM and all went well until I tried to reboot after setting it to start at boot. It looks good and gives no errors before but if I try to type in my account user name and password it says "Failed to execute login command" and then flashes at the regular ARCH login: prompt before returning to the SLIM login prompt. I tried to fix it by going in with another live cd to change the file so it doesn't load on boot but it is read only. I would have posted this on the Arch Linux forum but can answer the "Your answer" question because I cannot boot.

  2. #2

  3. #3
    Just Joined! hunter_thom's Avatar
    Join Date
    Apr 2010
    Posts
    89
    By the way. I created a ArchLinux forum account a long time ago but at the time the command resolved to week # of year then Linux. So, "18Linux" was mine, or real similar. Take a look and if it's still a date call then a uname call, it's a good bet that you can supply the week # + "Linux".

  4. #4
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Quote Originally Posted by osiff View Post
    would have posted this on the Arch Linux forum but can answer the "Your answer" question because I cannot boot.
    Hello

    If you should still desire to join the Arch forum, note that you can boot any Linux liveCD and utilize the terminal app found in it to get the "output" needed to answer the Arch Forum registration question.
    oz

  5. #5
    Just Joined!
    Join Date
    Feb 2011
    Posts
    14
    I tried all of those links but none of them worked. It seems that I just need to create a .xinitrc file but I can't make one because I only have read only access with a live cd because it belongs to root.

  6. #6
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,043
    chroot in from the live CD ... that way you can su to your regular user cd and create .xinitrc with correct permissions.

  7. #7
    Just Joined!
    Join Date
    Feb 2011
    Posts
    14
    Sorry for being so naive but how would I go about doing that?

  8. #8
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    From the LiveCD, open a terminal and do the following:

    Code:
    mkdir /mnt/sdax            <replace x with your home partition>
    mount /dev/sdax /mnt/sdax
    chroot /mnt/sdax /bin/bash
    You should then be able to make changes to your .xinitrc.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  9. #9
    Just Joined!
    Join Date
    Feb 2011
    Posts
    14
    And where do I put the .xinitrc file and what do I put in it?

  10. #10
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Put the file in your home directory. And the file can be very simple.
    Code:
    #!/bin/sh
    
    #
    # ~/.xinitrc
    #
    # Executed by startx (run your window manager from here)
    #
    
    exec gnome-session
    Make sure the file is executable:
    Code:
    chmod +x .xinitrc
    That should get you logged into Gnome.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

Page 1 of 2 1 2 LastLast

Posting Permissions

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