<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://test.amule.szerverem.hu/w/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://test.amule.szerverem.hu/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=213.39.138.43</id>
		<title>AMule Project FAQ - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://test.amule.szerverem.hu/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=213.39.138.43"/>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/Special:Contributions/213.39.138.43"/>
		<updated>2026-04-05T18:30:52Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.23.3</generator>

	<entry>
		<id>http://test.amule.szerverem.hu/wiki/How_to_launch_VNC_with_aMule_at_Linux_boot</id>
		<title>How to launch VNC with aMule at Linux boot</title>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/How_to_launch_VNC_with_aMule_at_Linux_boot"/>
				<updated>2004-07-22T07:34:52Z</updated>
		
		<summary type="html">&lt;p&gt;213.39.138.43: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h2&amp;gt;''By [[User:Frankk|Frankk]]''&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This describes a very simple configuration to launch [http://www.redstonesoftware.com/vnc.html VNC] at [http://www.kernel.org Linux] startup (as a specified user). [[aMule]] will be launched automatically with [http://www.redstonesoftware.com/vnc.html VNC].&lt;br /&gt;
This will work in [http://www.slackware.com Slackware] and distro based on the same init method. If someone knows how to modify it to make it work under other distros you are welcome to add it to this page. Thanks.&lt;br /&gt;
&lt;br /&gt;
Add the ''rc.vnc'' script to ''/etc/rc.d''&lt;br /&gt;
&lt;br /&gt;
Modify user according to the user running [[aMule]].&amp;lt;br&amp;gt;&lt;br /&gt;
The ''rm /tmp/.X11-unix/X11'' is there in case the server crashes or your mother/wife removes the power plug cleaning the room... ;-)&lt;br /&gt;
&lt;br /&gt;
''&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
#&lt;br /&gt;
# Startup/Stop script for vncserver.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
case &amp;quot;$1&amp;quot; in&lt;br /&gt;
&lt;br /&gt;
'start')&lt;br /&gt;
rm /tmp/.X11-unix/X1&lt;br /&gt;
/bin/su - user -c &amp;quot;PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin /usr/bin/vncserver :1&amp;quot;&lt;br /&gt;
;;&lt;br /&gt;
&lt;br /&gt;
'stop')&lt;br /&gt;
/bin/su - user -c &amp;quot;PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin /usr/bin/vncserver -kill :1&amp;quot;&lt;br /&gt;
;;&lt;br /&gt;
&lt;br /&gt;
*)&lt;br /&gt;
echo &amp;quot;Usage: /etc/init.d/rc.vnc { start | stop }&amp;quot;&lt;br /&gt;
;;&lt;br /&gt;
&lt;br /&gt;
esac&lt;br /&gt;
&amp;lt;/pre&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Make it executable with:&lt;br /&gt;
&lt;br /&gt;
''&amp;lt;pre&amp;gt;chmod 755 /etc/rc.d/rc.vnc&amp;lt;/pre&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Modify the following files:&lt;br /&gt;
&lt;br /&gt;
In ''/etc/rc.d/rc.local'' add:&lt;br /&gt;
&lt;br /&gt;
''&amp;lt;pre&amp;gt;&lt;br /&gt;
# Start VNC server&lt;br /&gt;
if [ -x /etc/rc.d/rc.vnc ]; then&lt;br /&gt;
. /etc/rc.d/rc.vnc start&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/pre&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
In ''/etc/rc.d/rc.6'' add:&lt;br /&gt;
&lt;br /&gt;
''&amp;lt;pre&amp;gt;&lt;br /&gt;
# Shut down the VNC server&lt;br /&gt;
if [ -x /etc/rc.d/rc.vnc ]; then&lt;br /&gt;
/etc/rc.d/rc.vnc stop&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/pre&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
In ''~/.vnc/xstartup'' (in home directory of the user specified above) add (change with your preferred [[aMule]] startup script):&lt;br /&gt;
&lt;br /&gt;
''&amp;lt;pre&amp;gt;amule &amp;amp;&amp;lt;/pre&amp;gt;''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''On Debian Woody System:'''&lt;br /&gt;
&lt;br /&gt;
apt-get install vncserver xvncviewer&lt;br /&gt;
&lt;br /&gt;
There is no support for ~/.vnc/xstartup. Instead, use $vncStartup in .vncrc to determine a xstartup-script (this replayces Your ~/.xsession file). man vnc.conf&lt;/div&gt;</summary>
		<author><name>213.39.138.43</name></author>	</entry>

	</feed>