2008 Oct 29 - Wed
Choosing a GCC Version
Debian Lenny has a very recent GCC Compiler for those who wish to build things with the
latest and greatest, which is v4.3 something or other. On the other hand, the kernel is
built with GCC 4.1. Kernel modules, as a result need to be built with GCC 4.1. The VMWare
tools are one example of this requirement.
I've finally figured out what the CC environment variable can be used for. By keeping
gcc-4.3 as a standard default, one can use 'export CC=gcc-4.1' to make use of the older GCC
v4.1 compiler for compiling kernel modules.
[/OpenSource/Debian]
permanent link
Root Login Through KDE
It typically isn't a good idea to login into a server as root. A basic Debian install,
in non-expert mode, requires an alternate user name to be set up. Only in an expert mode
install can one skip that step. If one installs in expert mode, and skips the step of
installing a regular user, then trying to log in to KDE after an 'apt-get install kde' is
impossible. Well, almost impossible.
An adjustment needs to be made to a file called kdmrc, which can be found in
/etc/kde3/kdm. The next version of KDE will probably change the directory in which it is
located, so use 'locate kdmrc' to figure out the location if not found where it is expected.
Setting AllowRootLogin to true will allow a root login after a reboot. As I find I do
more root stuff than not, this is a nice little trick.
[/OpenSource/Debian]
permanent link
|