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??
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...?
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.
Re: HOWTO: Automatically login to XFCE without a boot loader
You need to
Quote:
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
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. ;)
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!
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.
Re: HOWTO: Automatically login to XFCE without a boot loader
Ah ok, thanks :D If I don't remove gdm it will always get started.. :)
Re: HOWTO: Automatically login to XFCE without a boot loader
Quote:
Originally Posted by
nickless
Ah ok, thanks :D 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) )
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...