<?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>Trucs Libres &#187; screen</title>
	<atom:link href="http://fr.positon.org/tag/screen/feed" rel="self" type="application/rss+xml" />
	<link>http://fr.positon.org</link>
	<description></description>
	<lastBuildDate>Tue, 23 Feb 2016 20:01:11 +0000</lastBuildDate>
	<language>fr-FR</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.7.1</generator>
	<item>
		<title>[Screen] No more PTYs. Sorry, could not find a PTY.</title>
		<link>http://fr.positon.org/screen-no-more-ptys-sorry-could-not-find-a-pty</link>
		<comments>http://fr.positon.org/screen-no-more-ptys-sorry-could-not-find-a-pty#comments</comments>
		<pubDate>Wed, 18 Nov 2009 22:40:00 +0000</pubDate>
		<dc:creator><![CDATA[dooblem]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[screen]]></category>

		<guid isPermaLink="false">http://positon.org:81/?p=68</guid>
		<description><![CDATA[Si vous obtenez les erreurs suivantes en lançant screen en tant qu&#8217;utilisateur : No more PTYs. Sorry, could not find a PTY. [screen is terminating] Il faut changer les droits du fichier /dev/ptmx : # ls -l /dev/ptmx crw-r--r-- 1 root root 5, 2 nov 18 23:28 /dev/ptmx # chmod a+w /dev/ptmx # ls -l [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Si vous obtenez les erreurs suivantes en lançant <strong>screen</strong> en tant qu&#8217;utilisateur :</p>
<pre>
No more PTYs.
Sorry, could not find a PTY.
[screen is terminating]
</pre>
<p>Il faut changer les droits du fichier <code>/dev/ptmx</code> :</p>
<pre>
# ls -l /dev/ptmx 
crw-r--r-- 1 root root 5, 2 nov 18 23:28 /dev/ptmx
# chmod a+w /dev/ptmx
# ls -l /dev/ptmx 
crw-rw-rw- 1 root root 5, 2 nov 18 23:34 /dev/ptmx
</pre>
<p>Sous Ubuntu, le problème était absent, les droits étant déjà positionnés :</p>
<pre>
$ ls -l /dev/ptmx 
crw-rw-rw- 1 root tty 5, 2 2009-11-18 23:37 /dev/ptmx
</pre>
<p><strong>Références :</strong></p>
<ul>
<li><code>man ptmx</code></li>
<li><code>ubuntu$ ls -l /dev/ptmx</code></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://fr.positon.org/screen-no-more-ptys-sorry-could-not-find-a-pty/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Commande screen</title>
		<link>http://fr.positon.org/commande-screen</link>
		<comments>http://fr.positon.org/commande-screen#comments</comments>
		<pubDate>Thu, 19 Jun 2008 07:36:00 +0000</pubDate>
		<dc:creator><![CDATA[dooblem]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[screen]]></category>

		<guid isPermaLink="false">http://positon.org:81/?p=28</guid>
		<description><![CDATA[La commande screen est très pratique pour lancer des scripts lorsqu&#8217;on est connecté en SSH, pour que si une coupure de courant ou un problème survient côté client, le shell client ne soit pas tué ainsi que le script. Pour lancer un script : $ screen Pour le détacher, il faut faire Ctrl+A, puis D. [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>La commande screen est très pratique pour lancer des scripts lorsqu&#8217;on est connecté en SSH, pour que si une coupure de courant ou un problème survient côté client, le shell client ne soit pas tué ainsi que le script.</p>
<p>Pour lancer un script :</p>
<pre>
$ screen
</pre>
<p>Pour le détacher, il faut faire Ctrl+A, puis D.</p>
<p>Enfin, pour récupérer un screen :</p>
<pre>
$ screen -r
</pre>
]]></content:encoded>
			<wfw:commentRss>http://fr.positon.org/commande-screen/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
