<?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; système</title>
	<atom:link href="http://astuces.absolacom.com/tag/systeme/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>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>Voir l&#8217;occupation des dossiers avec NCDU</title>
		<link>http://astuces.absolacom.com/ubuntu/voir-loccupation-des-dossiers-avec-ncdu/</link>
		<comments>http://astuces.absolacom.com/ubuntu/voir-loccupation-des-dossiers-avec-ncdu/#comments</comments>
		<pubDate>Wed, 13 Apr 2011 18:57:30 +0000</pubDate>
		<dc:creator>manuberro</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[logiciel]]></category>
		<category><![CDATA[planet-libre]]></category>
		<category><![CDATA[serveur]]></category>
		<category><![CDATA[système]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://astuces.absolacom.com/?p=1047</guid>
		<description><![CDATA[Vous connaissez certainement Baobab, qui permet de naviguer rapidement dans le système de fichier pour trouver quel est le dossier ou le fichier qui prend tant de place1. Mais quand on se trouve sur une machine qui n&#8217;a pas d&#8217;interface graphique, ou par SSH ? Effectivement, on peut s&#8217;en sortir à grand coup de du, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://astuces.absolacom.com/wp-content/uploads/2011/04/complet.jpg"><img class="size-medium wp-image-1053 alignleft" title="complet" src="http://astuces.absolacom.com/wp-content/uploads/2011/04/complet-300x225.jpg" alt="" width="240" height="180" /></a>Vous connaissez certainement <a href="https://help.ubuntu.com/community/Baobab" target="_blank">Baobab</a>, qui permet de naviguer rapidement dans le système de fichier pour trouver quel est le dossier ou le fichier qui prend tant de place<sup><a href="http://astuces.absolacom.com/ubuntu/voir-loccupation-des-dossiers-avec-ncdu/#footnote_0_1047" id="identifier_0_1047" class="footnote-link footnote-identifier-link" title=" L&amp;#8217;&eacute;quivalent pour windows est WinDirStat ">1</a></sup>.</p>
<p>Mais quand on se trouve sur une machine qui n&#8217;a pas d&#8217;interface graphique, ou par SSH ?<br />
Effectivement, on peut s&#8217;en sortir à grand coup de <em>du</em>, <em>grep</em> et <em>find</em> .</p>
<p>Par exemple, et vous conviendrez que c&#8217;est<a href="http://fr.wikipedia.org/wiki/Ironie" target="_blank"> facile à mémoriser</a> :</p>
<blockquote><p><em>du -cks * | sort -rn | while read size fname; do for unit in k M G T P E Z Y; do if [ $size -lt 1024 ]; then echo -e  &laquo;&nbsp;${size}${unit}\t${fname}&nbsp;&raquo;; break; fi; size=$((size/1024)); done; done</em>.</p></blockquote>
<p>Mais il n&#8217;est pas du tout pratique de se construire une représentation de l&#8217;arborescence pour agir efficacement et rapidement.</p>
<p>Confronté à un manque surprenant de place sur un NAS distant venant à peine d&#8217;être installé (500 Go / 1 mois), j&#8217;ai recherché un outil me permettant de trouver quel utilisateur squattait la place.<a href="http://astuces.absolacom.com/wp-content/uploads/2011/04/ncdu1.png"><img class="alignright size-thumbnail wp-image-1055" title="ncdu1" src="http://astuces.absolacom.com/wp-content/uploads/2011/04/ncdu1-150x150.png" alt="" width="150" height="150" /></a></p>
<p><a href="http://dev.yorhel.nl/ncdu" target="_blank">NCDU</a>, pour NCurses Disk Usage, permet d&#8217;analyser le système de fichier, en tout cas l&#8217;arborescence dans laquelle vous vous trouvez ou celle que vous lui indiquez, et de naviguer dedans. Et <a href="http://dev.yorhel.nl/ncdu/man" target="_blank">de supprimer</a> les fichiers/dossiers inutiles que vous rencontreriez.</p>
<p>Dans mon cas, supprimer le dossier de <a href="http://www.festivaldufilmdevacances.com/presentation_festival_2009.php?l=fr" target="_blank">films de vacances</a><sup><a href="http://astuces.absolacom.com/ubuntu/voir-loccupation-des-dossiers-avec-ncdu/#footnote_1_1047" id="identifier_1_1047" class="footnote-link footnote-identifier-link" title=" mouais&amp;#8230; ">2</a></sup> d&#8217;un utilisateur a permis de retrouver de quoi travailler confortablement pour les autres.</p>
<p>NCDU se trouve dans les dépôts officiels, et un simple <em>sudo apt-get install ncdu</em> vous permettra de profiter de ce formidable <em>cli tool</em>.</p>
<p><a href="http://astuces.absolacom.com/wp-content/uploads/2011/04/ncdu2.png"><img class="alignleft size-thumbnail wp-image-1057" title="ncdu2" src="http://astuces.absolacom.com/wp-content/uploads/2011/04/ncdu2-150x150.png" alt="" width="150" height="150" /></a></p>
Notes:<ol class="footnotes"><li id="footnote_0_1047" class="footnote"> L&#8217;équivalent pour windows est <a href="http://www.commentcamarche.net/download/telecharger-245-windirstat" target="_blank">WinDirStat</a> </li><li id="footnote_1_1047" class="footnote"> mouais&#8230; </li></ol>]]></content:encoded>
			<wfw:commentRss>http://astuces.absolacom.com/ubuntu/voir-loccupation-des-dossiers-avec-ncdu/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>
		<item>
		<title>Résoudre &#171;&#160;erreur segmentatione des dépendances&#8230;50%&#160;&#187;</title>
		<link>http://astuces.absolacom.com/ubuntu/resoudre-erreur-segmentatione-des-dependances-50/</link>
		<comments>http://astuces.absolacom.com/ubuntu/resoudre-erreur-segmentatione-des-dependances-50/#comments</comments>
		<pubDate>Tue, 26 Oct 2010 14:52:13 +0000</pubDate>
		<dc:creator>manuberro</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[logiciel]]></category>
		<category><![CDATA[planet-libre]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[maverick]]></category>
		<category><![CDATA[système]]></category>

		<guid isPermaLink="false">http://astuces.absolacom.com/?p=932</guid>
		<description><![CDATA[Aujourd&#8217;hui, après une installation propre de Maverick Meerkat et une mise à jour du système, je me suis retrouvé dans l&#8217;impossibilité d&#8217;installer quoi que ce soit&#8230; L&#8217;erreur suivante apparaissait toujours: manu@pctest:~$ sudo apt-get install mplayer Lecture des listes de paquets... Fait Erreur de segmentatione des dépendances... 50% Aucune des commandes habituelles (apt-get -f install, apt-get [...]]]></description>
			<content:encoded><![CDATA[<p>Aujourd&#8217;hui, après une installation propre de Maverick Meerkat et une mise à jour du système, je me suis retrouvé dans l&#8217;impossibilité d&#8217;installer quoi que ce soit&#8230;</p>
<p>L&#8217;erreur suivante apparaissait toujours:</p>
<p><code>manu@pctest:~$ sudo apt-get install mplayer<br />
Lecture des listes de paquets... Fait<br />
Erreur de segmentatione des dépendances... 50%</code></p>
<p>Aucune des commandes habituelles (<em>apt-get -f install, apt-get update</em>) , pas plus que la réparation des fichiers de status ne donnait de résultat positif. J&#8217;ai trouvé la solution dans <a href="https://lists.ubuntu.com/archives/ubuntu-fr/2005-July/004730.html" target="_blank">un vieux post de 2005</a> (!).</p>
<p>Voici ce qu&#8217;il faut donc taper:</p>
<p><code> $ sudo rm -f /var/cache/apt/*.bin<br />
$ sudo apt-get update</code></p>
<p>Et tout refonctionne de nouveau correctement.</p>
<p>PS: vous aurez noté la faute dans le message d&#8217;erreur: ce devrait être &laquo;&nbsp;segmentation&nbsp;&raquo; au lieu de &laquo;&nbsp;segmentatione&nbsp;&raquo;</p>
]]></content:encoded>
			<wfw:commentRss>http://astuces.absolacom.com/ubuntu/resoudre-erreur-segmentatione-des-dependances-50/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

