Category Archives: Ubuntu

Ubuntu related stuff

Disable Guest Session in Ubuntu 15.10

Ubuntu 15.10 is using lightdm desktop manager. man lightdm says that it is using /etc/lightdm/lightdm.conf for configuration. Ubuntu 15.10 does not include such a file. To disable the guest session create the file (/etc/lightdm/lightdm.conf) with following content:

[SeatDefaults]
allow-guest=false

 

Install Docker in Ubuntu 12.04 Precise

First make sure you have the latest version and an actual kernel running. Execute theses commands as root:

apt-get update
apt-get dist-upgrade
reboot

Then install docker with the following lines as root:

#!/bin/bash
apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
echo "deb https://apt.dockerproject.org/repo ubuntu-precise main" > /etc/apt/sources.list.d/docker.list
apt-get update
apt-get purge lxc-docker*
apt-cache policy docker-engine
apt-get install docker-engine

After this docker should be up and running. Rry using “docker ps” as root or with sudo.

Install KVM on Ubuntu 14.04

First install needed packages:

sudo apt-get install qemu-kvm libvirt-bin bridge-utils

And configure a network bridge in /etc/network/interfaces. Here is my complete file:

auto lo
iface lo inet loopback

allow-hotplug eth0
auto eth0
iface eth0 inet manual

auto br0
iface br0 inet dhcp
        bridge_ports eth0
        bridge_stp on
        bridge_maxwait 0
        bridge_fd 0

Ubuntu Realtek ALC1150

I got a new mainboard with Realtek ALC1150 onboard sound. First I was thinking it doesn’t work, but it only was very silent. Here is how to fix this:

sudo apt-add-repository ppa:ubuntu-audio-dev/alsa-daily
sudo apt-get update
sudo apt-get install oem-audio-hda-daily-dkms
sudo reboot

 

KDE – the better desktop

After every installation of Ubuntu I try to get the GNOME 2 behavior back. This is very annoying and costs lot of time and research. Last months I tried xubuntu and xfce4. Both are very annoying and no real solutions for a productive desktop solution.

I haven’t used KDE for years because I always preferred GNOME. But yesterday I gave it a try and installed it by using the command:

sudo apt-get install kubuntu-desktop kdm

As you see I also replaced the broken lightdm desktop manager which really looked ugly in my multiscreen setup. After a reboot kdm started like a charm. I chose KDE Plasma session and logged in. After a few minutes of configuration everything looked really usable and worked out of the box. At least I can work with a default setup without hours of customizing. KDE you got a new fan!

Here my command to remove the old xfce and xubuntu stuff:

sudo apt-get autoremove --purge xfce* xubuntu* lightdm

Of course I’m NOT responsible if you break your installation by using the commands I posted here. I can only say “worked for me” 😉