<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Digital Base - Blog &#187; Jan De Coster</title>
	<atom:link href="http://www.digitalbase.be/blog/author/jdecoste/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.digitalbase.be/blog</link>
	<description>een blog over webdesign, ontwikkeling, symfony, php, opensource, evoluties&#38;trends op het net</description>
	<lastBuildDate>Wed, 27 Jan 2010 18:44:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Multiseat in Ubuntu</title>
		<link>http://www.digitalbase.be/blog/multiseat-in-ubuntu/</link>
		<comments>http://www.digitalbase.be/blog/multiseat-in-ubuntu/#comments</comments>
		<pubDate>Sat, 05 Jan 2008 11:00:00 +0000</pubDate>
		<dc:creator>Jan De Coster</dc:creator>
				<category><![CDATA[Systeem Beheer]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[multiseat]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://nl.dibav3.gnelisse.desktop01/blog/?p=7</guid>
		<description><![CDATA[Met de toenemende prijzen voor afname van elektriciteit werden we genoodzaakt om op zoek te gaan naar alternatieven om hoog stroomverbruik tegen te gaan, hier kwamen we uit op de oplossing 'multiseat']]></description>
			<content:encoded><![CDATA[<p>Met de toenemende prijzen voor afname van elektriciteit werden we genoodzaakt om op zoek te gaan naar alternatieven om hoog stroomverbruik tegen te gaan &#8230;</p>
<p>Na een een beetje google&#8217;n bleek dat je op één pc meerdere seats kon maken &#8230; dat wilt dus betekenen dat de 1 seat (= 1 gebruiker): 1 scherm, 1 muis &amp; 1 toetsenbord bevat &#8230; waardoor er meerdere gebruiker per pc kunnen gestationeerd worden en zo het gebruik van meerdere systemen minimaliseren.</p>
<p>na het verkrijgen van deze opdracht ben ik onmiddelijk gaan zoeken op het internet en merkte op dat er eigenlijk heel weinig documentatie over dit onderdeel beschikbaar is &#8230;</p>
<p>Via google kwam er dan uiteindelijk toch een beetje informatie boven, die ik hieronder zal samenvatten</p>
<p>Eerst werd er ons aangeraden van 2 aparte Xconfig  op te zetten voor een dual multiseat (2 gebruikers / 1 pc) met elk hun eigen muis, toetsenbord en scherm.<br />
de config van seat-0 ziet er ongeveer zo uit:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>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
</pre></td><td class="code"><pre class="ini" style="font-family:monospace;">Section <span style="color: #933;">&quot;Module&quot;</span>
   Load           <span style="color: #933;">&quot;glx&quot;</span>
EndSection
&nbsp;
&nbsp;
####
# Seat <span style="">0</span>
####
&nbsp;
Section <span style="color: #933;">&quot;InputDevice&quot;</span>
   Identifier     <span style="color: #933;">&quot;Keyboard0&quot;</span>
   Driver         <span style="color: #933;">&quot;evdev&quot;</span>
   Option         <span style="color: #933;">&quot;XkbRules&quot;</span> <span style="color: #933;">&quot;xorg&quot;</span>
   Option         <span style="color: #933;">&quot;XkbModel&quot;</span> <span style="color: #933;">&quot;evdev&quot;</span>
   Option         <span style="color: #933;">&quot;XkbLayout&quot;</span> <span style="color: #933;">&quot;be&quot;</span>
   Option         <span style="color: #933;">&quot;Device&quot;</span> <span style="color: #933;">&quot;/dev/input/event1&quot;</span>
#    Option        <span style="color: #933;">&quot;Phys&quot;</span> <span style="color: #933;">&quot;isa0060/serio0/input0&quot;</span>
EndSection
&nbsp;
Section <span style="color: #933;">&quot;InputDevice&quot;</span>
   Identifier     <span style="color: #933;">&quot;Mouse0&quot;</span>
   Driver         <span style="color: #933;">&quot;mouse&quot;</span>
   Option         <span style="color: #933;">&quot;Device&quot;</span> <span style="color: #933;">&quot;/dev/input/mouse1&quot;</span>
#   Option        <span style="color: #933;">&quot;Phys&quot;</span> <span style="color: #933;">&quot;usb-0000:00:02.0-4/input0&quot;</span>
   Option         <span style="color: #933;">&quot;Protocol&quot;</span> <span style="color: #933;">&quot;ImPS/2&quot;</span>
   Option         <span style="color: #933;">&quot;ZAxisMapping&quot;</span> <span style="color: #933;">&quot;4 5&quot;</span>
   Option         <span style="color: #933;">&quot;Emulate3Buttons&quot;</span> <span style="color: #933;">&quot;true&quot;</span>
EndSection
&nbsp;
Section <span style="color: #933;">&quot;Device&quot;</span>
   Identifier     <span style="color: #933;">&quot;Videocard0&quot;</span>
   Driver         <span style="color: #933;">&quot;nvidia&quot;</span>
   VendorName     <span style="color: #933;">&quot;NVIDIA Corporation&quot;</span>
   BoardName      <span style="color: #933;">&quot;GeForce 8600 GT&quot;</span>
   BusID          <span style="color: #933;">&quot;PCI:2:0:0&quot;</span>
   Screen         <span style="">0</span>
EndSection
&nbsp;
Section <span style="color: #933;">&quot;Monitor&quot;</span>
   Identifier     <span style="color: #933;">&quot;Monitor0&quot;</span>
   VendorName     <span style="color: #933;">&quot;Unknown&quot;</span>
   ModelName      <span style="color: #933;">&quot;Samsung SyncMaster&quot;</span>
   HorizSync       <span style="">30.0</span> - <span style="">81.0</span>
   VertRefresh     <span style="">56.0</span> - <span style="">75.0</span>
EndSection
&nbsp;
Section <span style="color: #933;">&quot;Screen&quot;</span>
   Identifier     <span style="color: #933;">&quot;Screen0&quot;</span>
   Device         <span style="color: #933;">&quot;Videocard0&quot;</span>
   Monitor        <span style="color: #933;">&quot;Monitor0&quot;</span>
   DefaultDepth    <span style="">24</span>
   SubSection     <span style="color: #933;">&quot;Display&quot;</span>
       Depth       <span style="">24</span>
       Modes      <span style="color: #933;">&quot;1680x1050&quot;</span> <span style="color: #933;">&quot;1280x1024&quot;</span> <span style="color: #933;">&quot;1024x768&quot;</span> <span style="color: #933;">&quot;800x600&quot;</span> <span style="color: #933;">&quot;640x480&quot;</span>
   EndSubSection
EndSection
&nbsp;
Section <span style="color: #933;">&quot;ServerLayout&quot;</span>
       Identifier      <span style="color: #933;">&quot;seat0&quot;</span>
       Screen          <span style="color: #933;">&quot;Screen0&quot;</span>
       InputDevice     <span style="color: #933;">&quot;Keyboard0&quot;</span> <span style="color: #933;">&quot;CoreKeyboard&quot;</span>
       InputDevice     <span style="color: #933;">&quot;Mouse0&quot;</span> <span style="color: #933;">&quot;CorePointer&quot;</span>
EndSection</pre></td></tr></table></div>

<p>daarna werd ons aangeraden om de Xconfig te testen met het volgende commando:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">X <span style="color: #660033;">-config</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>X11<span style="color: #000000; font-weight: bold;">/</span>xorg-0.conf <span style="color: #660033;">-verbose</span> <span style="color: #660033;">-layout</span> seat0
X <span style="color: #660033;">-config</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>X11<span style="color: #000000; font-weight: bold;">/</span>xorg-1.conf <span style="color: #660033;">-verbose</span> <span style="color: #660033;">-layout</span> seat1</pre></td></tr></table></div>

<p>waarmee je kan zien of de seats al dan niet apart werken.<br />
(dit is ook een goede manier om te testen of de keyboards &amp; muizen apart werken op de juiste seats)</p>
<p>als het voorgaande geslaagd is gaan we /etc/gdm/gdm.conf aanpassen:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="ini" style="font-family:monospace;"><span style="color: #000066; font-weight:bold;"><span style="">&#91;</span>server<span style="">&#93;</span></span>
<span style="color: #000099;">0</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">seat0</span>
<span style="color: #000099;">1</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">seat1</span></pre></td></tr></table></div>

<p>en dan de layouts gedefineerd:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
</pre></td><td class="code"><pre class="ini" style="font-family:monospace;"><span style="color: #000066; font-weight:bold;"><span style="">&#91;</span>server-seat0<span style="">&#93;</span></span>
<span style="color: #000099;">name</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">Standard server</span>
<span style="color: #000099;">command</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">/usr/X11R6/bin/X1 -novtswitch -sharevts -config /etc/X11/xorg-0.conf -layout seat0 -audit -verbose</span>
<span style="color: #000099;">flexible</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">true</span>
&nbsp;
<span style="color: #000066; font-weight:bold;"><span style="">&#91;</span>server-seat1<span style="">&#93;</span></span>
<span style="color: #000099;">name</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">Standard server2</span>
<span style="color: #000099;">command</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">/usr/X11R6/bin/X2 -novtswitch -sharevts -config /etc/X11/xorg-1.conf -layout seat1 -audit -verbose</span>
<span style="color: #000099;">flexible</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">true</span></pre></td></tr></table></div>

<p>achteraf de file saven en het volgende commando uitvoeren:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>gdm restart</pre></td></tr></table></div>

<p>en als alles nu goed is gegaan moet jouw multiseat nu werken</p>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalbase.be/blog/multiseat-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

