Autologin with lighdm and xfce

October 20, 2011

To enable auto-login in lightdm (new Ubuntu 11.10), edit


and add:


You can also log into other session. The list of available sessions can be found in


directory (just remove .desktop extension).

ls /usr/share/xsessions/
gnome-classic.desktop  gnome-classic-guest-restricted.desktop  gnome.desktop  
gnome-fallback.desktop  gnome-shell.desktop  guest-restricted.desktop  
ubuntu-2d.desktop  ubuntu.desktop  xfce.desktop  xsession.desktop  xterm.desktop

Bring back Avidemux in Ubuntu 11.10

October 19, 2011

After upgrade to Ubuntu 11.10., your Avidemux is deleted.

To bring it back, go to following link and download


and install these packages. This will bring Avidemux back.

Note: Make sure you still have libx264-106 package (from 11.04) installed. If you have newly installed Ubuntu 11.10, you have to get all required dependencies (open deb files and see INFO) that you are missing. Upgraded PCs usually have them from 11.04.

Ubuntu 11.10 – OnericOcelot – ubuntu does not start after upgrade, new kernel not installed, lightdm not installed

October 19, 2011

Seems like it is more and more difficult to upgrade Ubuntu (especially if you do not want to use Unity or Gnome Shell).

Last weekend I was to update 4 computers to new Ubuntu 11.10

  • netbook (Asus EeePC 1000H) – no problems
  • HP Laptop – no problem
  • PC – problem with new kernel  (did not install)
  • HTPC – problem with display manager (lightdm did not install, gdm stopped working)

On all computers (except for HTPC) I have switched from Gnome 2 to Xfce  (not to get trapped in Unity or Gnome Shell after upgrade).

Kernel problem (nvidia drivers)

After PC upgrade, I have rebooted and new Ubuntu started. For some reasons it used old kernel 2.6.38 . I do not know why new kernel 3.0.0 was not upgraded and installed. I decided to install new kernel vith synaptic, which went smoothly. After reboot, X-Window did not start (even in recovery session).  Luckily, I was able to get to the command prompt with networking enabled. The fix was to un-install Nvidia driver, install new kernel headers and install Nvidia driver back.

apt-get remove nvidia-current nvidia-settings
apt-get install linux-headers-3.0.0-12-generic
apt-get install nvidia-current nvidia-settings

After that, Ubuntu started OK.

Lightdm problem

After HTPC upgrade, I have rebooted and found  the  X-Window did not start (again!). Luckily, I was able to get into command prompt. Reinstalling Nvidia driver (like in previous case) did not help. After some investigation I was able to start X-Window with startx command. I have installed lightdm, rebooted and everything was OK.

Looking forward to 12.04 :-).

Ubuntu 11.04 Natty (fight for microphone)

April 29, 2011

Ubuntu 11.04 has been released. Since it is still possible to use Ubuntu classic desktop with 11.04 (I’m not sure if I ever get used to using Unity), I have decided to upgrade. Upgrade itself was smooth (as usually). After reboot, everything seemed OK, except for the fact  there was no sound capture on the (rear) Microphone. Sound preferences Input tab did not show any Connector (selector)  to choose input sink.

My audio device: nVidia Corporation MCP72XE/MCP72P/MCP78U/MCP78S High Definition Audio (rev a1)

It took me several hours to find a solution, which was rather easy.

  • install gamix (Graphical sound mixer for ALSA)
  • Change InputSource from Line (which seems to become default capture sink) to RearMic, change InputSource1 from FrontMic to Line (not needed)
  • save ALSA settings with sudo alsactl store
  • update .profile file to load saved ALSA settings with alsactl restore
  • There is still no connector in the Sound preferences, but microphone works

To find this simple solution, I have tried to reinstall ALSA, which resulted in complete removal of sound card hardware setting from the system. It took several hours to find this script, which installed ALSA correctly back.