<?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=147.83.41.10</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=147.83.41.10"/>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/Special:Contributions/147.83.41.10"/>
		<updated>2026-04-05T18:05:01Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.23.3</generator>

	<entry>
		<id>http://test.amule.szerverem.hu/wiki/AMuleWeb</id>
		<title>AMuleWeb</title>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/AMuleWeb"/>
				<updated>2005-11-25T18:06:52Z</updated>
		
		<summary type="html">&lt;p&gt;147.83.41.10: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Description ==&lt;br /&gt;
&lt;br /&gt;
aMuleWeb is a utility that listens for [http://www.w3.org/MarkUp HTTP] connections at port 4711 (by default, although it can be changed through '''Preferences''') and allows remote users to control [[aMule]] using just a web browser. &lt;br /&gt;
&lt;br /&gt;
[[aMule]] itself doesn't support listening to [http://www.w3.org/MarkUp HTTP] connections, so the external utility aMuleWeb is used. This utility listens for remote connections, and once the link between aMuleWeb and the remote user is established, it connects to the [[aMule]] main program using the [[External Connections]] mechanism.&lt;br /&gt;
&lt;br /&gt;
== Compiling aMuleWeb ==&lt;br /&gt;
&lt;br /&gt;
[[Compile]] [[aMule]] normally, just add ''--enable-amuleweb'' when running ''configure''.&lt;br /&gt;
&lt;br /&gt;
== Setting up aMuleWeb with [[aMule]] ==&lt;br /&gt;
&lt;br /&gt;
=== aMuleWeb with [[aMule]] 2.0.0 or later ===&lt;br /&gt;
&lt;br /&gt;
*For users running the monotlithic [[aMule]] application:&lt;br /&gt;
**Go to &amp;quot;Preferences&amp;quot;-&amp;gt;&amp;quot;Remote Controls&amp;quot; (in [[aMule]]) and...&lt;br /&gt;
***Enable &amp;quot;Accept External Connections&amp;quot;.&lt;br /&gt;
***Enable &amp;quot;Use TCP ports instead of unix local sockets&amp;quot; (This option doesn't exist since version 2.1.0)&lt;br /&gt;
***Enter a password for [[External Connections]]. If you don't do this, aMuleWeb will not communicate with [[aMule]].&lt;br /&gt;
::'''NOTE:''' When you change your aMuleWeb and [[External Connections]] ports here, make sure to restart [[aMule]].&lt;br /&gt;
&lt;br /&gt;
*For users running the [[aMule|aMule daemon]]:&lt;br /&gt;
**Shutdown [[aMule|aMuled]] if it is still running.&lt;br /&gt;
**Run ''amuleweb -w'' to generate ''~/.aMule/remote.conf'' and edit it for these options. It previously were on ''~/.aMule/amule.conf'', but the lines are still on this file, so edit both if in doubt.&lt;br /&gt;
***''[ExternalConnect]'' &amp;lt;- Section header&lt;br /&gt;
***''AcceptExternalConnections=1'' &amp;lt;-- To enable [[aMule]] listening for [[External Connections]].&lt;br /&gt;
***''ECUseTCPPort=1'' &amp;lt;-- To use the [http://www.faqs.org/faqs/internet/tcp-ip/resource-list TCP] port. Very important since [http://www.unix.org Unix] sockets are disabled.&lt;br /&gt;
***''ECPassword=ca3c365274907c6fd527068788e14639'' &amp;lt;-- To find the MD5 string for your password, do:&lt;br /&gt;
:::''$ echo -n yourpasswordhere | md5sum | cut -d ' ' -f 1''&lt;br /&gt;
:::''ca3c365274907c6fd527068788e14639''&lt;br /&gt;
**Restart [[aMule|aMuled]]&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' In [[aMule]] version 2.0.0 and later you don't need to do any copy/link of [[aMuleWeb|webserver]] files.&lt;br /&gt;
&lt;br /&gt;
'''NOTE2:''' Every password must be md5sum,also webserver one/s. aMule embedded webserver works without remote.conf,you just need to edit ''amule.conf''. A good trick if you have somewhere an X server is to configure amule using the GUI and then copy the ''amule.conf'' configuration file where you want to run the daemon.&lt;br /&gt;
&lt;br /&gt;
Thanks to [[User:Stefanero|Stefanero]], from who I shamelessly stole a lot from his tutorial.&lt;br /&gt;
&lt;br /&gt;
=== aMuleWeb with [[aMule]] 2.0.0-rcX versions ===&lt;br /&gt;
&lt;br /&gt;
*[http://www.gnu.org/software/tar/tar.html Untar] the sources and copy '''''src/aMule.tmpl''''' or in new versions (you are using a ''new version'' if you don't have the file ''aMule.tmpl'' in ''src/'') only the following dir '''''src/webserver/''''' into your '''''~/.aMule/''''' directory. The following (run from the sources directory), should do so:&lt;br /&gt;
:''$ cp -r src/aMule.tmpl src/webserver/ ~/.aMule/''&lt;br /&gt;
&lt;br /&gt;
* If you installed [[aMule]] from rpm, then you can do:&lt;br /&gt;
:''$ cp /usr/share/amuleweb/aMule.tmpl ~/.aMule/''&lt;br /&gt;
:''$ cp -r /usr/share/amuleweb/webserver/ ~/.aMule/''&lt;br /&gt;
:'''NOTE''': Note that in current versions (since [[aMule]] 2.0.0) the above step is not necessary (in fact, it is incorrect).&lt;br /&gt;
&lt;br /&gt;
*Go to &amp;quot;Preferences&amp;quot;-&amp;gt;&amp;quot;Remote Controls&amp;quot; (in [[aMule]]) and...&lt;br /&gt;
**Enable &amp;quot;Accept External Connections&amp;quot;.&lt;br /&gt;
**Enable &amp;quot;Use TCP ports instead of unix local sockets&amp;quot;.&lt;br /&gt;
**Enter a password for external connections. If you don't do this, amuleweb will not communicate with amule.&lt;br /&gt;
&lt;br /&gt;
::'''NOTE:''' On some early [[aMule]] 2.0.0-rcX versions the above options weren't available (or didn't work). Use this if you want to run [[aMuled]], too. If you are using such [[aMule]] version and you don't wish to upgrade, then do the following:&lt;br /&gt;
&lt;br /&gt;
:Shutdown [[aMule]] if it is still running.&lt;br /&gt;
:Edit your ''~/.eMule'' file, locate the ''[ExternalConnect]'' section and change:&lt;br /&gt;
::''AcceptExternalConnections=1'' &amp;lt;-- To enable [[aMule]] listening for [[External Connections]].&lt;br /&gt;
::''ECUseTCPPort=1'' &amp;lt;-- To use the [http://www.faqs.org/faqs/internet/tcp-ip/resource-list TCP] port. Very important since [http://www.unix.org Unix] sockets are disabled.&lt;br /&gt;
::''ECPassword=ca3c365274907c6fd527068788e14639'' &amp;lt;-- To find the MD5 string for your password, do:&lt;br /&gt;
:::''$ echo -n yourpasswordhere | md5sum | cut -d ' ' -f 1''&lt;br /&gt;
:::''ca3c365274907c6fd527068788e14639''&lt;br /&gt;
&lt;br /&gt;
::'''NOTE:''' Since [[aMule]] 2.0.0 the ''~/.eMule'' file is now called ''~/.aMule/amule.conf''.&lt;br /&gt;
&lt;br /&gt;
*Restart [[aMule]]&lt;br /&gt;
&lt;br /&gt;
*Go to your &amp;quot;Preferences&amp;quot;-&amp;gt;&amp;quot;Remote Controls&amp;quot; (in [[aMule]]) and setup your passwords here for [[External Connections]] and aMuleWeb login.&lt;br /&gt;
::'''NOTE:''' When you change your aMuleWeb and [[External Connections]] ports here, make sure to restart [[aMule]].&lt;br /&gt;
::'''NOTE:''' that ''&amp;quot;Enable aMuleWeb&amp;quot;'' has no effect and will be renamed in 2.0.0rc8. aMuleWeb is always enabled as long as you have [[External Connections]] enabled.&lt;br /&gt;
::'''NOTE:''' For users running [[aMuled|aMule Daemon]] you have to edit the ''.eMule'' file like shown above. For a way to setup a password check the [[Webserver-1.2.x|1.2.8 aMule HowTo]]. You can still do it in the same way.&lt;br /&gt;
&lt;br /&gt;
*Now you're done! You are ready to run amuleweb and connect to it.&lt;br /&gt;
&lt;br /&gt;
'''[[User:Stefanero|Stefanero]]'''&lt;br /&gt;
&lt;br /&gt;
=== Webserver with aMule 1.2.8 or earlier ===&lt;br /&gt;
&lt;br /&gt;
The following is based on the original instruction by BigBob. They guide you on how to modify [[aMule]]'s configuration files to set aMuleWeb correctly.&lt;br /&gt;
&lt;br /&gt;
There is &amp;quot;Preferences&amp;quot;-&amp;gt;&amp;quot;Remote Controls&amp;quot; now, but anyway, information is never a bad idea.&lt;br /&gt;
&lt;br /&gt;
*Shutdown [[aMule]] to avoid overwritting config files while shutting down.&lt;br /&gt;
*Copy from [[aMule]]'s sources (version 1.2.4 or later) the directory ''src/webserver/'' into your ''~/.aMule/webserver/'' directory.&lt;br /&gt;
*Copy from [[aMule]]'s sources (version 1.2.4 or later) the file ''src/aMule.tmpl'' into your ''~/.aMule/aMule.tmpl'' directory.&lt;br /&gt;
*Open a terminal and type (you might have to install ''[http://www.delorie.com/gnu/docs/textutils/md5sum.1.html md5sum]''):&lt;br /&gt;
:''echo -n &amp;quot;'''THEPASWORDYOUWANT'''&amp;quot; | md5sum | cut -d &amp;quot; &amp;quot; -f 1''&lt;br /&gt;
:This command will reply with an [[MD4 hash|MD5 hash]]. Something like: 324f85f6095f9e5fe25b6c85af44b445&lt;br /&gt;
*Edit your ''~/.eMule'' file, locate the ''[ExternalConnect]'' section in it and change this fields:&lt;br /&gt;
:''AcceptExternalConnections=1'' &amp;lt;- To enable [[aMule]] to listen for [[External Connections]].&lt;br /&gt;
:''ECUseTCPPort=0'' &amp;lt;- Set this to 1 to use the [http://www.faqs.org/faqs/internet/tcp-ip/resource-list TCP] port. If disabled [[External Connections]] will fail!!&lt;br /&gt;
:''ECPort=4712'' &amp;lt;- Put here the port on which you want [[aMule]] to listen for [[External Connections]].&lt;br /&gt;
:''ECPassword=39e5049d0614baf21906500e2261d500'' &amp;lt;- Put here the password for [[External Connections]]&amp;lt;nowiki&amp;gt;'&amp;lt;/nowiki&amp;gt; authentications you generated before in terminal (something like 324f85f6095f9e5fe25b6c85af44b445).&lt;br /&gt;
*Edit your ''~/.eMule'' file, locate the ''[WebServer]'' section in it and change fields:&lt;br /&gt;
:''Password=324f85f6095f9e5fe25b6c85af44b445'' &amp;lt;- Put here the password generated with [http://www.delorie.com/gnu/docs/textutils/md5sum.1.html md5sum] for the admin (full privileged users).&lt;br /&gt;
:''PasswordLow=1db5a746266e941b3ef7dd3586863ca7'' &amp;lt;- Put here the password generated with [http://www.delorie.com/gnu/docs/textutils/md5sum.1.html md5sum] for &amp;quot;low users&amp;quot; (low privileged users).&lt;br /&gt;
:''Port=10000'' &amp;lt;- Put the port you want aMuleWeb to listen on.&lt;br /&gt;
:''Enabled=1'' &amp;lt;- This option has been deprecated and is completly ignored now. Enabling External Connections will enable any application it connects to it, including [[aMuleWeb]].&lt;br /&gt;
:''UseGzip=1'' &amp;lt;- Enable compression on communication.&lt;br /&gt;
:''PageRefreshTime=120'' &amp;lt;- Put here the web page refresh time (in seconds).&lt;br /&gt;
:''UseLowRightsUser=0'' &amp;lt;- 0/1 (disabled/enabled) &amp;quot;low user&amp;quot; access.&lt;br /&gt;
*Restart [[aMule]].&lt;br /&gt;
*Once [[aMule]] is running, start the web interface (aMuleWeb).&lt;br /&gt;
*Now point your web browser to http://localhost:10000 (or whatever your host and ports are) and authenticate yourself with &amp;quot;Password&amp;quot; (for full privileged user) or &amp;quot;PasswordLow&amp;quot; (for low privileged user, if enabled).&lt;br /&gt;
*That's all :)&lt;br /&gt;
&lt;br /&gt;
:'''NOTE:'' In latest [[aMule]] 1.2.x releases, the option ''WebTemplateFile'' allows to override the file template to use (thanks to [[User:Stefanero|Stefanero]]. You can set this option in the ''[eMule]'' section. Example:&lt;br /&gt;
&lt;br /&gt;
:''WebTemplateFile=eMule.tmpl''&lt;br /&gt;
&lt;br /&gt;
== Connecting to aMuleWeb ==&lt;br /&gt;
&lt;br /&gt;
To run aMuleWeb run '''''amuleweb''''' on a terminal.&lt;br /&gt;
&lt;br /&gt;
Once aMuleWeb is running, open a web browser and connect to:&lt;br /&gt;
&lt;br /&gt;
''http://host:port''&lt;br /&gt;
&lt;br /&gt;
where ''host'' stands for your host's name (try with ''localhost'') and port stands for the aMuleWeb port ('''NOT''' the [[External Connections]] port).&lt;br /&gt;
&lt;br /&gt;
For example: ''http://localhost:4711''&lt;br /&gt;
&lt;br /&gt;
''Shakraw''&lt;br /&gt;
&lt;br /&gt;
== Standard ports ==&lt;br /&gt;
&lt;br /&gt;
The ports can be set to anything, but this are the most used (the standard ones):&lt;br /&gt;
&lt;br /&gt;
*[[External Connections]]: 4712&lt;br /&gt;
*amuleweb: 4711&lt;br /&gt;
&lt;br /&gt;
Make sure you do not confuse with what each of them is.&lt;br /&gt;
&lt;br /&gt;
== Skin support ==&lt;br /&gt;
&lt;br /&gt;
aMuleWeb now looks for its files in a number of places:&lt;br /&gt;
*In your home directory: ''$HOME/.aMule/webserver/''[skin name]''/''&lt;br /&gt;
*And at it's install location, in this order (by default, ''/usr/local/share/amule/webserver'' if you compiled [[aMule]], or ''/usr/share/amule/webserver'' if you installed it from a package).&lt;br /&gt;
&lt;br /&gt;
Default skin (template) name is 'default'.&lt;br /&gt;
&lt;br /&gt;
If, '''after installing''' [[aMule]], aMuleWeb refuses to run because of not being able to load template:&lt;br /&gt;
*Please report this situation to us, and then&lt;br /&gt;
*Create the directories ''webserver/default'' in the ''.aMule'' subdirectory of your home directory, and copy the contents of the ''src/webserver'' directory there from the [[aMule]] tarball (I mean to ''$HOME/.aMule/webserver/default'').&lt;br /&gt;
&lt;br /&gt;
'''[[User:GonoszTopi|GonoszTopi]]'''&lt;br /&gt;
&lt;br /&gt;
== Where to report problems and questions? ==&lt;br /&gt;
&lt;br /&gt;
For Problems or Questions just report on http://forum.amule.org forum or join [[IRC]] channel [irc://irc.freenode.net/amule #amule] at [irc://irc.freenode.net irc.freenode.net]&lt;br /&gt;
&lt;br /&gt;
== Other sources of information ==&lt;br /&gt;
&lt;br /&gt;
Read the aMuleWeb man page, which is available in English, French, German, Hungarian and Spanish.&lt;br /&gt;
&lt;br /&gt;
For further information read the [[FAQ_webserver|aMuleWeb FAQ]].&lt;/div&gt;</summary>
		<author><name>147.83.41.10</name></author>	</entry>

	<entry>
		<id>http://test.amule.szerverem.hu/wiki/MlDonkey</id>
		<title>MlDonkey</title>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/MlDonkey"/>
				<updated>2005-06-05T15:34:10Z</updated>
		
		<summary type="html">&lt;p&gt;147.83.41.10: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== What is [http://mldonkey.berlios.de mlDonkey] ? ==&lt;br /&gt;
&lt;br /&gt;
[http://mldonkey.berlios.de mlDonkey] was the first (partially) open-source client for the [[FAQ_eD2k-Kademlia|ed2k network]], and the source of much controversy due to features that others considered harmful to the [[FAQ_eD2k-Kademlia|ed2k network]]. The core network code was originally kept closed-sources in order to prevent [[Leech|leecher-mods]], however, this was changed after [[eMule]] arrived with a fully open-source client.&lt;br /&gt;
&lt;br /&gt;
Unlike the Mule [[Client]]s, [http://mldonkey.berlios.de mlDonkey] was created as a [[Server|server]]/[[Client|client]] system from the beginning, which means that it runs as a daemon, without the need for a GUI, though many separate GUIs are available. This makes it the client of choice for people who wish to run it on a router or such.&lt;br /&gt;
&lt;br /&gt;
[http://mldonkey.berlios.de mlDonkey] also boasts of supporting other networks than the [[FAQ_eD2k-Kademlia|ed2k network]], such as&lt;br /&gt;
* [[Overnet]]&lt;br /&gt;
* [[DirectConnect]] (alpha)&lt;br /&gt;
* [[Gnutella]] and [[Gnutella2_(G2)|Gnutella2]]&lt;br /&gt;
* [[OpenNapster]] (alpha)&lt;br /&gt;
* [[SoulSeek]] (beta)&lt;br /&gt;
* [[BitTorrent]]&lt;br /&gt;
* [[FastTrack]]&lt;br /&gt;
* [[AudioGalaxy]] (defunct)&lt;br /&gt;
* HTTP, FTP and SSH through FileTP &lt;br /&gt;
&lt;br /&gt;
Since [http://mldonkey.berlios.de mlDonkey] 2.5.30-x, a feature know as ''swarming'' is supported. With this, it is possible download a file from [[kazaa|Fastrack]], [[BitTorrent]] and [[FAQ_eD2k-Kademlia|ed2k]] networks at same time.&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' [[aMule]] is a '''separate''' project and is '''not''' related to &lt;br /&gt;
[http://mldonkey.berlios.de mlDonkey] in any way.&lt;/div&gt;</summary>
		<author><name>147.83.41.10</name></author>	</entry>

	<entry>
		<id>http://test.amule.szerverem.hu/wiki/Talk:HowTo_Compile_In_Debian/Ubuntu</id>
		<title>Talk:HowTo Compile In Debian/Ubuntu</title>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/Talk:HowTo_Compile_In_Debian/Ubuntu"/>
				<updated>2005-05-17T16:47:23Z</updated>
		
		<summary type="html">&lt;p&gt;147.83.41.10: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To successully compile aMule in my Sarge I had to create a link like this:&lt;br /&gt;
&lt;br /&gt;
''ln -s /usr/include/crypto++ /usr/include/cryptopp''&lt;br /&gt;
&lt;br /&gt;
because the make process searchs for config.h in cryptopp directory, not in crypto++.&lt;br /&gt;
&lt;br /&gt;
'''They might have hanged the pathnames again. Thanks for the info :-)&amp;lt;br&amp;gt;'''&lt;br /&gt;
'''The problem is that both crypto++ and Debian's crypto++ package have been changing the pathnames in order to suit, and this has become a mess. hehehe&amp;lt;br&amp;gt;'''&lt;br /&gt;
'''Anyway, since next [[aMule]] release (it is currenly already implemented into aMule CVS) crypto++ will no longer be needed since it's necessary functions have been coded into aMule.&amp;lt;br&amp;gt;'''&lt;br /&gt;
'''Again, thanks for the info!'''&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
28/09/04 - stk : A small error in step 8 : remplace &amp;quot;ls -s /usr/include/crypto++ /usr/include/cryptopp&amp;quot; by &amp;quot;ln -s /usr/include/crypto++ /usr/include/cryptopp&amp;quot; ;)&lt;br /&gt;
&lt;br /&gt;
'''Thanx a lot! Fixed.'''&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
other info : In my Sarge, with libcrypto++5.1_5.1-5_i386.deb and libcrypto++-dev_5.1-5_i386.deb package, I have an error : ld cannot find lcryptopp.. &lt;br /&gt;
&lt;br /&gt;
so, I have made a link with this command : &amp;quot;ln -s /usr/lib/libcrypto++5.1.so /usr/lib/libcryptopp.so&amp;quot; and run ldconfig -&amp;gt; it work !&lt;br /&gt;
&lt;br /&gt;
'''I completly forgot to answer to you :-( i added your comment to the howto some long time ago. thanks :)'''&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
jeremie :&lt;br /&gt;
&lt;br /&gt;
Installing 200rc6 is a piece of cake with your advices. (sarge on 20041019)&lt;br /&gt;
&lt;br /&gt;
No more fuss about crypto++ and so on, just apt-get the packages, then configure  / make / make install.&lt;br /&gt;
&lt;br /&gt;
It takes 5 minutes.&lt;br /&gt;
&lt;br /&gt;
Thanks for the names of the dependancies.&lt;br /&gt;
&lt;br /&gt;
'''Very much thanks for your words! Makes me feel batter :)'''&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Works just fine in Ubuntu&lt;br /&gt;
&lt;br /&gt;
I just wanted to let you know that this HowTo also applies just fine to &amp;quot;HowTo Compile in Unbuntu&amp;quot;. Sure, anyone would have probably guessed that, but I can confirm it now... :-)&lt;br /&gt;
&lt;br /&gt;
'''Hey! Thanx! THat is indeed an important note since Ubunto is being so successful and popular lately. I'll try to fix it somewhere to link ubunto users there too :)'''&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Hi, I had problems with the ''libcurl2-dev''. Is ''libcurl3-dev'' the actual package?&lt;br /&gt;
&lt;br /&gt;
'''Yes, you can use libcurl3-dev without any problems. In fact, thatnks for the note, i just changed it to point to liburl3 in the guide ;-)'''&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
17/05/2005&lt;br /&gt;
Hi, I don't want compile amule :-), so I add ''deb http://www.vollstreckernet.de/debian/ testing amule'' and &lt;br /&gt;
 ''deb http://www.vollstreckernet.de/debian/ testing wx'' in my  /etc/apt/sources.list. But ''apt-get update &amp;amp;&amp;amp; apt-get install amule'' don't work... I find an error in ''http://www.vollstreckernet.de/debian/dists/testing/amule/binary-i386/Packages.gz&lt;br /&gt;
''. In fact, Packages.gz is broken!!!&lt;br /&gt;
&lt;br /&gt;
'''Please contact Vollstrecker in http://forum.amule.org or mail him. He is the deb packager for CVS builds. Thanks :-)'''&lt;/div&gt;</summary>
		<author><name>147.83.41.10</name></author>	</entry>

	<entry>
		<id>http://test.amule.szerverem.hu/wiki/Talk:Proxy</id>
		<title>Talk:Proxy</title>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/Talk:Proxy"/>
				<updated>2005-05-03T10:24:36Z</updated>
		
		<summary type="html">&lt;p&gt;147.83.41.10: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is all nice and dandy, but can you configure aMule to use a proxy?&lt;br /&gt;
&lt;br /&gt;
'''Of course: Prefereces -&amp;gt; Proxy'''&lt;br /&gt;
&lt;br /&gt;
'''I guess you didn't search much...'''&lt;/div&gt;</summary>
		<author><name>147.83.41.10</name></author>	</entry>

	<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>2005-05-03T10:21:09Z</updated>
		
		<summary type="html">&lt;p&gt;147.83.41.10: &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;
== General ==&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/X$theScreen'' is there in case the server crashes or your mother/wife/husband removes the power plug cleaning the room... ;-)&lt;br /&gt;
&lt;br /&gt;
''#!/bin/sh''&amp;lt;br&amp;gt;&lt;br /&gt;
''#''&amp;lt;br&amp;gt;&lt;br /&gt;
''# Startup/Stop script for vncserver.''&amp;lt;br&amp;gt;&lt;br /&gt;
''#''&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''#Here, the choosen user to run amule''&amp;lt;br&amp;gt;&lt;br /&gt;
''theUser=choosenuser''&amp;lt;br&amp;gt;&lt;br /&gt;
''#And here, the choosen screen to run the vncserver''&amp;lt;br&amp;gt;&lt;br /&gt;
''theScreen=1''&lt;br /&gt;
&lt;br /&gt;
''case &amp;quot;$1&amp;quot; in''&lt;br /&gt;
&lt;br /&gt;
'' 'start')''&lt;br /&gt;
''if [ -f /tmp/.X11-unix/X$theScreen ]; then rm /tmp/.X11-unix/X$theScreen; fi''&amp;lt;br&amp;gt;&lt;br /&gt;
''/bin/su - $theUser -c &amp;quot;PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin /usr/bin/vncserver :$theScreen&amp;quot;''&amp;lt;br&amp;gt;&lt;br /&gt;
'';;''&lt;br /&gt;
&lt;br /&gt;
'' 'stop')''&amp;lt;br&amp;gt;&lt;br /&gt;
''/bin/su - $theUser -c &amp;quot;PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin /usr/bin/vncserver -kill :$theScreen&amp;quot;''&amp;lt;br&amp;gt;&lt;br /&gt;
'';;''&lt;br /&gt;
&lt;br /&gt;
''*)''&amp;lt;br&amp;gt;&lt;br /&gt;
''echo &amp;quot;Usage: /etc/rc.d/rc.vnc { start | stop }&amp;quot;''&amp;lt;br&amp;gt;&lt;br /&gt;
'';;''&lt;br /&gt;
&lt;br /&gt;
''esac''&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;
Modify the following files:&lt;br /&gt;
&lt;br /&gt;
In ''/etc/rc.d/rc.local'' add:&lt;br /&gt;
&lt;br /&gt;
''# Start VNC server''&amp;lt;br&amp;gt;&lt;br /&gt;
''if [ -x /etc/rc.d/rc.vnc ]; then''&amp;lt;br&amp;gt;&lt;br /&gt;
''. /etc/rc.d/rc.vnc start''&amp;lt;br&amp;gt;&lt;br /&gt;
''fi''&lt;br /&gt;
&lt;br /&gt;
In ''/etc/rc.d/rc.6'' add:&lt;br /&gt;
&lt;br /&gt;
''# Shut down the VNC server''&amp;lt;br&amp;gt;&lt;br /&gt;
''if [ -x /etc/rc.d/rc.vnc ]; then''&amp;lt;br&amp;gt;&lt;br /&gt;
''/etc/rc.d/rc.vnc stop''&amp;lt;br&amp;gt;&lt;br /&gt;
''fi''&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;
''amule &amp;amp;''&lt;br /&gt;
&lt;br /&gt;
== On [http://www.debian.org Debian] Woody ==&lt;br /&gt;
&lt;br /&gt;
Run (as root):&lt;br /&gt;
&lt;br /&gt;
''apt-get install vncserver xvncviewer flwm''&lt;br /&gt;
&lt;br /&gt;
There is no support for ''~/.vnc/xstartup'' so, instead, use ''$vncStartup'' in ''.vncrc'' to determine a xstartup-script (this replaces your ''~/.xsession'' file).&lt;br /&gt;
&lt;br /&gt;
For more information, read ''man vnc.conf''&lt;br /&gt;
&lt;br /&gt;
For example, in a Woody/Sarge/Sid:&amp;lt;br&amp;gt;&lt;br /&gt;
Login as the user who is going to run [[aMule]]&amp;lt;br&amp;gt;&lt;br /&gt;
''mkdir ~/.vnc/''&amp;lt;br&amp;gt;&lt;br /&gt;
Create the ''~/.vnc/xstartup'' file, with the next content&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''/usr/bin/flwm &amp;amp;''&amp;lt;br&amp;gt;&lt;br /&gt;
''/usr/bin/amule &amp;amp;''&amp;lt;br&amp;gt;&lt;br /&gt;
''/usr/bin/amule &amp;amp;''&lt;br /&gt;
&lt;br /&gt;
With sone versions of [http://www.redstonesoftware.com/vnc.html vncserver], it's necessary to launch at least twice the [[aMule]]. The [http://flwm.sourceforge.net flwm] is an optional window manager.&lt;br /&gt;
&lt;br /&gt;
Create the file ''~/.vncrc'' with the next content:&amp;lt;br&amp;gt;&lt;br /&gt;
Login as the user and run ''xvncviewer :1'' to create the password file and debug possible probelms (the logs are under the ''~/.vnc/'' dir&lt;br /&gt;
&lt;br /&gt;
''$vncStartup = &amp;quot;/home/amule/.vnc/xstartup&amp;quot;;''&amp;lt;br&amp;gt;&lt;br /&gt;
''$geometry =&amp;quot;800x600&amp;quot;;''&lt;br /&gt;
&lt;br /&gt;
(replace ''/home/amule'' for the home of the user running [http://www.redstonesoftware.com/vnc.html VNC])&lt;br /&gt;
&lt;br /&gt;
To show the [[aMule]] window, run:&lt;br /&gt;
''xvncviewer localhost:1''&lt;br /&gt;
&lt;br /&gt;
If you want to autostart a [http://www.redstonesoftware.com/vnc.html VNC] session on system startup, you can put a line in ''/etc/init.d/bootmisc.sh'' like this:&lt;br /&gt;
&lt;br /&gt;
''su '''username''' -c vncserver''&lt;br /&gt;
&lt;br /&gt;
Replace '''username'''  with the name of the user that you want to launch vnc. (Added by '''ghent''')&lt;br /&gt;
&lt;br /&gt;
== To start [[aMuleWeb]] also at startup: ==&lt;br /&gt;
&lt;br /&gt;
This is probably the most unelegant way to do this, but it seems to work.&lt;br /&gt;
&lt;br /&gt;
The problem is that you have to supply user input when starting [[aMuleWeb]] (the password).&lt;br /&gt;
&lt;br /&gt;
You can circumvent this with supplying a password with the ''-pw'' option: ''amuleweb -pw &amp;quot;&amp;quot;'' (this is for no password, you have to remove the [http://www.ietf.org/rfc/rfc1321.txt MD5 sum] from the ''ECPassword'' entry in your ''~/.eMule'' file for this to work).&lt;br /&gt;
&lt;br /&gt;
Now [[aMuleWeb]] starts without any user input, but unfortunately it wouldn't work when we would just add it to the xstartup-file, because [[aMule]] needs a few seconds more to start up.&lt;br /&gt;
&lt;br /&gt;
Therefor we have to start [[aMuleWeb]] a few seconds after [[aMule]].&lt;br /&gt;
&lt;br /&gt;
To achieve this, we add a line similar to this one:&lt;br /&gt;
&lt;br /&gt;
''/bin/sh /home/aMule/amuleweb-start.sh &amp;amp;''&lt;br /&gt;
&lt;br /&gt;
to the xstartup-file.&lt;br /&gt;
&lt;br /&gt;
And in the home-directory, we create a file called ''amuleweb-start.sh'', with the following content:&lt;br /&gt;
&lt;br /&gt;
  #! /bin/sh&lt;br /&gt;
  sleep 30;&lt;br /&gt;
  /usr/bin/amuleweb -pw &amp;quot;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
That's all.&lt;br /&gt;
&lt;br /&gt;
Like I said, probably extremely amateurish, but it should work...&lt;br /&gt;
&lt;br /&gt;
== [http://www.mandrake.com Mandrake] 10.0 ==&lt;br /&gt;
&lt;br /&gt;
The script from [[User:Frankk|Frankk]] is the one I use, but you can customize the size of the [http://www.redstonesoftware.com/vnc.html VNC] server :&lt;br /&gt;
''/bin/su - $theUser -c &amp;quot;PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin /usr/bin/vncserver :$theScreen&amp;quot;''&lt;br /&gt;
&lt;br /&gt;
add&lt;br /&gt;
&lt;br /&gt;
''/bin/su - $theUser -c &amp;quot;PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin /usr/bin/vncserver :$theScreen -geometry 1240x980&amp;quot;''&lt;br /&gt;
&lt;br /&gt;
or whatever value.&lt;br /&gt;
&lt;br /&gt;
Personaly, I use as xstartup script ([http://www.icewm.org iceWM] is really nice and so CPU-cheap) :&lt;br /&gt;
&lt;br /&gt;
''#!/bin/sh''&amp;lt;br&amp;gt;&lt;br /&gt;
''starticewm&amp;amp;''&amp;lt;br&amp;gt;&lt;br /&gt;
''amule''&lt;br /&gt;
&lt;br /&gt;
To start [http://www.redstonesoftware.com/vnc.html VNC] at startup, I called the previous script ''/etc/init.d/amulevnc'' and chmod to 744 (''chmod 744 /etc/init.d/amulevnc'' as root).&amp;lt;br&amp;gt;&lt;br /&gt;
Instead of modifying ''/etc/rc.d/rc.vnc'', I added links in the corresponding ''/etc/rc$RUNLEVEL.d'' directories.&amp;lt;br&amp;gt;&lt;br /&gt;
It's quite simple to understand how it works:&amp;lt;br&amp;gt;&lt;br /&gt;
Each directory represents a runlevel, and contains links to the scripts from ''/etc/init.d'' which need to be run/stop.&amp;lt;br&amp;gt;&lt;br /&gt;
For instance, the link ''/etc/rc5.d/S55sshd'' to ''/etc/init.d/sshd'' will start ''sshd'' on runlevel 5,&lt;br /&gt;
whereas ''/etc/rc6.d/K25sshd'' linked to ''/etc/init.d/sshd'' will stop it in runlevel 6.&amp;lt;br&amp;gt;&lt;br /&gt;
You get it? Links starting with 'KXX' will stop a service, and those starting with 'SXX' will start them. The number will define the order.&lt;br /&gt;
&lt;br /&gt;
So to run [http://www.redstonesoftware.com/vnc.html VNC] on startup, just do (as root :-) )&lt;br /&gt;
''re&amp;gt;ln -s /etc/init.d/amulevnc /etc/rc5.d/S99amule''&lt;br /&gt;
''ln -s /etc/init.d/amulevnc /etc/rc6.d/K02amule''&lt;br /&gt;
and you're all set!&lt;br /&gt;
&lt;br /&gt;
PS: This method should work on systems other than [http://www.mandrake.com Mandrake], give it a test.&lt;br /&gt;
&lt;br /&gt;
Questions &amp;amp; comments: ''air_1 '''at''' libertysurtf.fr''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== [http://www.gentoo.org Gentoo] ==&lt;br /&gt;
&lt;br /&gt;
For [http://www.gentoo.org Gentoo]'ers follow these steps:&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;ATENTION: THE BOOT PROCESS DOESN'T WORK, I'LL TRY TO FIX IT AS SOON AS POSSIBLE&amp;lt;/font&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Why, while my HD died a couple of days, I had to re-install [http://www.gentoo.org Gentoo] and I'm having some problems with [http://www.x.org X] and [http://fluxbox.sourceforge.net fluxbox], as soon as this is fixed, I'll be needing this to work, so change WILL be made to correct what's wrong. Sorry, --[[User:PedroAlgarvio|PedroAlgarvio]] 21:37, 2 May 2005 (CEST)&lt;br /&gt;
&lt;br /&gt;
=== Install [http://www.realvnc.com VNC] ===&lt;br /&gt;
&lt;br /&gt;
This is a how to for a server with no X window manager at all. I only run web and mail services, and o course, aMule. Adapt to you're sictuation.&lt;br /&gt;
I use [http://www.tightvnc.com TightVNC], but should also work with other [http://www.realvnc.com VNC]'s.&lt;br /&gt;
&lt;br /&gt;
 emerge tightvnc&lt;br /&gt;
&lt;br /&gt;
=== Configuring [http://www.realvnc.com VNC] ===&lt;br /&gt;
&lt;br /&gt;
==== Server Config ====&lt;br /&gt;
&lt;br /&gt;
To configure the [http://www.realvnc.com VNC] server, execute:&lt;br /&gt;
&lt;br /&gt;
 vncserver :1&lt;br /&gt;
&lt;br /&gt;
You'll be asked to answer some questions, such as password, answer accordingly. After you can kill it:&lt;br /&gt;
&lt;br /&gt;
 vncserver -kill :1&lt;br /&gt;
&lt;br /&gt;
==== Programs to Start ====&lt;br /&gt;
&lt;br /&gt;
Now let's config what should be started with this [http://www.realvnc.com VNC] session:&lt;br /&gt;
edit ~/.vnc/xstartup&lt;br /&gt;
&lt;br /&gt;
 vi ~/.vnc/xstartup&lt;br /&gt;
&lt;br /&gt;
You should see something like:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
&lt;br /&gt;
 xrdb $HOME/.Xresources&lt;br /&gt;
 xsetroot -solid grey&lt;br /&gt;
 xterm -geometry 80x24+10+10 -ls -title &amp;quot;$VNCDESKTOP Desktop&amp;quot; &amp;amp;&lt;br /&gt;
 twm &amp;amp;&lt;br /&gt;
&lt;br /&gt;
[http://www.x.org xterm] is a console, and [http://www.x.org twm] is the window manager. I use [http://fluxbox.sourceforge.net fluxbox], and don't want no terminal, just [[aMule]] so, it's like this:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
&lt;br /&gt;
 xrdb $HOME/.Xresources&lt;br /&gt;
 xsetroot -solid grey&lt;br /&gt;
 amule &amp;amp;&lt;br /&gt;
 fluxbox &amp;amp;&lt;br /&gt;
&lt;br /&gt;
=== Starting [http://www.realvnc.com VNC] at boot ===&lt;br /&gt;
&lt;br /&gt;
Since I won't be starting no Window Manager at boot, but still want [[aMule]] started with the user interface(you could just run [[aMuled]]), I'll need an init script:&lt;br /&gt;
&lt;br /&gt;
 vi /etc/init.d/vncserver&lt;br /&gt;
&lt;br /&gt;
Make it look like:&lt;br /&gt;
&lt;br /&gt;
 #!/sbin/runscript&lt;br /&gt;
 # Copyright 1999-2005 Gentoo Foundation&lt;br /&gt;
 # Distributed under the terms of the GNU General Public License v2&lt;br /&gt;
 # $Header: $&lt;br /&gt;
&lt;br /&gt;
 depend() {&lt;br /&gt;
        need net&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
 checkconfig() {&lt;br /&gt;
        ebegin &amp;quot;Check config&amp;quot;&lt;br /&gt;
        #PATH=&amp;quot;$PATH:/usr/X11R6/bin/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        # The Username that will run VNC&lt;br /&gt;
        USER=&amp;quot;vampas&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        # The display that VNC will use&lt;br /&gt;
        DISPLAY=&amp;quot;1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        # The Desktop geometry to use.&lt;br /&gt;
        #GEOMETRY=&amp;quot;&amp;lt;WIDTH&amp;gt;x&amp;lt;HEIGHT&amp;gt;&amp;quot;&lt;br /&gt;
        #GEOMETRY=&amp;quot;1280x1024&amp;quot;&lt;br /&gt;
        GEOMETRY=&amp;quot;1024x780&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        # The name that the VNC Desktop will have.&lt;br /&gt;
        NAME=&amp;quot;aMule&amp;quot;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
 start() {&lt;br /&gt;
        checkconfig&lt;br /&gt;
        ebegin &amp;quot;Starting vncserver for user ${USER} on localhost:${DISPLAY}&amp;quot;&lt;br /&gt;
        su ${USER} -c &amp;quot;/usr/bin/vncserver -name ${NAME} -geometry ${GEOMETRY} :${DISPLAY}&amp;quot;&lt;br /&gt;
        eend $?&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
 stop() {&lt;br /&gt;
        checkconfig&lt;br /&gt;
        ebegin &amp;quot;Stoping vncserver for user ${USER} on localhost:${DISPLAY}&amp;quot;&lt;br /&gt;
        su ${USER} -c &amp;quot;/usr/bin/vncserver -kill :${DISPLAY}&amp;quot;&lt;br /&gt;
        eend $?&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
 restart() {&lt;br /&gt;
        svc_stop&lt;br /&gt;
        svc_start&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Make it executable:&lt;br /&gt;
&lt;br /&gt;
 chmod +x /etc/init.d/vncserver&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now add it to boot:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 rc-update add vncserver default&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And you should be ready to go, if not ''&amp;lt;ufs AT sapo DOT pt&amp;gt;'' &lt;br /&gt;
&lt;br /&gt;
--[[User:PedroAlgarvio|PedroAlgarvio]] 06:10, 2 May 2005 (CEST)&lt;/div&gt;</summary>
		<author><name>147.83.41.10</name></author>	</entry>

	<entry>
		<id>http://test.amule.szerverem.hu/wiki/User:PedroAlgarvio</id>
		<title>User:PedroAlgarvio</title>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/User:PedroAlgarvio"/>
				<updated>2005-05-02T16:41:16Z</updated>
		
		<summary type="html">&lt;p&gt;147.83.41.10: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[aMule]] user&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;'''[[aMule]] concerns:'''&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Did the [[How_to_launch_VNC_with_aMule_at_Linux_boot#Gentoo|Gentoo aMule boot]] article&lt;/div&gt;</summary>
		<author><name>147.83.41.10</name></author>	</entry>

	<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>2005-05-02T16:40:03Z</updated>
		
		<summary type="html">&lt;p&gt;147.83.41.10: &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;
== General ==&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/X$theScreen'' is there in case the server crashes or your mother/wife/husband removes the power plug cleaning the room... ;-)&lt;br /&gt;
&lt;br /&gt;
''#!/bin/sh''&amp;lt;br&amp;gt;&lt;br /&gt;
''#''&amp;lt;br&amp;gt;&lt;br /&gt;
''# Startup/Stop script for vncserver.''&amp;lt;br&amp;gt;&lt;br /&gt;
''#''&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''#Here, the choosen user to run amule''&amp;lt;br&amp;gt;&lt;br /&gt;
''theUser=choosenuser''&amp;lt;br&amp;gt;&lt;br /&gt;
''#And here, the choosen screen to run the vncserver''&amp;lt;br&amp;gt;&lt;br /&gt;
''theScreen=1''&lt;br /&gt;
&lt;br /&gt;
''case &amp;quot;$1&amp;quot; in''&lt;br /&gt;
&lt;br /&gt;
'' 'start')''&lt;br /&gt;
''if [ -f /tmp/.X11-unix/X$theScreen ]; then rm /tmp/.X11-unix/X$theScreen; fi''&amp;lt;br&amp;gt;&lt;br /&gt;
''/bin/su - $theUser -c &amp;quot;PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin /usr/bin/vncserver :$theScreen&amp;quot;''&amp;lt;br&amp;gt;&lt;br /&gt;
'';;''&lt;br /&gt;
&lt;br /&gt;
'' 'stop')''&amp;lt;br&amp;gt;&lt;br /&gt;
''/bin/su - $theUser -c &amp;quot;PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin /usr/bin/vncserver -kill :$theScreen&amp;quot;''&amp;lt;br&amp;gt;&lt;br /&gt;
'';;''&lt;br /&gt;
&lt;br /&gt;
''*)''&amp;lt;br&amp;gt;&lt;br /&gt;
''echo &amp;quot;Usage: /etc/rc.d/rc.vnc { start | stop }&amp;quot;''&amp;lt;br&amp;gt;&lt;br /&gt;
'';;''&lt;br /&gt;
&lt;br /&gt;
''esac''&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;
Modify the following files:&lt;br /&gt;
&lt;br /&gt;
In ''/etc/rc.d/rc.local'' add:&lt;br /&gt;
&lt;br /&gt;
''# Start VNC server''&amp;lt;br&amp;gt;&lt;br /&gt;
''if [ -x /etc/rc.d/rc.vnc ]; then''&amp;lt;br&amp;gt;&lt;br /&gt;
''. /etc/rc.d/rc.vnc start''&amp;lt;br&amp;gt;&lt;br /&gt;
''fi''&lt;br /&gt;
&lt;br /&gt;
In ''/etc/rc.d/rc.6'' add:&lt;br /&gt;
&lt;br /&gt;
''# Shut down the VNC server''&amp;lt;br&amp;gt;&lt;br /&gt;
''if [ -x /etc/rc.d/rc.vnc ]; then''&amp;lt;br&amp;gt;&lt;br /&gt;
''/etc/rc.d/rc.vnc stop''&amp;lt;br&amp;gt;&lt;br /&gt;
''fi''&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;
''amule &amp;amp;''&lt;br /&gt;
&lt;br /&gt;
== On [http://www.debian.org Debian] Woody ==&lt;br /&gt;
&lt;br /&gt;
Run (as root):&lt;br /&gt;
&lt;br /&gt;
''apt-get install vncserver xvncviewer flwm''&lt;br /&gt;
&lt;br /&gt;
There is no support for ''~/.vnc/xstartup'' so, instead, use ''$vncStartup'' in ''.vncrc'' to determine a xstartup-script (this replaces your ''~/.xsession'' file).&lt;br /&gt;
&lt;br /&gt;
For more information, read ''man vnc.conf''&lt;br /&gt;
&lt;br /&gt;
For example, in a Woody/Sarge/Sid:&amp;lt;br&amp;gt;&lt;br /&gt;
Login as the user who is going to run [[aMule]]&amp;lt;br&amp;gt;&lt;br /&gt;
''mkdir ~/.vnc/''&amp;lt;br&amp;gt;&lt;br /&gt;
Create the ''~/.vnc/xstartup'' file, with the next content&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''/usr/bin/flwm &amp;amp;''&amp;lt;br&amp;gt;&lt;br /&gt;
''/usr/bin/amule &amp;amp;''&amp;lt;br&amp;gt;&lt;br /&gt;
''/usr/bin/amule &amp;amp;''&lt;br /&gt;
&lt;br /&gt;
With sone versions of [http://www.redstonesoftware.com/vnc.html vncserver], it's necessary to launch at least twice the [[aMule]]. The [http://flwm.sourceforge.net flwm] is an optional window manager.&lt;br /&gt;
&lt;br /&gt;
Create the file ''~/.vncrc'' with the next content:&amp;lt;br&amp;gt;&lt;br /&gt;
Login as the user and run ''xvncviewer :1'' to create the password file and debug possible probelms (the logs are under the ''~/.vnc/'' dir&lt;br /&gt;
&lt;br /&gt;
''$vncStartup = &amp;quot;/home/amule/.vnc/xstartup&amp;quot;;''&amp;lt;br&amp;gt;&lt;br /&gt;
''$geometry =&amp;quot;800x600&amp;quot;;''&lt;br /&gt;
&lt;br /&gt;
(replace ''/home/amule'' for the home of the user running [http://www.redstonesoftware.com/vnc.html VNC])&lt;br /&gt;
&lt;br /&gt;
To show the [[aMule]] window, run:&lt;br /&gt;
''xvncviewer localhost:1''&lt;br /&gt;
&lt;br /&gt;
If you want to autostart a [http://www.redstonesoftware.com/vnc.html VNC] session on system startup, you can put a line in ''/etc/init.d/bootmisc.sh'' like this:&lt;br /&gt;
&lt;br /&gt;
''su '''username''' -c vncserver''&lt;br /&gt;
&lt;br /&gt;
Replace '''username'''  with the name of the user that you want to launch vnc. (Added by '''ghent''')&lt;br /&gt;
&lt;br /&gt;
== To start [[aMuleWeb]] also at startup: ==&lt;br /&gt;
&lt;br /&gt;
This is probably the most unelegant way to do this, but it seems to work.&lt;br /&gt;
&lt;br /&gt;
The problem is that you have to supply user input when starting [[aMuleWeb]] (the password).&lt;br /&gt;
&lt;br /&gt;
You can circumvent this with supplying a password with the ''-pw'' option: ''amuleweb -pw &amp;quot;&amp;quot;'' (this is for no password, you have to remove the [http://www.ietf.org/rfc/rfc1321.txt MD5 sum] from the ''ECPassword'' entry in your ''~/.eMule'' file for this to work).&lt;br /&gt;
&lt;br /&gt;
Now [[aMuleWeb]] starts without any user input, but unfortunately it wouldn't work when we would just add it to the xstartup-file, because [[aMule]] needs a few seconds more to start up.&lt;br /&gt;
&lt;br /&gt;
Therefor we have to start [[aMuleWeb]] a few seconds after [[aMule]].&lt;br /&gt;
&lt;br /&gt;
To achieve this, we add a line similar to this one:&lt;br /&gt;
&lt;br /&gt;
''/bin/sh /home/aMule/amuleweb-start.sh &amp;amp;''&lt;br /&gt;
&lt;br /&gt;
to the xstartup-file.&lt;br /&gt;
&lt;br /&gt;
And in the home-directory, we create a file called ''amuleweb-start.sh'', with the following content:&lt;br /&gt;
&lt;br /&gt;
  #! /bin/sh&lt;br /&gt;
  sleep 30;&lt;br /&gt;
  /usr/bin/amuleweb -pw &amp;quot;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
That's all.&lt;br /&gt;
&lt;br /&gt;
Like I said, probably extremely amateurish, but it should work...&lt;br /&gt;
&lt;br /&gt;
== [http://www.mandrake.com Mandrake] 10.0 ==&lt;br /&gt;
&lt;br /&gt;
The script from [[User:Frankk|Frankk]] is the one I use, but you can customize the size of the [http://www.redstonesoftware.com/vnc.html VNC] server :&lt;br /&gt;
''/bin/su - $theUser -c &amp;quot;PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin /usr/bin/vncserver :$theScreen&amp;quot;''&lt;br /&gt;
&lt;br /&gt;
add&lt;br /&gt;
&lt;br /&gt;
''/bin/su - $theUser -c &amp;quot;PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin /usr/bin/vncserver :$theScreen -geometry 1240x980&amp;quot;''&lt;br /&gt;
&lt;br /&gt;
or whatever value.&lt;br /&gt;
&lt;br /&gt;
Personaly, I use as xstartup script ([http://www.icewm.org iceWM] is really nice and so CPU-cheap) :&lt;br /&gt;
&lt;br /&gt;
''#!/bin/sh''&amp;lt;br&amp;gt;&lt;br /&gt;
''starticewm&amp;amp;''&amp;lt;br&amp;gt;&lt;br /&gt;
''amule''&lt;br /&gt;
&lt;br /&gt;
To start [http://www.redstonesoftware.com/vnc.html VNC] at startup, I called the previous script ''/etc/init.d/amulevnc'' and chmod to 744 (''chmod 744 /etc/init.d/amulevnc'' as root).&amp;lt;br&amp;gt;&lt;br /&gt;
Instead of modifying ''/etc/rc.d/rc.vnc'', I added links in the corresponding ''/etc/rc$RUNLEVEL.d'' directories.&amp;lt;br&amp;gt;&lt;br /&gt;
It's quite simple to understand how it works:&amp;lt;br&amp;gt;&lt;br /&gt;
Each directory represents a runlevel, and contains links to the scripts from ''/etc/init.d'' which need to be run/stop.&amp;lt;br&amp;gt;&lt;br /&gt;
For instance, the link ''/etc/rc5.d/S55sshd'' to ''/etc/init.d/sshd'' will start ''sshd'' on runlevel 5,&lt;br /&gt;
whereas ''/etc/rc6.d/K25sshd'' linked to ''/etc/init.d/sshd'' will stop it in runlevel 6.&amp;lt;br&amp;gt;&lt;br /&gt;
You get it? Links starting with 'KXX' will stop a service, and those starting with 'SXX' will start them. The number will define the order.&lt;br /&gt;
&lt;br /&gt;
So to run [http://www.redstonesoftware.com/vnc.html VNC] on startup, just do (as root :-) )&lt;br /&gt;
''re&amp;gt;ln -s /etc/init.d/amulevnc /etc/rc5.d/S99amule''&lt;br /&gt;
''ln -s /etc/init.d/amulevnc /etc/rc6.d/K02amule''&lt;br /&gt;
and you're all set!&lt;br /&gt;
&lt;br /&gt;
PS: This method should work on systems other than [http://www.mandrake.com Mandrake], give it a test.&lt;br /&gt;
&lt;br /&gt;
Questions &amp;amp; comments: ''air_1 '''at''' libertysurtf.fr''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== [http://www.gentoo.org Gentoo] ==&lt;br /&gt;
&lt;br /&gt;
For [http://www.gentoo.org Gentoo]'ers follow these steps:&lt;br /&gt;
&lt;br /&gt;
=== Install [http://www.realvnc.com VNC] ===&lt;br /&gt;
&lt;br /&gt;
This is a how to for a server with no X window manager at all. I only run web and mail services, and o course, aMule. Adapt to you're sictuation.&lt;br /&gt;
I use [http://www.tightvnc.com TightVNC], but should also work with other [http://www.realvnc.com VNC]'s.&lt;br /&gt;
&lt;br /&gt;
 emerge tightvnc&lt;br /&gt;
&lt;br /&gt;
=== Configuring [http://www.realvnc.com VNC] ===&lt;br /&gt;
&lt;br /&gt;
==== Server Config ====&lt;br /&gt;
&lt;br /&gt;
To configure the [http://www.realvnc.com VNC] server, execute:&lt;br /&gt;
&lt;br /&gt;
 vncserver :1&lt;br /&gt;
&lt;br /&gt;
You'll be asked to answer some questions, such as password, answer accordingly. After you can kill it:&lt;br /&gt;
&lt;br /&gt;
 vncserver -kill :1&lt;br /&gt;
&lt;br /&gt;
==== Programs to Start ====&lt;br /&gt;
&lt;br /&gt;
Now let's config what should be started with this [http://www.realvnc.com VNC] session:&lt;br /&gt;
edit ~/.vnc/xstartup&lt;br /&gt;
&lt;br /&gt;
 vi ~/.vnc/xstartup&lt;br /&gt;
&lt;br /&gt;
You should see something like:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
&lt;br /&gt;
 xrdb $HOME/.Xresources&lt;br /&gt;
 xsetroot -solid grey&lt;br /&gt;
 xterm -geometry 80x24+10+10 -ls -title &amp;quot;$VNCDESKTOP Desktop&amp;quot; &amp;amp;&lt;br /&gt;
 twm &amp;amp;&lt;br /&gt;
&lt;br /&gt;
[http://www.x.org xterm] is a console, and [http://www.x.org twm] is the window manager. I use http://fluxbox.sourceforge.net fluxbox], and don't want no terminal, just [[aMule]] so, it's like this:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
&lt;br /&gt;
 xrdb $HOME/.Xresources&lt;br /&gt;
 xsetroot -solid grey&lt;br /&gt;
 amule &amp;amp;&lt;br /&gt;
 fluxbox &amp;amp;&lt;br /&gt;
&lt;br /&gt;
=== Starting [http://www.realvnc.com VNC] at boot ===&lt;br /&gt;
&lt;br /&gt;
Since I won't be starting no Window Manager at boot, but still want [[aMule]] started with the user interface(you could just run [[aMuled]]), I'll need an init script:&lt;br /&gt;
&lt;br /&gt;
 vi /etc/init.d/vncserver&lt;br /&gt;
&lt;br /&gt;
Make it look like:&lt;br /&gt;
&lt;br /&gt;
 #!/sbin/runscript&lt;br /&gt;
 # Copyright 1999-2005 Gentoo Foundation&lt;br /&gt;
 # Distributed under the terms of the GNU General Public License v2&lt;br /&gt;
 # $Header: $&lt;br /&gt;
&lt;br /&gt;
 depend() {&lt;br /&gt;
        need net&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
 checkconfig() {&lt;br /&gt;
        ebegin &amp;quot;Check config&amp;quot;&lt;br /&gt;
        #PATH=&amp;quot;$PATH:/usr/X11R6/bin/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        # The Username that will run VNC&lt;br /&gt;
        USER=&amp;quot;vampas&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        # The display that VNC will use&lt;br /&gt;
        DISPLAY=&amp;quot;1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        # The Desktop geometry to use.&lt;br /&gt;
        #GEOMETRY=&amp;quot;&amp;lt;WIDTH&amp;gt;x&amp;lt;HEIGHT&amp;gt;&amp;quot;&lt;br /&gt;
        #GEOMETRY=&amp;quot;1280x1024&amp;quot;&lt;br /&gt;
        GEOMETRY=&amp;quot;1024x780&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        # The name that the VNC Desktop will have.&lt;br /&gt;
        NAME=&amp;quot;aMule&amp;quot;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
 start() {&lt;br /&gt;
        checkconfig&lt;br /&gt;
        ebegin &amp;quot;Starting vncserver for user ${USER} on localhost:${DISPLAY}&amp;quot;&lt;br /&gt;
        su ${USER} -c &amp;quot;/usr/bin/vncserver -name ${NAME} -geometry ${GEOMETRY} :${DISPLAY}&amp;quot;&lt;br /&gt;
        eend $?&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
 stop() {&lt;br /&gt;
        checkconfig&lt;br /&gt;
        ebegin &amp;quot;Stoping vncserver for user ${USER} on localhost:${DISPLAY}&amp;quot;&lt;br /&gt;
        su ${USER} -c &amp;quot;/usr/bin/vncserver -kill :${DISPLAY}&amp;quot;&lt;br /&gt;
        eend $?&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
 restart() {&lt;br /&gt;
        stop&lt;br /&gt;
        start&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Make it executable:&lt;br /&gt;
&lt;br /&gt;
 chmod +x /etc/init.d/vncserver&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now add it to boot:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 rc-update add vncserver default&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And you should be ready to go, if not ''&amp;lt;ufs AT sapo DOT pt&amp;gt;'' &lt;br /&gt;
&lt;br /&gt;
--[[User:PedroAlgarvio|PedroAlgarvio]] 06:10, 2 May 2005 (CEST)&lt;/div&gt;</summary>
		<author><name>147.83.41.10</name></author>	</entry>

	<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>2005-05-02T16:38:37Z</updated>
		
		<summary type="html">&lt;p&gt;147.83.41.10: &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;
== General ==&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/X$theScreen'' is there in case the server crashes or your mother/wife/husband removes the power plug cleaning the room... ;-)&lt;br /&gt;
&lt;br /&gt;
''#!/bin/sh''&amp;lt;br&amp;gt;&lt;br /&gt;
''#''&amp;lt;br&amp;gt;&lt;br /&gt;
''# Startup/Stop script for vncserver.''&amp;lt;br&amp;gt;&lt;br /&gt;
''#''&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''#Here, the choosen user to run amule''&amp;lt;br&amp;gt;&lt;br /&gt;
''theUser=choosenuser''&amp;lt;br&amp;gt;&lt;br /&gt;
''#And here, the choosen screen to run the vncserver''&amp;lt;br&amp;gt;&lt;br /&gt;
''theScreen=1''&lt;br /&gt;
&lt;br /&gt;
''case &amp;quot;$1&amp;quot; in''&lt;br /&gt;
&lt;br /&gt;
'' 'start')''&lt;br /&gt;
''if [ -f /tmp/.X11-unix/X$theScreen ]; then rm /tmp/.X11-unix/X$theScreen; fi''&amp;lt;br&amp;gt;&lt;br /&gt;
''/bin/su - $theUser -c &amp;quot;PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin /usr/bin/vncserver :$theScreen&amp;quot;''&amp;lt;br&amp;gt;&lt;br /&gt;
'';;''&lt;br /&gt;
&lt;br /&gt;
'' 'stop')''&amp;lt;br&amp;gt;&lt;br /&gt;
''/bin/su - $theUser -c &amp;quot;PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin /usr/bin/vncserver -kill :$theScreen&amp;quot;''&amp;lt;br&amp;gt;&lt;br /&gt;
'';;''&lt;br /&gt;
&lt;br /&gt;
''*)''&amp;lt;br&amp;gt;&lt;br /&gt;
''echo &amp;quot;Usage: /etc/rc.d/rc.vnc { start | stop }&amp;quot;''&amp;lt;br&amp;gt;&lt;br /&gt;
'';;''&lt;br /&gt;
&lt;br /&gt;
''esac''&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;
Modify the following files:&lt;br /&gt;
&lt;br /&gt;
In ''/etc/rc.d/rc.local'' add:&lt;br /&gt;
&lt;br /&gt;
''# Start VNC server''&amp;lt;br&amp;gt;&lt;br /&gt;
''if [ -x /etc/rc.d/rc.vnc ]; then''&amp;lt;br&amp;gt;&lt;br /&gt;
''. /etc/rc.d/rc.vnc start''&amp;lt;br&amp;gt;&lt;br /&gt;
''fi''&lt;br /&gt;
&lt;br /&gt;
In ''/etc/rc.d/rc.6'' add:&lt;br /&gt;
&lt;br /&gt;
''# Shut down the VNC server''&amp;lt;br&amp;gt;&lt;br /&gt;
''if [ -x /etc/rc.d/rc.vnc ]; then''&amp;lt;br&amp;gt;&lt;br /&gt;
''/etc/rc.d/rc.vnc stop''&amp;lt;br&amp;gt;&lt;br /&gt;
''fi''&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;
''amule &amp;amp;''&lt;br /&gt;
&lt;br /&gt;
== On [http://www.debian.org Debian] Woody ==&lt;br /&gt;
&lt;br /&gt;
Run (as root):&lt;br /&gt;
&lt;br /&gt;
''apt-get install vncserver xvncviewer flwm''&lt;br /&gt;
&lt;br /&gt;
There is no support for ''~/.vnc/xstartup'' so, instead, use ''$vncStartup'' in ''.vncrc'' to determine a xstartup-script (this replaces your ''~/.xsession'' file).&lt;br /&gt;
&lt;br /&gt;
For more information, read ''man vnc.conf''&lt;br /&gt;
&lt;br /&gt;
For example, in a Woody/Sarge/Sid:&amp;lt;br&amp;gt;&lt;br /&gt;
Login as the user who is going to run [[aMule]]&amp;lt;br&amp;gt;&lt;br /&gt;
''mkdir ~/.vnc/''&amp;lt;br&amp;gt;&lt;br /&gt;
Create the ''~/.vnc/xstartup'' file, with the next content&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''/usr/bin/flwm &amp;amp;''&amp;lt;br&amp;gt;&lt;br /&gt;
''/usr/bin/amule &amp;amp;''&amp;lt;br&amp;gt;&lt;br /&gt;
''/usr/bin/amule &amp;amp;''&lt;br /&gt;
&lt;br /&gt;
With sone versions of [http://www.redstonesoftware.com/vnc.html vncserver], it's necessary to launch at least twice the [[aMule]]. The [http://flwm.sourceforge.net flwm] is an optional window manager.&lt;br /&gt;
&lt;br /&gt;
Create the file ''~/.vncrc'' with the next content:&amp;lt;br&amp;gt;&lt;br /&gt;
Login as the user and run ''xvncviewer :1'' to create the password file and debug possible probelms (the logs are under the ''~/.vnc/'' dir&lt;br /&gt;
&lt;br /&gt;
''$vncStartup = &amp;quot;/home/amule/.vnc/xstartup&amp;quot;;''&amp;lt;br&amp;gt;&lt;br /&gt;
''$geometry =&amp;quot;800x600&amp;quot;;''&lt;br /&gt;
&lt;br /&gt;
(replace ''/home/amule'' for the home of the user running [http://www.redstonesoftware.com/vnc.html VNC])&lt;br /&gt;
&lt;br /&gt;
To show the [[aMule]] window, run:&lt;br /&gt;
''xvncviewer localhost:1''&lt;br /&gt;
&lt;br /&gt;
If you want to autostart a [http://www.redstonesoftware.com/vnc.html VNC] session on system startup, you can put a line in ''/etc/init.d/bootmisc.sh'' like this:&lt;br /&gt;
&lt;br /&gt;
''su '''username''' -c vncserver''&lt;br /&gt;
&lt;br /&gt;
Replace '''username'''  with the name of the user that you want to launch vnc. (Added by '''ghent''')&lt;br /&gt;
&lt;br /&gt;
== To start [[aMuleWeb]] also at startup: ==&lt;br /&gt;
&lt;br /&gt;
This is probably the most unelegant way to do this, but it seems to work.&lt;br /&gt;
&lt;br /&gt;
The problem is that you have to supply user input when starting [[aMuleWeb]] (the password).&lt;br /&gt;
&lt;br /&gt;
You can circumvent this with supplying a password with the ''-pw'' option: ''amuleweb -pw &amp;quot;&amp;quot;'' (this is for no password, you have to remove the [http://www.ietf.org/rfc/rfc1321.txt MD5 sum] from the ''ECPassword'' entry in your ''~/.eMule'' file for this to work).&lt;br /&gt;
&lt;br /&gt;
Now [[aMuleWeb]] starts without any user input, but unfortunately it wouldn't work when we would just add it to the xstartup-file, because [[aMule]] needs a few seconds more to start up.&lt;br /&gt;
&lt;br /&gt;
Therefor we have to start [[aMuleWeb]] a few seconds after [[aMule]].&lt;br /&gt;
&lt;br /&gt;
To achieve this, we add a line similar to this one:&lt;br /&gt;
&lt;br /&gt;
''/bin/sh /home/aMule/amuleweb-start.sh &amp;amp;''&lt;br /&gt;
&lt;br /&gt;
to the xstartup-file.&lt;br /&gt;
&lt;br /&gt;
And in the home-directory, we create a file called ''amuleweb-start.sh'', with the following content:&lt;br /&gt;
&lt;br /&gt;
  #! /bin/sh&lt;br /&gt;
  sleep 30;&lt;br /&gt;
  /usr/bin/amuleweb -pw &amp;quot;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
That's all.&lt;br /&gt;
&lt;br /&gt;
Like I said, probably extremely amateurish, but it should work...&lt;br /&gt;
&lt;br /&gt;
== [http://www.mandrake.com Mandrake] 10.0 ==&lt;br /&gt;
&lt;br /&gt;
The script from [[User:Frankk|Frankk]] is the one I use, but you can customize the size of the [http://www.redstonesoftware.com/vnc.html VNC] server :&lt;br /&gt;
''/bin/su - $theUser -c &amp;quot;PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin /usr/bin/vncserver :$theScreen&amp;quot;''&lt;br /&gt;
&lt;br /&gt;
add&lt;br /&gt;
&lt;br /&gt;
''/bin/su - $theUser -c &amp;quot;PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin /usr/bin/vncserver :$theScreen -geometry 1240x980&amp;quot;''&lt;br /&gt;
&lt;br /&gt;
or whatever value.&lt;br /&gt;
&lt;br /&gt;
Personaly, I use as xstartup script ([http://www.icewm.org iceWM] is really nice and so CPU-cheap) :&lt;br /&gt;
&lt;br /&gt;
''#!/bin/sh''&amp;lt;br&amp;gt;&lt;br /&gt;
''starticewm&amp;amp;''&amp;lt;br&amp;gt;&lt;br /&gt;
''amule''&lt;br /&gt;
&lt;br /&gt;
To start [http://www.redstonesoftware.com/vnc.html VNC] at startup, I called the previous script ''/etc/init.d/amulevnc'' and chmod to 744 (''chmod 744 /etc/init.d/amulevnc'' as root).&amp;lt;br&amp;gt;&lt;br /&gt;
Instead of modifying ''/etc/rc.d/rc.vnc'', I added links in the corresponding ''/etc/rc$RUNLEVEL.d'' directories.&amp;lt;br&amp;gt;&lt;br /&gt;
It's quite simple to understand how it works:&amp;lt;br&amp;gt;&lt;br /&gt;
Each directory represents a runlevel, and contains links to the scripts from ''/etc/init.d'' which need to be run/stop.&amp;lt;br&amp;gt;&lt;br /&gt;
For instance, the link ''/etc/rc5.d/S55sshd'' to ''/etc/init.d/sshd'' will start ''sshd'' on runlevel 5,&lt;br /&gt;
whereas ''/etc/rc6.d/K25sshd'' linked to ''/etc/init.d/sshd'' will stop it in runlevel 6.&amp;lt;br&amp;gt;&lt;br /&gt;
You get it? Links starting with 'KXX' will stop a service, and those starting with 'SXX' will start them. The number will define the order.&lt;br /&gt;
&lt;br /&gt;
So to run [http://www.redstonesoftware.com/vnc.html VNC] on startup, just do (as root :-) )&lt;br /&gt;
''re&amp;gt;ln -s /etc/init.d/amulevnc /etc/rc5.d/S99amule''&lt;br /&gt;
''ln -s /etc/init.d/amulevnc /etc/rc6.d/K02amule''&lt;br /&gt;
and you're all set!&lt;br /&gt;
&lt;br /&gt;
PS: This method should work on systems other than [http://www.mandrake.com Mandrake], give it a test.&lt;br /&gt;
&lt;br /&gt;
Questions &amp;amp; comments: ''air_1 '''at''' libertysurtf.fr''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== [http://www.gentoo.org Gentoo] ==&lt;br /&gt;
&lt;br /&gt;
For [http://www.gentoo.org Gentoo]'ers follow these steps:&lt;br /&gt;
&lt;br /&gt;
=== Install [http://www.realvnc.com VNC] ===&lt;br /&gt;
&lt;br /&gt;
This is a how to for a server with no X window manager at all. I only run web and mail services, and o course, aMule. Adapt to you're sictuation.&lt;br /&gt;
I use [http://www.tightvnc.com TightVNC], but should also work with other [http://www.realvnc.com VNC]'s.&lt;br /&gt;
&lt;br /&gt;
 emerge tightvnc&lt;br /&gt;
&lt;br /&gt;
=== Configuring [http://www.realvnc.com VNC] ===&lt;br /&gt;
&lt;br /&gt;
==== Server Config ====&lt;br /&gt;
&lt;br /&gt;
To configure the [http://www.realvnc.com VNC] server, execute:&lt;br /&gt;
&lt;br /&gt;
 vncserver :1&lt;br /&gt;
&lt;br /&gt;
You'll be asked to answer some questions, such as password, answer accordingly. After you can kill it:&lt;br /&gt;
&lt;br /&gt;
 vncserver -kill :1&lt;br /&gt;
&lt;br /&gt;
==== Programs to Start ====&lt;br /&gt;
&lt;br /&gt;
Now let's config what should be started with this [http://www.realvnc.com VNC] session:&lt;br /&gt;
edit ~/.vnc/xstartup&lt;br /&gt;
&lt;br /&gt;
 vi ~/.vnc/xstartup&lt;br /&gt;
&lt;br /&gt;
You should see something like:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
&lt;br /&gt;
 xrdb $HOME/.Xresources&lt;br /&gt;
 xsetroot -solid grey&lt;br /&gt;
 xterm -geometry 80x24+10+10 -ls -title &amp;quot;$VNCDESKTOP Desktop&amp;quot; &amp;amp;&lt;br /&gt;
 twm &amp;amp;&lt;br /&gt;
&lt;br /&gt;
[http://www.x.org xterm] is a console, and [http://www.x.org twm] is the window manager. I use http://fluxbox.sourceforge.net fluxbox], and don't want no terminal, just [[aMule]] so, it's like this:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
&lt;br /&gt;
 xrdb $HOME/.Xresources&lt;br /&gt;
 xsetroot -solid grey&lt;br /&gt;
 amule &amp;amp;&lt;br /&gt;
 fluxbox &amp;amp;&lt;br /&gt;
&lt;br /&gt;
=== Starting VNC at boot ===&lt;br /&gt;
&lt;br /&gt;
Since I won't be starting no Window Manager at boot, but still want aMule started with the user interface(you could just run the *amuled*), I'll need an init script:&lt;br /&gt;
&lt;br /&gt;
 vi /etc/init.d/vncserver&lt;br /&gt;
&lt;br /&gt;
Make it look like:&lt;br /&gt;
&lt;br /&gt;
 #!/sbin/runscript&lt;br /&gt;
 # Copyright 1999-2005 Gentoo Foundation&lt;br /&gt;
 # Distributed under the terms of the GNU General Public License v2&lt;br /&gt;
 # $Header: $&lt;br /&gt;
&lt;br /&gt;
 depend() {&lt;br /&gt;
        need net&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
 checkconfig() {&lt;br /&gt;
        ebegin &amp;quot;Check config&amp;quot;&lt;br /&gt;
        #PATH=&amp;quot;$PATH:/usr/X11R6/bin/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        # The Username that will run VNC&lt;br /&gt;
        USER=&amp;quot;vampas&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        # The display that VNC will use&lt;br /&gt;
        DISPLAY=&amp;quot;1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        # The Desktop geometry to use.&lt;br /&gt;
        #GEOMETRY=&amp;quot;&amp;lt;WIDTH&amp;gt;x&amp;lt;HEIGHT&amp;gt;&amp;quot;&lt;br /&gt;
        #GEOMETRY=&amp;quot;1280x1024&amp;quot;&lt;br /&gt;
        GEOMETRY=&amp;quot;1024x780&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        # The name that the VNC Desktop will have.&lt;br /&gt;
        NAME=&amp;quot;aMule&amp;quot;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
 start() {&lt;br /&gt;
        checkconfig&lt;br /&gt;
        ebegin &amp;quot;Starting vncserver for user ${USER} on localhost:${DISPLAY}&amp;quot;&lt;br /&gt;
        su ${USER} -c &amp;quot;/usr/bin/vncserver -name ${NAME} -geometry ${GEOMETRY} :${DISPLAY}&amp;quot;&lt;br /&gt;
        eend $?&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
 stop() {&lt;br /&gt;
        checkconfig&lt;br /&gt;
        ebegin &amp;quot;Stoping vncserver for user ${USER} on localhost:${DISPLAY}&amp;quot;&lt;br /&gt;
        su ${USER} -c &amp;quot;/usr/bin/vncserver -kill :${DISPLAY}&amp;quot;&lt;br /&gt;
        eend $?&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
 restart() {&lt;br /&gt;
        stop&lt;br /&gt;
        start&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Make it executable:&lt;br /&gt;
&lt;br /&gt;
 chmod +x /etc/init.d/vncserver&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now add it to boot:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 rc-update add vncserver default&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And you should be ready to go, if not &amp;lt;ufs AT sapo DOT pt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
--[[User:PedroAlgarvio|PedroAlgarvio]] 06:10, 2 May 2005 (CEST)&lt;/div&gt;</summary>
		<author><name>147.83.41.10</name></author>	</entry>

	<entry>
		<id>http://test.amule.szerverem.hu/wiki/HowTo_compile_on_Win32_with_MinGW</id>
		<title>HowTo compile on Win32 with MinGW</title>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/HowTo_compile_on_Win32_with_MinGW"/>
				<updated>2005-05-02T16:25:45Z</updated>
		
		<summary type="html">&lt;p&gt;147.83.41.10: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;center&amp;gt;&amp;lt;h2&amp;gt;Originally by '''Madcat'''&amp;lt;/h2&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This wiki page only supports the lastest [[aMule_CVS|CVS]] version of [[aMule]].&lt;br /&gt;
&lt;br /&gt;
==  List of things you need to compile [[aMule]]  ==&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Some of these require manually moving includes/libs into the right directories.&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/windows Windows] port of [http://gcc.gnu.org GNU C compiler] -&amp;gt; [http://prdownloads.sf.net/mingw/MinGW-3.1.0-1.exe?download Download]&lt;br /&gt;
&lt;br /&gt;
Minimal [http://www.gnu.org GNU] shell for [http://www.microsoft.com/windows Windows] -&amp;gt; [http://prdownloads.sf.net/mingw/MSYS-1.0.10.exe?download Download]&lt;br /&gt;
&lt;br /&gt;
Developer toolkit for [http://www.mingw.org/msys.shtml MSys] (for [http://www.gnu.org/software/cvs CVS] &amp;amp; co) -&amp;gt; [http://prdownloads.sf.net/mingw/msysDTK-1.0.1.exe?download Download]&lt;br /&gt;
&lt;br /&gt;
[http://www.gnu.org/software/libiconv LibIConv] (required by [http://www.gnu.org/software/gettext gettext]) -&amp;gt;&lt;br /&gt;
[http://prdownloads.sf.net/mingw/libiconv-1.8.0-2003.02.01-1.exe?download Download]&lt;br /&gt;
&lt;br /&gt;
[http://www.gnu.org/software/gettext GetText] (for [http://www.gnu.org/software/gettext po files], [http://www.gnu.org/software/automake/automake.html autogen.sh], etc) -&amp;gt;&lt;br /&gt;
[http://prdownloads.sf.net/mingw/gettext-0.11.5-2003.02.01-1.exe?download Download]&lt;br /&gt;
&lt;br /&gt;
[http://www.zlib.org zlib] compression library -&amp;gt;&lt;br /&gt;
[http://www.zlib.net/zlib-1.2.2.tar.gz Download]&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/windows Windows] port of [[wxWidgets]] library -&amp;gt;&lt;br /&gt;
[http://prdownloads.sourceforge.net/wxwindows/wxMSW-2.6.0.zip Download]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Common guidelines, issues, solutions ==&lt;br /&gt;
&lt;br /&gt;
When compiling [[wxWidgets]], you should make use of the following configure flags:&lt;br /&gt;
''--disable-shared --without-checklistbox''&lt;br /&gt;
&lt;br /&gt;
Link statically against ''[http://www.zlib.org zlib]'' to avoid distributing extranous DLLs (and generally make life simpler). &lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
&lt;br /&gt;
The compilation itself it's actually just a matter of following the usual compilation way: ''./configure &amp;amp;&amp;amp; make''&lt;br /&gt;
&lt;br /&gt;
However, [http://www.zlib.org zlib] detection might fail. If that's the case, you need to add ''--with-zlib=/local/'' to yout configure flags.&lt;br /&gt;
&lt;br /&gt;
==  Compiling with [http://www.parinya.ca/mingwstudio.html MinGW Studio]  ==&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' The compilation with [http://www.parinya.ca/mingwstudio.html MinGW Studio] is deprecated right now and generally doesn't work at the moment. Might work again in the future.&lt;br /&gt;
&lt;br /&gt;
Since the 2004/07/17, you can find in [http://www.gnu.org/software/cvs CVS] the file ''amule.msp'' which is the project file relative to the [http://www.parinya.ca/mingwstudio.html MinGW Studio] IDE ([http://www.gnu.org/philosophy/free-sw.html Free] and under [http://www.gnu.org/copyleft/gpl.html GPL] at http://www.parinya.ca/ and shipped with precompiled [[wxWidgets|wxMSW]]). &lt;br /&gt;
&lt;br /&gt;
Install [http://www.parinya.ca/mingwstudio.html MinGW Studio], add [http://www.zlib.org Zlib] and [http://curl.haxx.se Curl] compiled libs in The [http://www.parinya.ca/mingwstudio.html MinGW Studio] tree.&lt;br /&gt;
&lt;br /&gt;
Then, open ''amule.msp'' with [http://www.parinya.ca/mingwstudio.html MinGW Studio], press '''F7''', and [[aMule]] &amp;quot;should&amp;quot; be compiled :)&lt;br /&gt;
&lt;br /&gt;
Yes, I know, &amp;quot;compile&amp;quot; is not the same as &amp;quot;work&amp;quot; ... But it is a great begining&lt;/div&gt;</summary>
		<author><name>147.83.41.10</name></author>	</entry>

	<entry>
		<id>http://test.amule.szerverem.hu/wiki/Firewall</id>
		<title>Firewall</title>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/Firewall"/>
				<updated>2005-01-09T12:41:31Z</updated>
		
		<summary type="html">&lt;p&gt;147.83.41.10: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''NOTE:''' If you run [http://www.suse.com SuSE Linux], try [[Firewall_SuSE|this HowTo]] first.&lt;br /&gt;
&lt;br /&gt;
If you set TCP port in [[aMule]] to XX and UDP port to YY then you have to set your firewall like this:&lt;br /&gt;
&lt;br /&gt;
''iptables -A INPUT -p tcp  --dport '''XX''' -j ACCEPT''&amp;lt;br&amp;gt;&lt;br /&gt;
''iptables  -A INPUT -p udp  --dport '''XX+3''' -j ACCEPT''&amp;lt;br&amp;gt;&lt;br /&gt;
''iptables -A INPUT  -p udp  --dport '''YY''' -j ACCEPT''&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you want to setup [[aMule]] behind a NAT gateway, you should add these lines to your [http://www.netfilter.org iptables] configuration script, on the gateway :&lt;br /&gt;
&lt;br /&gt;
''EXTIF'' is your external interface&lt;br /&gt;
&lt;br /&gt;
''EMULEPORT='''4662'''''&amp;lt;br&amp;gt;&lt;br /&gt;
''EMULEUDP='''4672'''''&amp;lt;br&amp;gt;&lt;br /&gt;
''EMULEUDP2=`expr $EMULEPORT + 3`''&amp;lt;br&amp;gt;&lt;br /&gt;
''EMULEHOST='''10.0.0.2'''''&amp;lt;br&amp;gt;&lt;br /&gt;
''iptables -t nat -A PREROUTING -i $EXTIF -p tcp --destination-port $EMULEPORT -j DNAT --to-destination $EMULEHOST:$EMULEPORT''&amp;lt;br&amp;gt;&lt;br /&gt;
''iptables -t nat -A PREROUTING -i $EXTIF -p udp --destination-port $EMULEUDP -j DNAT --to-destination $EMULEHOST:$EMULEUDP''&amp;lt;br&amp;gt;&lt;br /&gt;
''iptables -t nat -A PREROUTING -i $EXTIF -p udp --destination-port $EMULEUDP2 -j DNAT --to-destination $EMULEHOST:$EMULEUDP2''&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You also should make sure that your FORWARD-string is set up correctly. Usually, you will have an entry like this:&lt;br /&gt;
&lt;br /&gt;
''iptables -A FORWARD -i $EXTIF -o $INTIF -d $EMULEHOST -m state --state ESTABLISHED,RELATED -j ACCEPT''&lt;br /&gt;
&lt;br /&gt;
where ''INTIF'' is your internal interface and ''EMULEHOST'' is the host running the [[FAQ_eD2k-Kademlia#What_is_ED2K?|eD2k]] [[server]] on your internal network.&lt;br /&gt;
&lt;br /&gt;
This will prevent new connections. So, you should allow all forwarding for [[aMule]]-related ports:&lt;br /&gt;
&lt;br /&gt;
''iptables -A FORWARD -i $EXTIF -o $INTIF -p tcp --dport $EMULEPORT -d $EMULEHOST -j ACCEPT''&amp;lt;br&amp;gt;&lt;br /&gt;
''iptables -A FORWARD -i $EXTIF -o $INTIF -p udp --dport $EMULEUDP -d $EMULEHOST -j ACCEPT''&amp;lt;br&amp;gt;&lt;br /&gt;
''iptables -A FORWARD -i $EXTIF -o $INTIF -p udp --dport $EMULEUDP2 -d $EMULEHOST -j ACCEPT''&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>147.83.41.10</name></author>	</entry>

	</feed>