<?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>Werk &#187; vnc</title>
	<atom:link href="http://werk.feub.net/tag/vnc/feed/" rel="self" type="application/rss+xml" />
	<link>http://werk.feub.net</link>
	<description>Pourquoi werk? Rholala ^.^</description>
	<lastBuildDate>Tue, 27 Jul 2010 10:58:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Fedora 13 XFCE et VNC</title>
		<link>http://werk.feub.net/2010/06/22/fedora-13-xfce-et-vnc/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=fedora-13-xfce-et-vnc</link>
		<comments>http://werk.feub.net/2010/06/22/fedora-13-xfce-et-vnc/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 10:32:26 +0000</pubDate>
		<dc:creator>Fabien</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[vnc]]></category>
		<category><![CDATA[xfce]]></category>

		<guid isPermaLink="false">http://werk.feub.net/?p=425</guid>
		<description><![CDATA[Mon petit serveur sous Fedora 13 démarre en runlevel 3, au cas où &#8211; notamment en VNC &#8211; j&#8217;ai tout de même l&#8217;environnement de bureau léger XFCE. Mais celui-ci ne fonctionne pas de suite en accès à distance, seul le fond d&#8217;écran apparaît ainsi que le curseur de la souris. Quelques modifications s&#8217;imposent, outre l&#8217;ajout [...]]]></description>
			<content:encoded><![CDATA[<div><img src="http://werk.feub.net/medias/2010/06/xfce.jpg" alt="xfce4" title="xfce4" width="620" height="174" class="alignnone size-full wp-image-431" /></div>
<p>Mon petit serveur sous <a title="fedoraproject.org" href="https://fedoraproject.org/" target="_blank">Fedora 13</a> démarre en <a title="Wikipedia" href="http://fr.wikipedia.org/wiki/Run_level" target="_blank">runlevel 3</a>, au cas où &#8211; notamment en <a title="Wikipedia" href="http://fr.wikipedia.org/wiki/Virtual_Network_Computing" target="_blank">VNC</a> &#8211; j&#8217;ai tout de même l&#8217;environnement de bureau léger <a title="XFCE" href="http://www.xfce.org/?lang=fr" target="_blank">XFCE</a>. Mais celui-ci ne fonctionne pas de suite en accès à distance, seul le fond d&#8217;écran apparaît ainsi que le curseur de la souris. Quelques modifications s&#8217;imposent, outre l&#8217;ajout de <code>startxfce4 &amp;</code> en lieu et place de <code>twm &amp;</code>, il faut commenter les parties de test exec de xinitrc. Voici le fichier ~/vnc/xstartup pour que XFCE démarre correctement avec VNC :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh</span>
vncconfig <span style="color: #660033;">-iconic</span> <span style="color: #000000; font-weight: bold;">&amp;</span>amp;
<span style="color: #7a0874; font-weight: bold;">unset</span> DBUS_SESSION_BUS_ADDRESS
<span style="color: #007800;">OS</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">uname</span> -s<span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$OS</span> = <span style="color: #ff0000;">'Linux'</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
	<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$WINDOWMANAGER</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
	<span style="color: #000000; font-weight: bold;">*</span>gnome<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
	<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-e</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>SuSE-release <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
		<span style="color: #007800;">PATH</span>=<span style="color: #007800;">$PATH</span>:<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>gnome<span style="color: #000000; font-weight: bold;">/</span>bin
		<span style="color: #7a0874; font-weight: bold;">export</span> PATH
	<span style="color: #000000; font-weight: bold;">fi</span>
	<span style="color: #000000; font-weight: bold;">;;</span>
	<span style="color: #000000; font-weight: bold;">esac</span>
<span style="color: #000000; font-weight: bold;">fi</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-r</span> <span style="color: #007800;">$HOME</span><span style="color: #000000; font-weight: bold;">/</span>.Xresources <span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> xrdb <span style="color: #007800;">$HOME</span><span style="color: #000000; font-weight: bold;">/</span>.Xresources
startxfce4 <span style="color: #000000; font-weight: bold;">&amp;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://werk.feub.net/2010/06/22/fedora-13-xfce-et-vnc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
