Software Requirements ===================== Before installing, please verity that you have the following programs installed: - Xorg 1.8 http://cgit.freedesktop.org/xorg/xserver/ - ConsoleKit (multi-seat branch) http://cgit.freedesktop.org/ConsoleKit/commit/?h=multi-seat - GDM (display-configuration branch) http://git.gnome.org/browse/gdm/log/?h=display-configuration - git Install using this command at a terminal: sudo apt-get install git-core Ubuntu Instalation ================== For an easier installation upgrade your operating system to Ubuntu 10.10. Now Ubuntu 10.10 is at Alpha 3 edition. This version of Ubuntu is available to download here: http://cdimage.ubuntu.com/releases/maverick/alpha-3/ Ubuntu 10.10 already comes with Xorg 1.8, so is necessary to install gdm and ConsoleKit. For Ubuntu (intel x86) is available .deb packages. So just follow the tutorial below to install those software and the usbseat solution: - Download and Install DisplayLink FrameBuffer Driver: $ git clone http://git.plugable.com/webdav/udlfb/ $ cd udlfb $ make $ sudo make install $ sudo depmod -a Now, when you plug in a DisplayLink device, you should see a “green screen” as the driver successfully loads and sets the graphics mode to match your monitor. - Download and Install fbdev Xserver Driver: $ sudo apt-get install pkg-config autoconf libtool xorg-dev xutils-dev $ git clone http://git.plugable.com/webdav/xf86-video-fbdev $ cd xf-video-fbdev $ ./autogen.sh $ make $ sudo make install - Install usbseat solution and it dependencies: $ git clone git://anongit.freedesktop.org/~lucasferreira/usbseat $ cd usbseat $ dpkg -i dependencies/Ubuntu/*.deb $ ./install.sh Now, to test the usbseats, reboot your machine and connect a docking station to your computer. Then you will get automatically a seat on it. Other Distros (Debian Based) ============================ It can be done compiling those software from git repository. Follow the tutorial below to install them: First of all, become root user: $ sudo su - Install some dependences packages for compile things: Change the repository to download latest packages from Ubuntu Unstable version. Open the file /etc/apt/sources.list and change the lines: deb http://br.archive.ubuntu.com/ubuntu/ lucid main restricted deb-src http://br.archive.ubuntu.com/ubuntu/ lucid main restricted to deb http://br.archive.ubuntu.com/ubuntu/ maverick main restricted deb-src http://br.archive.ubuntu.com/ubuntu/ maverick main restricted # apt-get update # apt-get install git-core build-essential automake autoconf libtool libpthread-stubs0-dev libx11-dev diffstat libexpat1-dev libxdamage-dev libxext-dev libxfixes-dev libxxf86vm-dev quilt x11proto-damage-dev x11proto-fixes-dev x11proto-gl-dev x11proto-xext-dev gettext x11proto-xf86vidmode-dev xutils-dev libxt-dev libxmu-dev libxi-dev libpixman-1-dev libgcrypt11-dev libpciaccess-dev x11proto-dri2-dev libfreetype6-dev gnome-common dpkg-dev autogen fakeroot pkg-config module-assistant libgl1-mesa-dri libgl1-mesa-dev - Compile Xorg 1.8 from git using this tutorial. It will install Xorg at /opt/xorg. - Compile mouse, keyboard and evdev Xserver drivers: # git clone git://anongit.freedesktop.org/driver/xf86-input-mouse # cd xf86-input-mouse # ./autogen --prefix=/opt/xorg # make # make install # git clone git://anongit.freedesktop.org/driver/xf86-input-keyboard # cd xf86-input-keyboard # ./autogen --prefix=/opt/xorg # make # make install # git clone git://anongit.freedesktop.org/driver/xf86-input-evdev # cd xf86-input-evdev # ./autogen --prefix=/opt/xorg # make # make install - Download and Install xkeyboard configuration: # git clone git://anongit.freedesktop.org/xkeyboard-config # cd xkeyboard-config # ./autogen --prefix=/opt/xorg # make # make install - Download and Install DisplayLink FrameBuffer Driver: # module-assistant prepare # git clone http://git.plugable.com/webdav/udlfb/ # cd udlfb # make # make install # depmod -a Now, when you plug in a DisplayLink device, you should see a “green screen” as the driver successfully loads and sets the graphics mode to match your monitor. - Download and Install DisplayLink Xserver Driver: # git clone http://git.plugable.com/webdav/xf-video-udlfb/ # cd xf-video-udlfb # ./configure --prefix=/opt/xorg # make # make install - Make a link in /opt/xorg/bin to xkbcomp # ln -s /usr/bin/xkbcomp /opt/xorg/bin/xkbcomp - Download gdm (display-configuration branch) from git repository and install it: # git clone git://git.gnome.org/gdm -b display-configuration # sudo apt-get build-dep gdm # cd gdm CFLAGS="-g -O2 -g -Wall -O2" CXXFLAGS="-g -O2 -g -Wall -O2" CPPFLAGS="" LDFLAGS="-Wl,-Bsymbolic-functions" ./autogen.sh --build=i486-linux-gnu --prefix=/usr --includedir="\${prefix}/include" --mandir="\${prefix}/share/man" --infodir="\${prefix}/share/info" --sysconfdir=/etc --localstatedir=/var --libexecdir="\${prefix}/lib/gdm" --disable-maintainer-mode --disable-dependency-tracking --disable-silent-rules --srcdir=. --disable-scrollkeeper --with-at-spi-registryd-directory=/usr/lib/at-spi --enable-ipv6=yes --with-incomplete-locales --with-selinux # make # make install - Download and Install ConsoleKit (multi-seat branch) from git repository: # git clone git://anongit.freedesktop.org/ConsoleKit -b multi-seat # cd ConsoleKit # CFLAGS="-g -O2 -g -Wall -O2" CXXFLAGS="-g -O2 -g -Wall -O2" LDFLAGS="-Wl,-Bsymbolic-functions" ./autogen.sh --build=i486-linux-gnu --prefix=/usr --includedir="\${prefix}/include" --mandir="\${prefix}/share/man" --infodir="\${prefix}/share/info" --sysconfdir=/etc --localstatedir=/var --libexecdir="\$(prefix)/lib/ConsoleKit" --disable-maintainer-mode --disable-dependency-tracking --disable-silent-rules --srcdir=. --enable-pam-module --with-pid-file=/var/run/console-kit-daemon.pid # make # make install - Download and Install udev rules to detect the Dock Stations and a script to name the seats in /dev directory. It also install xorg.conf and ConsoleKit files for two seats. # git clone git://anongit.freedesktop.org/~lucasferreira/usbseat # cd usbseat # ./install.sh