blob: ce944d285d2b5c39373553b481dc753c4cc938b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
|
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 xorg-dev
$ git clone http://git.plugable.com/webdav/xf86-video-fbdev
$ cd xf-video-fbdev
$ ./configure
$ 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
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
|