Tag Archives: Desktop

GNOME Auto login in Ubuntu 9.10 Karmic Koala Alpha 3

Ubuntu 9.10 alpha 3 comes with the latest GDM (The GNOME Display Manager, which is the default login manager shipped with Ubuntu). Unfortunately the latest version, 2.27.4, is an unstable version that still is heavily under development and still lacks a graphical configuration dialog.

So if you, like me, decided that you actually wanted to login automatically in GNOME instead of the manual login that you choose in the installation process, or vice versa. Well then it’s back to the configuration files. The default configuration values used by GDM is located in the XML file named ‘/etc/gdm/gdm.schema’. The documentation does however state that any changes to the default values should be made to the ‘/ect/gdm/custom.conf’ file, which is in keyfile format.

Configure GDM to auto login a specific user

  1. Open the ‘Run Application’ dialog by pressing:
     Alt+F2
  2. Open/create the custom.conf file with gedit:
    gksu gedit /etc/gdm/custom.conf
  3. Enter the configuration values that you want to override:
    [daemon]
    AutomaticLoginEnable=true
    AutomaticLogin=lani
  4. Reboot your system, and viola – you’re automatically logged in to GNOME! 🙂

Configuration explanation

Note that the [deamon] directive must be included in the file, it tells GDM in what section we want to override the keys. The AutomaticLoginEnable key  can be set to either true or false, to disable or enable the automatic login into GNOME. And finally the AutomaticLogin key should be set to the username of the user that should be loged into GNOME automatically, in the example above my username is lani.

References

GNOME Display Manager Reference Manual

Advertisement

Fix Marvel Yukon sky2 driver in Ubuntu Jaunty

EDIT: THIS DID NOT WORK FOR ME!

I thought that it worked at first, I did several tests, downloading in 100 mbit from the internet using 10 different connections and transfering files from my server in 275 mbit. But today the network connection has dropped twice for me. If this works for you, then I’m happy for you. If you have another solution, please leave a comment. Thank you.

I have an on-board Marvell Yukon 88E8053 PCI-E gigabit ethernet controller (rev 15), which kept dropping the network connection during heavy load using the sky2 driver. I tried to compile the sk98lin driver instead, but I couldn’t get it to compile successfully on my system. That’s when I found out that MSI might not be correctly implemented, fortunately the MSI feature can be easily turned off in the latest sky2 driver using the disable_msi option.

Permanently disable MSI

1. Open the /etc/modules file for editing:

sudo gedit /etc/modules

2. Add the following new line:

sky2 disable_msi=1

3. Restart your computer. And viola, hopefully your NIC will now have stopped dropping your connection all the time.

Temporarily disable MSI

If you would like to test if the diable_msi option works for you before disabling it “permanently”, or to avoid a restart. Then you can unload the sky2 driver manually and load it with the disable_msi=1 option.

sudo rmmod sky2
sudo modprobe sky2 disable_msi=1