<?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>Astuces d&#039;Absolacom &#187; ubuntu</title>
	<atom:link href="http://astuces.absolacom.com/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://astuces.absolacom.com</link>
	<description>La voie est libre mais pleine d&#039;achoppements</description>
	<lastBuildDate>Wed, 01 Feb 2012 17:59:43 +0000</lastBuildDate>
	<language>fr</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ubuntu 11.10 (Oneiric) ne s&#8217;arrête pas</title>
		<link>http://astuces.absolacom.com/ubuntu/ubuntu-11-10-oneiric-ne-sarrete-pas/</link>
		<comments>http://astuces.absolacom.com/ubuntu/ubuntu-11-10-oneiric-ne-sarrete-pas/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 17:59:43 +0000</pubDate>
		<dc:creator>manuberro</dc:creator>
				<category><![CDATA[ça a fonctionné pour moi]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[logiciel]]></category>
		<category><![CDATA[planet-libre]]></category>
		<category><![CDATA[système]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[oneiric]]></category>

		<guid isPermaLink="false">http://astuces.absolacom.com/?p=1278</guid>
		<description><![CDATA[Sur certains ordinateur, avec Oneiric, l&#8217;ordinateur ne s&#8217;arrête pas véritablement. L&#8217;ordinateur reste sous tension, même si le système est coupé. Il est alors nécessaire de faire un réset manuellement, ce qui peut être gênant quand l&#8217;ordinateur n&#8217;est pas accessible. Cela peut se produire autant lors de la demande d&#8217;arrêt que pour celle du redémarrage. Parfois [...]]]></description>
			<content:encoded><![CDATA[<p>Sur certains ordinateur, avec Oneiric, l&#8217;ordinateur ne s&#8217;arrête pas véritablement. L&#8217;ordinateur reste sous tension, même si le système est coupé.<br />
Il est alors nécessaire de faire un réset manuellement, ce qui peut être gênant quand l&#8217;ordinateur n&#8217;est pas accessible.<br />
Cela peut se produire autant lors de la demande d&#8217;arrêt que pour celle du redémarrage. Parfois cela fonctionne depuis le gestionnaire de fenêtre, parfois non. La commande &laquo;&nbsp;halt&nbsp;&raquo; en ligne de commande ne fonctionne pas, elle<sup><a href="http://astuces.absolacom.com/ubuntu/ubuntu-11-10-oneiric-ne-sarrete-pas/#footnote_0_1278" id="identifier_0_1278" class="footnote-link footnote-identifier-link" title="2 machine diff&eacute;rentes, m&ecirc;me OS, comportement diff&eacute;rent. M&ecirc;me avec des syst&egrave;mes diff&eacute;rents (ubuntu/voyager) ">1</a></sup> .<br />
Je n&#8217;ai pas trouvé de solution, et des rapports de bug ont été ouverts, et on en parle sur beaucoup de forums<sup><a href="http://astuces.absolacom.com/ubuntu/ubuntu-11-10-oneiric-ne-sarrete-pas/#footnote_1_1278" id="identifier_1_1278" class="footnote-link footnote-identifier-link" title="par exemple ici ou l&agrave;">2</a></sup>  mais en attendant, il faut bien pouvoir agir.</p>
<p>J&#8217;ai trouvé une solution de contournement qui permet d&#8217;effectuer ce qui est véritablement désiré et qui fonctionne sans problèmes.<br />
Créez un script <em>/usr/bin/force_halt</em> et mettez y ce code dedans:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
dbus-send <span style="color: #660033;">--system</span> <span style="color: #660033;">--print-reply</span> <span style="color: #660033;">--dest</span>=org.freedesktop.ConsoleKit <span style="color: #000000; font-weight: bold;">/</span>org<span style="color: #000000; font-weight: bold;">/</span>freedesktop<span style="color: #000000; font-weight: bold;">/</span>ConsoleKit<span style="color: #000000; font-weight: bold;">/</span>Manager org.freedesktop.ConsoleKit.Manager.Stop</pre></div></div>

<p>Rendez le exécutable et remplacez vos appels à &laquo;&nbsp;<em>halt</em>&nbsp;&raquo; par &laquo;&nbsp;<em>force_halt</em>&laquo;&nbsp;. Vous pouvez aussi remplacer <em>/sbin/halt</em> par un lien vers <em>force_halt</em></p>
<p>Concernant le reboot, il faut répéter les mêmes opérations mais remplacer le <strong>Stop</strong> de la fin de la ligne de commande par <strong>Restart</strong></p>
Notes:<ol class="footnotes"><li id="footnote_0_1278" class="footnote">2 machine différentes, même OS, comportement différent. Même avec des systèmes différents (ubuntu/voyager) </li><li id="footnote_1_1278" class="footnote">par exemple <a href="http://ubuntuforums.org/showthread.php?t=1865725">ici</a> ou <a href="http://ubuntuforums.org/showthread.php?t=1863456">là</a></li></ol>]]></content:encoded>
			<wfw:commentRss>http://astuces.absolacom.com/ubuntu/ubuntu-11-10-oneiric-ne-sarrete-pas/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[Solution] ushare bind: Adresse déjà utilisée</title>
		<link>http://astuces.absolacom.com/ubuntu/solution-ushare-bind-adresse-deja-utilisee/</link>
		<comments>http://astuces.absolacom.com/ubuntu/solution-ushare-bind-adresse-deja-utilisee/#comments</comments>
		<pubDate>Sun, 01 Jan 2012 16:58:54 +0000</pubDate>
		<dc:creator>manuberro</dc:creator>
				<category><![CDATA[borne]]></category>
		<category><![CDATA[ça a fonctionné pour moi]]></category>
		<category><![CDATA[logiciel]]></category>
		<category><![CDATA[média]]></category>
		<category><![CDATA[serveur]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://astuces.absolacom.com/?p=1273</guid>
		<description><![CDATA[Si vous avez le message d&#8217;erreur bind: Adresse déjà utilisée lorsque vous lancez ushare, vérifiez que celui ci n&#8217;est pas déjà lancé. Dans tous les cas, vous pouvez lancez la commande suivante avant de relancer ushare: sudo killall ushare &#160;]]></description>
			<content:encoded><![CDATA[<p>Si vous avez le message d&#8217;erreur <em><strong>bind: Adresse déjà utilisée</strong></em> lorsque vous lancez ushare, vérifiez que celui ci n&#8217;est pas déjà lancé.</p>
<p>Dans tous les cas, vous pouvez lancez la commande suivante avant de relancer ushare:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">killall</span> ushare</pre></div></div>

<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://astuces.absolacom.com/ubuntu/solution-ushare-bind-adresse-deja-utilisee/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu: faire fonctionner la carte Ethernet Atheros AR8151</title>
		<link>http://astuces.absolacom.com/ubuntu/ubuntu-faire-fonctionner-la-carte-ethernet-atheros-ar8151/</link>
		<comments>http://astuces.absolacom.com/ubuntu/ubuntu-faire-fonctionner-la-carte-ethernet-atheros-ar8151/#comments</comments>
		<pubDate>Fri, 16 Dec 2011 17:01:27 +0000</pubDate>
		<dc:creator>manuberro</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[planet-libre]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ar8151]]></category>
		<category><![CDATA[atheros]]></category>
		<category><![CDATA[driver]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[logiciel]]></category>
		<category><![CDATA[lucid]]></category>
		<category><![CDATA[reseau]]></category>
		<category><![CDATA[serveur]]></category>
		<category><![CDATA[système]]></category>

		<guid isPermaLink="false">http://astuces.absolacom.com/?p=1266</guid>
		<description><![CDATA[Ethernet controller [0200]: Atheros Communications AR8152 v2.0 Fast Ethernet [1969:2062] (rev c1) Les derniers pilotes Athéros ne sont pas disponibles. Le serveur semble down ou cassé, mais il est possible d&#8217;installer les drivers pour faire fonctionner cette carte réseau grâce à un forum allemand. Installons d&#8217;abord les éléments nécessaires sudo apt-get install --reinstall linux-headers-$&#40;uname -r&#41; [...]]]></description>
			<content:encoded><![CDATA[<h2>Ethernet controller [0200]: Atheros Communications AR8152 v2.0 Fast Ethernet [1969:2062] (rev c1)</h2>
<p>Les derniers pilotes <a href="http://partner.atheros.com/Drivers.aspx" target="_blank">Athéros</a> ne sont pas disponibles. Le serveur semble down ou cassé, mais il est possible d&#8217;installer les drivers pour faire fonctionner cette carte réseau grâce à un forum allemand.</p>
<p><strong>Installons d&#8217;abord les éléments nécessaires</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #660033;">--reinstall</span> linux-headers-$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">uname</span> -r<span style="color: #7a0874; font-weight: bold;">&#41;</span> build-essential</pre></div></div>

<p>Nous allons ensuite installer DKMS pour installer le module</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #660033;">--reinstall</span> linux-headers-$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">uname</span> -r<span style="color: #7a0874; font-weight: bold;">&#41;</span> build-essential dkms        <span style="color: #666666; font-style: italic;"># s'ils ne sont pas déjà installés</span>
<span style="color: #666666; font-style: italic;">## Pour Ubuntu 10.04</span>
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>media.cdn.ubuntu-de.org<span style="color: #000000; font-weight: bold;">/</span>forum<span style="color: #000000; font-weight: bold;">/</span>attachments<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">2666793</span><span style="color: #000000; font-weight: bold;">/</span>AR81Family-linux-v1.0.1.14_dkms.tar.gz
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">tar</span> xvf AR81Family-linux-v1.0.1.14_dkms.tar.gz <span style="color: #660033;">-C</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src
&nbsp;
<span style="color: #666666; font-style: italic;"># Pour Ubuntu 10.10 et supérieur</span>
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>media.cdn.ubuntu-de.org<span style="color: #000000; font-weight: bold;">/</span>forum<span style="color: #000000; font-weight: bold;">/</span>attachments<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">2666793</span><span style="color: #000000; font-weight: bold;">/</span>AR81Family-linux-v1.0.1.14_10.10.tar.gz
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">tar</span> xvf AR81Family-linux-v1.0.1.14_10.10.tar.gz <span style="color: #660033;">-C</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src</pre></div></div>

<p><strong>Création du module et installation</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> dkms add <span style="color: #660033;">-m</span> atl1e <span style="color: #660033;">-v</span> 1.0.1.14
<span style="color: #c20cb9; font-weight: bold;">sudo</span> dkms build <span style="color: #660033;">-m</span> atl1e <span style="color: #660033;">-v</span> 1.0.1.14
<span style="color: #c20cb9; font-weight: bold;">sudo</span> dkms <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #660033;">-m</span> atl1e <span style="color: #660033;">-v</span> 1.0.1.14</pre></div></div>

<p><strong>Chargement du module et test</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> modprobe atl1e
<span style="color: #c20cb9; font-weight: bold;">dmesg</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">egrep</span> <span style="color: #ff0000;">'atl1e|eth'</span>
<span style="color: #c20cb9; font-weight: bold;">ifconfig</span> <span style="color: #660033;">-a</span></pre></div></div>

<p>Malheureusement, l&#8217;archive pour 10.10 et supérieurs n&#8217;est plus disponible sur ce site. Je met donc au moins l&#8217;archive pour 10.04 à disposition sur le mien au cas où elle disparaitrait</p>
<p><a href="http://astuces.absolacom.com/wp-content/uploads/2011/12/AR81Family-linux-v1.0.1.14_dkms.tar.gz">AR81Family-linux-v1.0.1.14_dkms.tar</a></p>
<p>Source: <a href="http://forum.ubuntuusers.de/topic/lan-geht-nicht-wlan-schon/#post-2666793" target="_blank">http://forum.ubuntuusers.de/topic/lan-geht-nicht-wlan-schon/#post-2666793</a></p>
]]></content:encoded>
			<wfw:commentRss>http://astuces.absolacom.com/ubuntu/ubuntu-faire-fonctionner-la-carte-ethernet-atheros-ar8151/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Activer XDMCP sur Ubuntu Lucid 10.04</title>
		<link>http://astuces.absolacom.com/ubuntu/activer-xdmcp-sur-ubuntu-lucid-10-04/</link>
		<comments>http://astuces.absolacom.com/ubuntu/activer-xdmcp-sur-ubuntu-lucid-10-04/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 17:42:18 +0000</pubDate>
		<dc:creator>manuberro</dc:creator>
				<category><![CDATA[borne]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[logiciel]]></category>
		<category><![CDATA[planet-libre]]></category>
		<category><![CDATA[serveur]]></category>
		<category><![CDATA[système]]></category>
		<category><![CDATA[tuning]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[lucid]]></category>

		<guid isPermaLink="false">http://astuces.absolacom.com/?p=1171</guid>
		<description><![CDATA[Cette astuce fonctionne peut être avec les versions suivantes, mais je ne l&#8217;ai pas testée. A confirmer. Si vous avez besoin d&#8217;utiliser XDMCP sur votre réseau, vous constaterez qu&#8217;avec la &#171;&#160;nouvelle&#160;&#187; version de GDM, il n&#8217;est plus possible de l&#8217;activer facilement1. Or, il suffit de quelques manipulations pour la remettre en place. Paramétrer le serveur [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Cette astuce fonctionne peut être avec les versions suivantes, mais je ne l&#8217;ai pas testée. A confirmer.</p></blockquote>
<p>Si vous avez besoin d&#8217;utiliser XDMCP sur votre réseau, vous constaterez qu&#8217;avec la &laquo;&nbsp;nouvelle&nbsp;&raquo; version de GDM, il n&#8217;est plus possible de l&#8217;activer facilement<sup><a href="http://astuces.absolacom.com/ubuntu/activer-xdmcp-sur-ubuntu-lucid-10-04/#footnote_0_1171" id="identifier_0_1171" class="footnote-link footnote-identifier-link" title="en tout cas, pas aussi facilement qu&amp;#8217;avant">1</a></sup>.</p>
<p>Or, il suffit de quelques manipulations pour la remettre en place.</p>
<h2>Paramétrer le serveur XDMCP</h2>
<p>Tout d&#8217;abord, il faut créer le fichier<em> /etc/gdm/custom.conf</em> qui va enregistrer les options de GDM, et en particulier celles concernant XDMCP.</p>
<p>Remplissez le avec ceci:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>daemon<span style="color: #7a0874; font-weight: bold;">&#93;</span>
 <span style="color: #007800;">User</span>=gdm
 <span style="color: #007800;">Group</span>=gdm
<span style="color: #7a0874; font-weight: bold;">&#91;</span>security<span style="color: #7a0874; font-weight: bold;">&#93;</span>
 <span style="color: #007800;">DisallowTCP</span>=<span style="color: #c20cb9; font-weight: bold;">true</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>xdmcp<span style="color: #7a0874; font-weight: bold;">&#93;</span>
 <span style="color: #007800;">Enable</span>=<span style="color: #c20cb9; font-weight: bold;">true</span>
 <span style="color: #007800;">DisplaysPerHost</span>=<span style="color: #000000;">2</span>
 <span style="color: #007800;">HonorIndirect</span>=<span style="color: #c20cb9; font-weight: bold;">false</span>
 <span style="color: #007800;">MaxPending</span>=<span style="color: #000000;">4</span>
 <span style="color: #007800;">MaxSessions</span>=<span style="color: #000000;">16</span>
 <span style="color: #007800;">MaxWait</span>=<span style="color: #000000;">30</span>
 <span style="color: #007800;">MaxWaitIndirect</span>=<span style="color: #000000;">30</span>
 <span style="color: #007800;">PingIntervalSeconds</span>=<span style="color: #000000;">60</span>
 <span style="color: #007800;">Port</span>=<span style="color: #000000;">177</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>greeter<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>chooser<span style="color: #7a0874; font-weight: bold;">&#93;</span>
 <span style="color: #007800;">Multicast</span>=<span style="color: #c20cb9; font-weight: bold;">false</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>debug<span style="color: #7a0874; font-weight: bold;">&#93;</span>
 <span style="color: #007800;">Enable</span>=<span style="color: #c20cb9; font-weight: bold;">false</span></pre></div></div>

<p>Il suffit ensuite de redémarrer le service GDM pour activer le XDMCP.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">service gdm restart</pre></div></div>

<p>Cependant, si vous avez désactivé IPV6 sur votre réseau, cela ne fonctionnera pas, puisque XDMCP écoute par défaut en IPV6 désormais. Vous pouvez le voir en root avec la commande <em>netstat</em>:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">root<span style="color: #000000; font-weight: bold;">@</span>test4:<span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>manu<span style="color: #666666; font-style: italic;"># netstat -putan|grep 177</span>
udp6       <span style="color: #000000;">0</span>      <span style="color: #000000;">0</span> :::<span style="color: #000000;">177</span>        :::<span style="color: #000000; font-weight: bold;">*</span>        <span style="color: #000000;">646</span><span style="color: #000000; font-weight: bold;">/</span>gdm-binary</pre></div></div>

<p>Il faut alors désactiver IPV6 sur l&#8217;ordinateur qui diffusera son affichage, par exemple en le désactivant au niveau du noyau.</p>
<p>On peut le faire en rajoutant une option au fichier de configuration de grub. Modifiez les fichier /etc/default/grub pour ajouter l&#8217;option &laquo;&nbsp;ipv6.disable=1&#8243;</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">GRUB_CMDLINE_LINUX_DEFAULT</span>=<span style="color: #ff0000;">&quot;ipv6.disable=1 quiet splash&quot;</span></pre></div></div>

<p>Reconstruisez le fichier de configuration de grub par &laquo;&nbsp;sudo update-grub&nbsp;&raquo; puis redémarrez votre ordinateur. <em>Netstat</em> vous indique alors que XDMCP écoute en IPV4<sup><a href="http://astuces.absolacom.com/ubuntu/activer-xdmcp-sur-ubuntu-lucid-10-04/#footnote_1_1171" id="identifier_1_1171" class="footnote-link footnote-identifier-link" title="notez le 6 qui a disparu et la notation des adresses">2</a></sup></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">root<span style="color: #000000; font-weight: bold;">@</span>test4:<span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>manu<span style="color: #666666; font-style: italic;"># netstat -putan|grep 177</span>
udp       <span style="color: #000000;">0</span>      <span style="color: #000000;">0</span> 0.0.0.0:<span style="color: #000000;">177</span>        0.0.0.0<span style="color: #000000; font-weight: bold;">*</span>        <span style="color: #000000;">658</span><span style="color: #000000; font-weight: bold;">/</span>gdm-binary</pre></div></div>

<h2>Utiliser le client XDMCP</h2>
<p>On peut utiliser <a href="http://sourceforge.net/projects/xming/" target="_blank">Xming</a> depuis Windows, mais depuis Linux, il est plus simple d&#8217;utiliser <a href="http://doc.ubuntu-fr.org/tsclient" target="_blank"><em>tsclient</em></a>. Dans la liste des protocoles, si vous ne voyez pas XDMCP, c&#8217;est qu&#8217;il vous faut l&#8217;installer le paquet <em>xnest</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> xnest</pre></div></div>

<p><a href="http://astuces.absolacom.com/wp-content/uploads/2011/07/tsclient.png"><img class="aligncenter size-medium wp-image-1176" title="tsclient" src="http://astuces.absolacom.com/wp-content/uploads/2011/07/tsclient-270x300.png" alt="tsclient avec XDMCP" width="270" height="300" /></a>Ensuite, pour la connexion, c&#8217;est du classique.</p>
<h2>Un client XDMCP en console</h2>
<p>Si vous désirez lancer une session XDMCP systématiquement, il est inutile se charger gnome ou un gestionnaire de fenêtres simplement pour lancer tsclient puis votre session XDMCP. Il est possible de lancer celle ci directement.</p>
<p><a title="Désactiver le lancement de GDM sur Lucid" href="http://astuces.absolacom.com/serveur/desactiver-le-lancement-de-gdm-sur-lucid/" target="_blank">Désactivez le lancement de GDM</a>, puis logguez vous sur l&#8217;ordinateur et tapez la commande suivante:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>X11R6<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>X <span style="color: #660033;">-query</span> 192.168.1.2</pre></div></div>

<p>où 192.168.1.2 est le serveur sur lequel vous avez activé XDMCP.</p>
<h4>Sources:</h4>
<ul>
<li><a class="linkification-ext" title="Linkification: http://doc.ubuntu-fr.org/tutoriel/comment_creer_un_terminal_x_ou_recycler_une_vieille_machine?s=xdmcp" href="http://doc.ubuntu-fr.org/tutoriel/comment_creer_un_terminal_x_ou_recycler_une_vieille_machine?s=xdmcp">http://doc.ubuntu-fr.org/tutoriel/comment_creer_un_terminal_x_ou_recycler_une_vieille_machine?s=xdmcp</a></li>
<li><a class="linkification-ext" title="Linkification: http://ubuntuforums.org/showthread.php?t=1471703" href="http://ubuntuforums.org/showthread.php?t=1471703">http://ubuntuforums.org/showthread.php?t=1471703</a></li>
</ul>
Notes:<ol class="footnotes"><li id="footnote_0_1171" class="footnote">en tout cas, pas aussi facilement qu&#8217;avant</li><li id="footnote_1_1171" class="footnote">notez le 6 qui a disparu et la notation des adresses</li></ol>]]></content:encoded>
			<wfw:commentRss>http://astuces.absolacom.com/ubuntu/activer-xdmcp-sur-ubuntu-lucid-10-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tftpd-hpa sur Lucid (erreur TFTP open timeout)</title>
		<link>http://astuces.absolacom.com/ubuntu/tftpd-hpa-sur-lucid-erreur-tftp-open-timeout/</link>
		<comments>http://astuces.absolacom.com/ubuntu/tftpd-hpa-sur-lucid-erreur-tftp-open-timeout/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 10:34:55 +0000</pubDate>
		<dc:creator>manuberro</dc:creator>
				<category><![CDATA[borne]]></category>
		<category><![CDATA[ça a fonctionné pour moi]]></category>
		<category><![CDATA[client léger]]></category>
		<category><![CDATA[planet-libre]]></category>
		<category><![CDATA[serveur]]></category>
		<category><![CDATA[système]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[client]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://astuces.absolacom.com/?p=1248</guid>
		<description><![CDATA[La mise à jour du programme tftpd-hpa sur lucid modifie son fichier de configuration par défaut. Si vous utilisez des clients légers avec LTSP, vous vous retrouvez avec des clients qui s&#8217;arrêtent à l&#8217;erreur PXE: TFTP open timeout juste après avoir obtenu leur adresse IP du dhcp. Avant, votre fichier de configuration était ainsi: root@ltsp:#cat [...]]]></description>
			<content:encoded><![CDATA[<p>La mise à jour du programme <strong>tftpd-hpa</strong> sur <strong>lucid</strong> modifie son fichier de configuration par défaut. Si vous utilisez des clients légers avec <a href="http://www.ltsp.org/">LTSP</a>, vous vous retrouvez avec des clients qui s&#8217;arrêtent à l&#8217;erreur<strong> PXE: TFTP open timeout</strong> juste après avoir obtenu leur adresse IP du dhcp.</p>
<p>Avant, votre fichier de configuration était ainsi:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">root<span style="color: #000000; font-weight: bold;">@</span>ltsp:<span style="color: #666666; font-style: italic;">#cat /etc/default/tftpd-hpa</span>
<span style="color: #666666; font-style: italic;">#Defaults for tftpd-hpa</span>
<span style="color: #007800;">RUN_DAEMON</span>=<span style="color: #ff0000;">&quot;yes&quot;</span>
<span style="color: #007800;">OPTIONS</span>=<span style="color: #ff0000;">&quot;-l -s /var/lib/tftpboot&quot;</span></pre></div></div>

<p>Or, maintenant, le fichier se présente ainsi:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># /etc/default/tftpd-hpa</span>
<span style="color: #007800;">TFTP_USERNAME</span>=<span style="color: #ff0000;">&quot;tftp&quot;</span>
<span style="color: #007800;">TFTP_DIRECTORY</span>=<span style="color: #ff0000;">&quot;/srv/tftp&quot;</span>
<span style="color: #007800;">TFTP_ADDRESS</span>=<span style="color: #ff0000;">&quot;0.0.0.0:69&quot;</span>
<span style="color: #007800;">TFTP_OPTIONS</span>=<span style="color: #ff0000;">&quot;&quot;</span></pre></div></div>

<p>Du coup, le serveur ne se lance plus (il n&#8217;apparait pas dans les processus) même si vous avez un message disant qu&#8217;il est déjà en cours de fonctionnement lorsque vous tentez de le relancer.</p>
<p>Il suffit alors de modifier votre fichier de la manière suivante:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># /etc/default/tftpd-hpa</span>
<span style="color: #007800;">TFTP_USERNAME</span>=<span style="color: #ff0000;">&quot;tftp&quot;</span>
<span style="color: #007800;">TFTP_DIRECTORY</span>=<span style="color: #ff0000;">&quot;/var/lib/tftpboot&quot;</span>
<span style="color: #007800;">TFTP_ADDRESS</span>=<span style="color: #ff0000;">&quot;0.0.0.0:69&quot;</span>
<span style="color: #007800;">TFTP_OPTIONS</span>=<span style="color: #ff0000;">&quot;--secure&quot;</span></pre></div></div>

<p>Relancez ensuite votre serveur tftpd et vos clients devraient démarrer.</p>
<p>Si vous avez utilisé des outils qui paramètrent automatiquement le fichier de configuration avec l&#8217;ancienne version, réinstallez le paquet pour obtenir le nouveau fichier de configuration:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #660033;">--reinstall</span> tftpd-hpa</pre></div></div>

<p>puis effectuez manuellement les modifications.</p>
]]></content:encoded>
			<wfw:commentRss>http://astuces.absolacom.com/ubuntu/tftpd-hpa-sur-lucid-erreur-tftp-open-timeout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clavier qwerty sur Ubuntu Oneiric Ocelot</title>
		<link>http://astuces.absolacom.com/ubuntu/clavier-qwerty-sur-ubuntu-oneiric-ocelot/</link>
		<comments>http://astuces.absolacom.com/ubuntu/clavier-qwerty-sur-ubuntu-oneiric-ocelot/#comments</comments>
		<pubDate>Mon, 12 Dec 2011 12:09:49 +0000</pubDate>
		<dc:creator>manuberro</dc:creator>
				<category><![CDATA[ça a fonctionné pour moi]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[planet-libre]]></category>
		<category><![CDATA[système]]></category>
		<category><![CDATA[tuning]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[clavier]]></category>

		<guid isPermaLink="false">http://astuces.absolacom.com/?p=1214</guid>
		<description><![CDATA[Après une install d&#8217;Oneiric sur une machine, je me suis retrouvé avec un clavier US dans l&#8217;environnement graphique et dans le gestionnaire de connexion lightdm. J&#8217;ai bien sûr réglé le clavier avec les outils de gnome1 mais à chaque redémarrage, je me retrouvais en clavier qwerty au lieu de l&#8217;azerty voulu. Après avoir longuement cherché [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.semageek.com/diy-fabriquer-un-rubiks-cube-bien-geek-a-l-aide-d-un-vieux-clavier/"><img class="alignleft size-thumbnail wp-image-1224" title="rubiks-cube-geek-clavier-touche-diy-2" src="http://astuces.absolacom.com/wp-content/uploads/2011/12/rubiks-cube-geek-clavier-touche-diy-2-150x150.jpg" alt="" width="150" height="150" /></a>Après une install d&#8217;Oneiric sur une machine, je me suis retrouvé avec un clavier US dans l&#8217;environnement graphique et dans le gestionnaire de connexion lightdm.</p>
<p>J&#8217;ai bien sûr réglé le clavier avec les outils de gnome<sup><a href="http://astuces.absolacom.com/ubuntu/clavier-qwerty-sur-ubuntu-oneiric-ocelot/#footnote_0_1214" id="identifier_0_1214" class="footnote-link footnote-identifier-link" title="et de lxde puisque j&amp;#8217;ai install&eacute; les deux environnements">1</a></sup> mais à chaque redémarrage, je me retrouvais en clavier qwerty au lieu de l&#8217;azerty voulu.</p>
<p>Après avoir longuement cherché , je suis tombé sur une discussion qui m&#8217;a donné la bonne solution.</p>
<p>Il faut aller consulter le fichier <em><strong>/etc/default/keyboard</strong></em> qui, s&#8217;il fait référence à un clavier US, est prioritaire sur les autres réglages.<br />
Si c&#8217;est le cas, il faut reconfigurer le clavier pour corriger ce fichier et faire en sorte d&#8217;obtenir les bonnes touches</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">dpkg-reconfigure keyboard-configuration</pre></div></div>

<p>Et suivre les instructions, ce qui devrait donner un résultat tel que celui ci:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># If you change any of the following variables and X is configured to</span>
<span style="color: #666666; font-style: italic;"># use this file, then the changes will become visible to X only if udev</span>
<span style="color: #666666; font-style: italic;"># is restarted. You may need to reboot the system.</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># The following variables describe your keyboard and can have the same</span>
<span style="color: #666666; font-style: italic;"># values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options</span>
<span style="color: #666666; font-style: italic;"># in /etc/X11/xorg.conf.</span>
&nbsp;
<span style="color: #007800;">XKBMODEL</span>=<span style="color: #ff0000;">&quot;pc105&quot;</span>
<span style="color: #007800;">XKBLAYOUT</span>=<span style="color: #ff0000;">&quot;fr&quot;</span>
<span style="color: #007800;">XKBVARIANT</span>=<span style="color: #ff0000;">&quot;&quot;</span>
<span style="color: #007800;">XKBOPTIONS</span>=<span style="color: #ff0000;">&quot;lv3:ralt_switch,compose:rctrl&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># If you don't want to use the XKB layout on the console, you can</span>
<span style="color: #666666; font-style: italic;"># specify an alternative keymap. Make sure it will be accessible</span>
<span style="color: #666666; font-style: italic;"># before /usr is mounted.</span>
<span style="color: #666666; font-style: italic;"># KMAP=/etc/console-setup/defkeymap.kmap.gz</span></pre></div></div>

<p>J&#8217;ai perdu du temps à trouver la solution, espérons que ça vous sera utile.</p>
<p>Source: http://forum.ubuntu-fr.org/viewtopic.php?pid=6654251#p6654251</p>
Notes:<ol class="footnotes"><li id="footnote_0_1214" class="footnote">et de lxde puisque j&#8217;ai installé les deux environnements</li></ol>]]></content:encoded>
			<wfw:commentRss>http://astuces.absolacom.com/ubuntu/clavier-qwerty-sur-ubuntu-oneiric-ocelot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Entête Crontab</title>
		<link>http://astuces.absolacom.com/ubuntu/entete-crontab/</link>
		<comments>http://astuces.absolacom.com/ubuntu/entete-crontab/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 09:55:32 +0000</pubDate>
		<dc:creator>manuberro</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[memo]]></category>
		<category><![CDATA[système]]></category>
		<category><![CDATA[tuning]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[cron]]></category>

		<guid isPermaLink="false">http://astuces.absolacom.com/?p=1195</guid>
		<description><![CDATA[Pour mémo, voici les lignes devant être présentes en entête de crontab pour éviter les soucis. En effet, le cron utilise son propre processus/shell au lancement, et on a parfois des erreurs difficiles à cerner de chemin non trouvé ou de langage. A adapter à votre situation # m h  dom mon dow   command MAILTO=&#160;&#187;monadressel@monfai.fr&#160;&#187; [...]]]></description>
			<content:encoded><![CDATA[<p>Pour mémo, voici les lignes devant être présentes en entête de crontab pour éviter les soucis. En effet, le cron utilise son propre processus/shell au lancement, et on a parfois des erreurs difficiles à cerner de chemin non trouvé ou de langage.</p>
<p>A adapter à votre situation</p>
<blockquote><p># m h  dom mon dow   command<br />
MAILTO=&nbsp;&raquo;monadressel@monfai.fr&nbsp;&raquo;<br />
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games<br />
SHELL=/bin/bash<br />
LC_ALL=fr_FR.UTF-8</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://astuces.absolacom.com/ubuntu/entete-crontab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pas de /var/log/messages sur Ubuntu Maverick/Natty</title>
		<link>http://astuces.absolacom.com/ubuntu/pas-de-varlogmessages-sur-ubuntu-mavericknatty/</link>
		<comments>http://astuces.absolacom.com/ubuntu/pas-de-varlogmessages-sur-ubuntu-mavericknatty/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 00:02:35 +0000</pubDate>
		<dc:creator>manuberro</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[logiciel]]></category>
		<category><![CDATA[planet-libre]]></category>
		<category><![CDATA[système]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[messages]]></category>
		<category><![CDATA[syslog]]></category>

		<guid isPermaLink="false">http://astuces.absolacom.com/?p=1158</guid>
		<description><![CDATA[Sur Ubuntu Natty, j&#8217;ai eu la surprise de constater qu&#8217;il n&#8217;y avais pas de fichier /var/log/messages. Cela vient du fait que les développeurs ont estimé qu&#8217;il était redondant avec les autres fichiers de logs, et ils ont décidé de ne plus l&#8217;activer. &#8230;les journaux que vous recherchez sont dans /var/log/syslog. Cela a été une décision [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://astuces.absolacom.com/wp-content/uploads/2011/07/messages.jpg"><img class="alignright size-thumbnail wp-image-1163" title="messages" src="http://astuces.absolacom.com/wp-content/uploads/2011/07/messages-150x150.jpg" alt="" width="150" height="150" /></a>Sur Ubuntu Natty, j&#8217;ai eu la surprise de constater qu&#8217;il n&#8217;y avais pas de fichier /var/log/messages.</p>
<p>Cela vient du fait que <a href="https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/762505/comments/8" target="_blank">les développeurs ont estimé qu&#8217;il était redondant</a> avec les autres fichiers de logs, et ils ont décidé de ne plus l&#8217;activer.</p>
<blockquote><p>&#8230;les journaux que vous recherchez sont dans /var/log/syslog. Cela a été une décision délibérée dans maverick pour réduire les chevauchements de log (tout ce qui est logué dans /var/log/messages a toujours été aussi enregistré dans /var/log/syslog ).</p></blockquote>
<p>Or, certaines applications l&#8217;utilisent et se plaignent de ne pas le trouver. On peut le créer vide, mais il le restera. On peut aussi créer un lien vers /var/log/syslog.</p>
<p>Mais le mieux est de le réactiver. Il suffit d&#8217;éditer le fichier <em>/etc/rsyslog.d/50-default.conf</em> et de dé-commenter les lignes suivantes:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">*</span>.=info;<span style="color: #000000; font-weight: bold;">*</span>.=notice;<span style="color: #000000; font-weight: bold;">*</span>.=warn;\
auth,authpriv.none;\
cron,daemon.none;\
mail,news.none -<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>messages</pre></div></div>

<p>ensuite, redémarrez ou lancez</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> restart rsyslog</pre></div></div>

<p>Source: <a href="http://ubuntuforums.org/showthread.php?t=1728570" target="_blank">http://ubuntuforums.org/showthread.php?t=1728570</a></p>
]]></content:encoded>
			<wfw:commentRss>http://astuces.absolacom.com/ubuntu/pas-de-varlogmessages-sur-ubuntu-mavericknatty/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Désactiver le lancement de GDM sur Lucid</title>
		<link>http://astuces.absolacom.com/serveur/desactiver-le-lancement-de-gdm-sur-lucid/</link>
		<comments>http://astuces.absolacom.com/serveur/desactiver-le-lancement-de-gdm-sur-lucid/#comments</comments>
		<pubDate>Fri, 17 Jun 2011 10:30:20 +0000</pubDate>
		<dc:creator>manuberro</dc:creator>
				<category><![CDATA[borne]]></category>
		<category><![CDATA[ça a fonctionné pour moi]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[memo]]></category>
		<category><![CDATA[planet-libre]]></category>
		<category><![CDATA[serveur]]></category>
		<category><![CDATA[gdm]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[système]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://astuces.absolacom.com/?p=1108</guid>
		<description><![CDATA[Sur l&#8217;une de mes machine, destinée à un usage spécifique dont je parlerais plus tard, j&#8217;avais besoin d&#8217;avoir une interface graphique pour l&#8217;installation et le réglage d&#8217;un logiciel particulier. Mais une fois celui ci configuré, je souhaitais que GDM ne se lance plus, sauf à la demande. J&#8217;ai donc installé une version &#171;&#160;desktop&#160;&#187; puis j&#8217;ai [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://astuces.absolacom.com/wp-content/uploads/2011/06/gdm1.jpg"><img class="alignleft size-full wp-image-1139" title="gdm" src="http://astuces.absolacom.com/wp-content/uploads/2011/06/gdm1.jpg" alt="" width="100" height="43" /></a>Sur l&#8217;une de mes machine, destinée à un usage spécifique dont je parlerais plus tard, j&#8217;avais besoin d&#8217;avoir une interface graphique pour l&#8217;installation et le réglage d&#8217;un logiciel particulier.</p>
<p>Mais une fois celui ci configuré, je souhaitais que GDM ne se lance plus, sauf à la demande. J&#8217;ai donc installé une version &laquo;&nbsp;desktop&nbsp;&raquo; puis j&#8217;ai cherché à désactiver GDM.</p>
<p>Or, si cela était évident (ou du moins connu) dans les versions précédentes, en supprimant le lien de lancement dans /etc/rc2.d ou avec <em>update-rc.d</em>, avec <em>upstart</em> c&#8217;est désormais différent.</p>
<p>Les programmes lancés au démarrage sont situés dans des fichiers de configuration placés dans <em>/etc/init</em>. Celui qui nous intéresse est <em>gdm.conf</em>.</p>
<p>Il faut modifier le fichier de la manière suivante:</p>
<p>de</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># gdm - GNOME Display Manager</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># The display manager service manages the X servers running on the</span>
<span style="color: #666666; font-style: italic;"># system, providing login and auto-login services</span>
&nbsp;
description    <span style="color: #ff0000;">&quot;GNOME Display Manager&quot;</span>
author        <span style="color: #ff0000;">&quot;William Jon McCann &amp;lt;&lt;a class=&quot;</span>linkification-ext<span style="color: #ff0000;">&quot; title=&quot;</span>Linkification: mailto:mccann<span style="color: #000000; font-weight: bold;">@</span>jhu.edu<span style="color: #ff0000;">&quot; href=&quot;</span>mailto:mccann<span style="color: #000000; font-weight: bold;">@</span>jhu.edu<span style="color: #ff0000;">&quot;&gt;mccann@jhu.edu&lt;/a&gt;&amp;gt;&quot;</span>
&nbsp;
start on <span style="color: #7a0874; font-weight: bold;">&#40;</span>filesystem
          and started dbus
          and <span style="color: #7a0874; font-weight: bold;">&#40;</span>drm-device-added card0 <span style="color: #007800;">PRIMARY_DEVICE_FOR_DISPLAY</span>=<span style="color: #000000;">1</span>
          or stopped udevtrigger<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
stop on runlevel <span style="color: #7a0874; font-weight: bold;">&#91;</span>016<span style="color: #7a0874; font-weight: bold;">&#93;</span>
&nbsp;
emits starting-dm
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">env</span> <span style="color: #007800;">XORGCONFIG</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.conf
...</pre></div></div>

<p>à</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># gdm - GNOME Display Manager</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># The display manager service manages the X servers running on the</span>
<span style="color: #666666; font-style: italic;"># system, providing login and auto-login services</span>
&nbsp;
description    <span style="color: #ff0000;">&quot;GNOME Display Manager&quot;</span>
author        <span style="color: #ff0000;">&quot;William Jon McCann &amp;lt;&lt;a class=&quot;</span>linkification-ext<span style="color: #ff0000;">&quot; title=&quot;</span>Linkification: mailto:mccann<span style="color: #000000; font-weight: bold;">@</span>jhu.edu<span style="color: #ff0000;">&quot; href=&quot;</span>mailto:mccann<span style="color: #000000; font-weight: bold;">@</span>jhu.edu<span style="color: #ff0000;">&quot;&gt;mccann@jhu.edu&lt;/a&gt;&amp;gt;&quot;</span>
&nbsp;
start on <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #666666; font-style: italic;">#start on (filesystem</span>
<span style="color: #666666; font-style: italic;">#          and started dbus</span>
<span style="color: #666666; font-style: italic;">#          and (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1</span>
<span style="color: #666666; font-style: italic;">#          or stopped udevtrigger))</span>
stop on runlevel <span style="color: #7a0874; font-weight: bold;">&#91;</span>016<span style="color: #7a0874; font-weight: bold;">&#93;</span>
&nbsp;
emits starting-dm
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">env</span> <span style="color: #007800;">XORGCONFIG</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.conf
...</pre></div></div>

<p>Relancer ensuite l&#8217;ordinateur, GDM ne se lancera plus au démarrage, et vous pourrez alors vous connecter sur les consoles.</p>
<p>Ce n&#8217;est pas une astuce exclusive, mais j&#8217;ai perdu assez de temps à chercher la réponse que je le note pour savoir où le retrouver.</p>
<p>Ne vous affolez pas parce que vous serez en mode texte, vous verrez qu&#8217;on arrive à faire des choses sympas ensuite.</p>
<p>Par exemple, vous pouvez vous identifier avec votre mot de passe et lancer la commande <em>startx</em> pour lancer votre environnement graphique.</p>
<p>Dans un prochain article, nous verrons qu&#8217;il y a mieux&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://astuces.absolacom.com/serveur/desactiver-le-lancement-de-gdm-sur-lucid/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Utiliser (tidy) HTML Validator sur Ubuntu Lucid 10.04</title>
		<link>http://astuces.absolacom.com/ubuntu/utiliser-tidy-html-validator-sur-ubuntu-lucid-10-04/</link>
		<comments>http://astuces.absolacom.com/ubuntu/utiliser-tidy-html-validator-sur-ubuntu-lucid-10-04/#comments</comments>
		<pubDate>Wed, 10 Nov 2010 11:36:47 +0000</pubDate>
		<dc:creator>manuberro</dc:creator>
				<category><![CDATA[ça a fonctionné pour moi]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[logiciel]]></category>
		<category><![CDATA[planet-libre]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://astuces.absolacom.com/?p=951</guid>
		<description><![CDATA[J&#8217;utilisais l’extension de Firefox Tidy HTML Validator jusqu&#8217;à ce qu&#8217;elle ne fonctionne plus avec les versions packagées par Ubuntu. HTML Validator est une extension Mozilla qui ajoute une validation HTML dans Firefox et Mozilla. Le nombre d&#8217;erreurs d&#8217;une page HTML est visible sur la forme d&#8217; une icône dans la barre d&#8217;état lorsque vous naviguez. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://astuces.absolacom.com/wp-content/uploads/2010/11/tidy.png"><img class="alignright size-full wp-image-962" title="tidy" src="http://astuces.absolacom.com/wp-content/uploads/2010/11/tidy.png" alt="" width="226" height="21" /></a><br />
J&#8217;utilisais l’extension de Firefox <a href="http://users.skynet.be/mgueury/mozilla/index.html" target="_blank">Tidy HTML Validator</a> jusqu&#8217;à ce qu&#8217;elle ne fonctionne plus avec les versions packagées par Ubuntu.</p>
<blockquote><p>HTML Validator est une extension Mozilla qui ajoute une validation HTML dans Firefox et Mozilla. Le nombre d&#8217;erreurs d&#8217;une page HTML est visible sur la forme d&#8217; <a href="http://users.skynet.be/mgueury/mozilla/screenshot.html" target="_blank">une icône</a> dans la barre d&#8217;état lorsque vous naviguez. Les détails des erreurs sont vu quand on regarde la source HTML de la page.</p>
<p>L&#8217;extension est basée sur <a href="http://tidy.sourceforge.net/" target="_blank">Tidy</a> et <a href="http://openjade.sourceforge.net/" target="_blank">OpenSP</a> . Les deux algorithmes ont été élaborés par le Web Consortium <a href="http://www.w3.org/People/Raggett/tidy/" target="_blank">W3C</a> . Et maintenant étendus et améliorés par un grand nombre de personnes. Les deux algorithmes sont intégrés à l&#8217;intérieur de Mozilla / Firefox  et permettent la validation en local sur votre machine, sans envoyer de HTML  à un serveur tiers.</p></blockquote>
<p>Mais depuis quelques temps, je dois de nouveau me plonger dans la création de sites, et elle me manquait. Donc je me suis penché sur les solutions nécessaires pour l&#8217;utiliser.</p>
<p>Puis finalement, sans trop savoir le pourquoi du comment, j&#8217;ai réussi à la faire fonctionner. J&#8217;ai reproduit avec succès l&#8217;installation sur deux autres ordinateurs et je vous livre ici la méthode pour la Lucid Lynx en 32 bits.</p>
<p>HTML validator est compilé pour utiliser la librairie libstdc++5. Or, sur Ubuntu, ce n&#8217;est pas la dernière version existante (c&#8217;est la libstdc++6).Si vous essayez d&#8217;installer directement <a href="http://users.skynet.be/mgueury/mozilla/download.html" target="_blank">l’extension</a>, vous aurez le message d&#8217;erreur suivant:</p>
<pre>error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory</pre>
<h2>Installation de la librairie libstdc++5 sur Ubuntu</h2>
<p>La première chose à faire est de trouver cette librairie et de l&#8217;installer. Pas de chance, <a href="http://packages.ubuntu.com/jaunty/i386/libstdc++5/download" target="_blank">les liens vers les sites</a> Ubuntu des anciennes versions proposant cette librairie sont morts, mais heureusement, <a href="http://packages.debian.org/search?keywords=libstdc%2B%2B5" target="_blank">on peut la trouver chez Debian</a> et l&#8217;installer sans problème. J&#8217;ai utilisé la version Lenny (stable)/ i386 sur le miroir <a href="http://ftp.de.debian.org/debian/pool/main/g/gcc-3.3/libstdc++5_3.3.6-18_i386.deb">ftp.de.debian.org/debian</a></p>
<h2>Installation des paquets supplémentaires</h2>
<p>Certains paquets seront nécessaire par la suite, ajoutons les directement, cela évitera les problèmes de dépendances:</p>
<pre>apt-get install libosp5 libnspr4-dev</pre>
<p>Il faudra aussi modifier le fichier <em>/etc/profile</em> pour ajouter la ligne suivante en toute fin de fichier:</p>
<pre>export LD_LIBRARY_PATH=$LD_LIBRARY_PATH/usr/lib/xulrunner/</pre>
<p>Ensuite, fermez votre session et reconnectez vous pour que cela soit pris en compte.</p>
<h2>Installation des éléments nécessaires au module HTML Validator</h2>
<p>Quelqu&#8217;un a eu la bonne idée de packager les différents éléments nécessaires au fonctionnement du module, et de les mettre sur un PPA. Par contre, impossible d&#8217;utiliser le ppa, il ne liste pas les paquets qui nous intéressent&#8230; Mais on peut y accéder directement en suivant <a href="http://ppa.launchpad.net/bdrung/ppa/ubuntu/pool/main/h/htmlvalidator/" target="_blank">cette adresse</a>.</p>
<p>Installez les paquets &laquo;&nbsp;data&nbsp;&raquo; et html-validator pour votre version. Dans mon cas: <a href="http://ppa.launchpad.net/bdrung/ppa/ubuntu/pool/main/h/htmlvalidator/htmlvalidator-data_0.8.5.8+svn65-0ubuntu1%7Eppa1_all.deb">htmlvalidator-data_0.8.5.8+svn65-0ubuntu1~ppa1_all.deb</a> et <a href="http://ppa.launchpad.net/bdrung/ppa/ubuntu/pool/main/h/htmlvalidator/htmlvalidator_0.8.5.8+svn65-0ubuntu1%7Eppa1_i386.deb">htmlvalidator_0.8.5.8+svn65-0ubuntu1~ppa1_i386.deb</a>. Vous pouvez les télécharger et les installer en ligne de commande, ou le faire graphiquement, tant que vous commencez par le paquet &laquo;&nbsp;data&nbsp;&raquo;.</p>
<h2>Installation du module<a href="http://astuces.absolacom.com/wp-content/uploads/2010/11/tidy-non-comptible.png"><img class="alignright size-medium wp-image-959" title="tidy-non-comptible" src="http://astuces.absolacom.com/wp-content/uploads/2010/11/tidy-non-comptible-300x250.png" alt="" width="300" height="250" /></a></h2>
<p>Si tout est présent, en redémarrant Firefox, vous verrez le module présent dans la liste des modules. Mais il vous dira que ce module n&#8217;est pas compatible avec la version de Firefox. Dommage&#8230;</p>
<p>Rassurez vous, les éléments nécessaires au fonctionnement sont installés. Il suffit maintenant d&#8217;aller sur<a href="http://users.skynet.be/mgueury/mozilla/download.html" target="_blank"> le site de l’extension</a> et de télécharger le <a href="http://htmlvalidator.sourceforge.net/mozilla/tidy_firefox_linux_0861.xpi" target="_blank">module pour Firefox</a>, et de l&#8217;installer normalement.</p>
<p>Redémarrez Firefox, et le module sera opérationnel.</p>
<p><a href="http://astuces.absolacom.com/wp-content/uploads/2010/11/tidy-actif.png"><img class="aligncenter size-medium wp-image-960" title="tidy-actif" src="http://astuces.absolacom.com/wp-content/uploads/2010/11/tidy-actif-300x226.png" alt="" width="300" height="226" /></a></p>
<p><a href="http://astuces.absolacom.com/wp-content/uploads/2010/11/Capture-htmlvalidator-lucid.png"><img class="aligncenter size-medium wp-image-952" title="Capture-htmlvalidator-lucid" src="http://astuces.absolacom.com/wp-content/uploads/2010/11/Capture-htmlvalidator-lucid-300x238.png" alt="" width="300" height="238" /></a></p>
<h2>Les idées sur lesquelles je ne me suis pas penché</h2>
<p>Tout simplement parce que la méthode ci dessus fonctionne. Ce n&#8217;est peut être pas le plus propre, mais je manque de temps pour tout défricher.</p>
<ul>
<li>Si on faisait croire à Firefox que la libstdc++6 est la libstdc++5 en créant un lien adéquat? Je ne connais pas les différences entre les deux versions.</li>
<li>Peut on utiliser wine pour faire tourner Firefox win32 et l&#8217;extention Tidy HTML Validator ?</li>
<li>Contacter le mainteneur du PPA pour savoir pourquoi il ne liste pas les paquets html-validator et s&#8217;il peut corriger ceux ci pour qu&#8217;il ne soit plus nécessaire d&#8217;installer l&#8217;extention par la suite (et suivre les mises à jour avec le gestionnaire des paquets)</li>
<li>Contacter le mainteneur de l&#8217;extention Tidy HTML Validator pour lui soumettre la méthode, et voir s&#8217;il peut proposer une extension directement compatible avec Ubuntu.</li>
</ul>
<p>Si vous avez du temps&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://astuces.absolacom.com/ubuntu/utiliser-tidy-html-validator-sur-ubuntu-lucid-10-04/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>gReemote, une remoteware pour votre freebox</title>
		<link>http://astuces.absolacom.com/ubuntu/greemote-une-remoteware-pour-votre-freebox/</link>
		<comments>http://astuces.absolacom.com/ubuntu/greemote-une-remoteware-pour-votre-freebox/#comments</comments>
		<pubDate>Sat, 06 Nov 2010 16:31:38 +0000</pubDate>
		<dc:creator>manuberro</dc:creator>
				<category><![CDATA[Free]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[logiciel]]></category>
		<category><![CDATA[planet-libre]]></category>
		<category><![CDATA[tuning]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[système]]></category>

		<guid isPermaLink="false">http://astuces.absolacom.com/?p=941</guid>
		<description><![CDATA[Il m&#8217;arrive de mettre la télé lorsque je travaille à la maison. Non pas que je la regarde, mais je me sens moins seul et ça m&#8217;aide à ne pas perdre la notion du temps lorsque je suis absorbé par mon travail1. En général, je n&#8217;agis sur la télé que pour baisser le son quand [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://astuces.absolacom.com/wp-content/uploads/2010/11/Capture-greemote.png"><img class="alignright size-medium wp-image-944" title="Capture-greemote" src="http://astuces.absolacom.com/wp-content/uploads/2010/11/Capture-greemote-281x300.png" alt="" width="281" height="300" /></a>Il m&#8217;arrive de mettre la télé lorsque je travaille à la maison. Non pas que je la regarde, mais je me sens moins seul et ça m&#8217;aide à ne pas perdre la notion du temps lorsque je suis absorbé par mon travail<sup><a href="http://astuces.absolacom.com/ubuntu/greemote-une-remoteware-pour-votre-freebox/#footnote_0_941" id="identifier_0_941" class="footnote-link footnote-identifier-link" title="et il ne faut pas rater la sortie de l&amp;#8217;&eacute;cole!">1</a></sup>.</p>
<p>En général, je n&#8217;agis sur la télé que pour baisser le son quand les pubs se lâchent sur les décibels, ou que le programme ne me plait pas (certains &laquo;&nbsp;artistes&nbsp;&raquo; me sortent pas les yeux). Et à ce moment, je suis toujours en train de me demander où j&#8217;ai bien pu poser cette télécommande qui n&#8217;est pourtant pas discrète!</p>
<p>Puis je me suis dit que, vu que Free a libéré des API&#8217;s d&#8217;accès à la freebox, quelqu&#8217;un avait sans doute développé un soft pour la remplacer<sup><a href="http://astuces.absolacom.com/ubuntu/greemote-une-remoteware-pour-votre-freebox/#footnote_1_941" id="identifier_1_941" class="footnote-link footnote-identifier-link" title="au pire, je me lan&ccedil;ais dans le dev &agrave; ce sujet">2</a></sup> et je suis tombé sur <a title="gReemote sur les forums Ubuntu" href="http://forum.ubuntu-fr.org/viewtopic.php?id=395990" target="_blank">ce post</a> sur le forum Ubuntu.</p>
<p>Alors j&#8217;ai installé le logiciel comme indiqué dans <a title="Site de gReemote" href="http://sourceforge.net/apps/mediawiki/greemote/index.php?title=Main_Page" target="_blank">la documentation</a> et j&#8217;en suis très satisfait!</p>
<p>Simple à installer, à paramétrer, à utiliser. <span style="text-decoration: line-through;">Un seul petit reproche<sup><a href="http://astuces.absolacom.com/ubuntu/greemote-une-remoteware-pour-votre-freebox/#footnote_2_941" id="identifier_2_941" class="footnote-link footnote-identifier-link" title="quand m&ecirc;me, il faut que je critique un peu">3</a></sup>, les boutons de couleur ne sont pas en couleur, ce qui fait qu&#8217;il est parfois difficile dans les menus de la freebox d&#8217;appuyer sur le bon bouton. Au risque de faire une erreur. Ils sont notés A B X Y, mais dans les menus seules les couleurs sont indiquées<sup><a href="http://astuces.absolacom.com/ubuntu/greemote-une-remoteware-pour-votre-freebox/#footnote_3_941" id="identifier_3_941" class="footnote-link footnote-identifier-link" title="Un coup de marqueur sur l&amp;#8217;&eacute;cran du PC pour colorer les boutons de l&amp;#8217;interface n&amp;#8217;est PAS une bonne id&eacute;e ;oD ">4</a></sup>. </span>Depuis la version 1.73 (et l&#8217;indication dans le commentaire de sellax), les boutons de l&#8217;interface reprennent les couleurs de la télécommande.</p>
<p>Autre avantage que j&#8217;y ai trouvé, c&#8217;est que mes enfants cachaient la télécommande pour qu&#8217;on ne stoppe pas la chaine de dessins animés&#8230; On éteignait mais on passait du temps à trouver cette télécommande. Désormais, je leur montre que papa est le plus fort!!!</p>
<p>Petites précisions:</p>
<ul>
<li>Le logiciel sert à commander la freebox et ce qui est affiché sur la télé. Si vous regardez les chaines sur votre ordinateur, ça ne vous servira à rien.</li>
<li>Il ne fonctionne que si vous vous trouvez sur le réseau interne de la freebox (wifi, CPL ou ethernet). Pas de fonctionnement en freewifi (heureusement).</li>
<li>On peut choisir le débit par défaut des chaines et accéder à celles ci d&#8217;un simple clic.</li>
<li>Applet 100% opérationnel avec gnome. Il parait que ça l&#8217;est aussi pour KDE.</li>
</ul>
<p>Depuis un mois que je l&#8217;utilise, rien à signaler, à part que tout fonctionne bien.</p>
Notes:<ol class="footnotes"><li id="footnote_0_941" class="footnote">et il ne faut pas rater la sortie de l&#8217;école!</li><li id="footnote_1_941" class="footnote">au pire, je me lançais dans le dev à ce sujet</li><li id="footnote_2_941" class="footnote">quand même, il faut que je critique un peu</li><li id="footnote_3_941" class="footnote">Un coup de marqueur sur l&#8217;écran du PC pour colorer les boutons de l&#8217;interface n&#8217;est PAS une bonne idée ;oD </li></ol>]]></content:encoded>
			<wfw:commentRss>http://astuces.absolacom.com/ubuntu/greemote-une-remoteware-pour-votre-freebox/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

