Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 30

Thread: HOWTO: Automatically login to XFCE without a login manager

  1. #11
    Join Date
    May 2006
    Beans
    63
    Distro
    Dapper Drake Testing/

    Re: HOWTO: Automatically login to XFCE without a boot loader

    It doesn't appear to be working on Dapper, at least for me. Here's what I get:

    mike@Home:~$ sudo gcc-3.4 -o autologin autologin.c
    /usr/bin/ld: crt1.o: No such file: No such file or directory
    collect2: ld returned 1 exit status

    And I also tried this:

    mike@Home:~$ sudo gcc-4.0 -o autologin autologin.c
    autologin.c: In function ‘main’:
    autologin.c:2: warning: incompatible implicit declaration of built-in function ‘execlp’
    /usr/bin/ld: crt1.o: No such file: No such file or directory
    collect2: ld returned 1 exit status

    Any ideas??
    All day I suffer within the depths of M$ hell. Errors here, spyware there. It's nice to come home to a warm cup of Ubuntu, and a cold beer.

  2. #12
    Join Date
    Jan 2006
    Location
    Philadelphia
    Beans
    4,066
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: HOWTO: Automatically login to XFCE without a boot loader

    hmm, that's the last thing i would have expected to fail. the autoconf.c is a very simple c file...
    have you tried compiling any other c programs to see if that works? maybe you are missing some packages...?

  3. #13
    Join Date
    May 2005
    Location
    Marlborough, UK
    Beans
    469
    Distro
    Ubuntu Karmic Koala (testing)

    Re: HOWTO: Automatically login to XFCE without a boot loader

    Quote Originally Posted by brady618
    It doesn't appear to be working on Dapper, at least for me. Here's what I get:

    mike@Home:~$ sudo gcc-3.4 -o autologin autologin.c
    /usr/bin/ld: crt1.o: No such file: No such file or directory
    collect2: ld returned 1 exit status

    And I also tried this:

    mike@Home:~$ sudo gcc-4.0 -o autologin autologin.c
    autologin.c: In function ‘main’:
    autologin.c:2: warning: incompatible implicit declaration of built-in function ‘execlp’
    /usr/bin/ld: crt1.o: No such file: No such file or directory
    collect2: ld returned 1 exit status

    Any ideas??
    Ok, you need to use gcc-3.4 (not gcc-4.0) so first run:
    Code:
    sudo apt-get install gcc-3.4
    then recompile it using:
    Code:
    sudo gcc-3.4 -o autologin autologin.c
    That should work fine - if not come back for more help.
    I have successfully compiled it on dapper so I know its possible.
    Regards,
    Haegin
    If all else fails curl up in bed with a good book.
    "<mc44> rob: every time you don’t read the topic, god kills a lolcat"

  4. #14
    Join Date
    Feb 2005
    Beans
    6

    Re: HOWTO: Automatically login to XFCE without a boot loader

    You need to

    sudo apt-get install build-essential
    to get the program to compile rather than just installing gcc-3.4 as this also includes the required development libraries.

    At least the program it managed to compile for me after I did this. It does install a few other things not strictly necessary for this but which will come in handy eventually (e.g. kernel headers, g++).

    EDIT: but you still need gcc-3.4
    Last edited by skimitar; May 27th, 2006 at 01:46 PM.

  5. #15
    Join Date
    Jan 2006
    Location
    Philadelphia
    Beans
    4,066
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: HOWTO: Automatically login to XFCE without a boot loader

    ehrm, actually, you dont need gcc3.4, it compiles just fine with gcc4.0 as well. only difference is that it throws out a [harmless] warning when you compile with 4.0, but it compiles just the same.

  6. #16
    Join Date
    Apr 2005
    Location
    germany
    Beans
    166

    Re: HOWTO: Automatically login to XFCE without a boot loader

    When I do apt-get remove gdm, it wants to remove xubuntu-desktop, too... so I guess I better don't do this. Anyways nice How-To!

  7. #17
    Join Date
    May 2005
    Location
    Marlborough, UK
    Beans
    469
    Distro
    Ubuntu Karmic Koala (testing)

    Re: HOWTO: Automatically login to XFCE without a boot loader

    You don't need the xubuntu-desktop package - it's just used to easily install everything required for xubuntu and once everything is installed can safely be removed from the system.
    Regards,
    Haegin
    If all else fails curl up in bed with a good book.
    "<mc44> rob: every time you don’t read the topic, god kills a lolcat"

  8. #18
    Join Date
    Apr 2005
    Location
    germany
    Beans
    166

    Re: HOWTO: Automatically login to XFCE without a boot loader

    Ah ok, thanks If I don't remove gdm it will always get started..

  9. #19
    Join Date
    Jan 2006
    Location
    Philadelphia
    Beans
    4,066
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: HOWTO: Automatically login to XFCE without a boot loader

    Quote Originally Posted by nickless View Post
    Ah ok, thanks If I don't remove gdm it will always get started..
    you dont have to uninstall gdm to stop it from starting. just remove it from /etc/rc2.d/
    (or use the handy tool called "sysv-rc-conf" to edit your runlevel config. then you can just simply uncheck gdm from runlevel 2 (which is the default ubuntu runlevel) )

  10. #20
    Join Date
    Jun 2005
    Location
    Athens, Greece
    Beans
    12
    Distro
    Ubuntu 6.06

    Re: HOWTO: Automatically login to XFCE without a boot loader

    How can I get rid off the X11 usual ugly grey background? Gdm used to take care of that by replacing it with a nicer color...

Page 2 of 3 FirstFirst 123 LastLast

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
  •