Knowledge: andLinux Launcher

From andLinux

(Difference between revisions)
Jump to: navigation, search
(Extended launcher documentation)
m (Documentation moved to Knowledge: andLinux Launcher: misleading old title)

Revision as of 19:06, 7 May 2009

How andLinux works...


Depending on how you choose to configure the system during the installation process, the andLinux system will either run xfce-panel to provide an X-based start menu, or it will run a custom perl daemon program to listen to launcher requests from Windows.

A set of executables is installed in your C:\Program Files\andLinux\Launcher Windows directory. These programs include applications, like andKarbon.exe and andKWord.exe, as well as a special utility program called andCmd.exe. These launchers are run when you click their icons in the andLinux menu (installed in the system tray, if you permit it); they can also be run directly from Windows Explorer, added to the Start menu (create a shortcut), etc.


These launcher programs communicate with the andLinux VM via a socket. By default, the launchers know that the andLinux VM will be listening at IP address, on port 81. When the andLinux system boots up, a perl script is run that listens for input on this socket. That perl script is located at /usr/local/sbin/, and it is hard-coded to listen on port 81.

The launcher programs send a small packet of data to the perl script, containing a line like cmd=some-linux-app&file=some-file. The perl script decodes this and runs the appropriate command, with the file (or whatever) as command-line arguments.

Default User

The andLinux launcher daemon runs as root by default. In order to change this user, see Howto: change default user. It is doable, but somewhat involved -- you will need about 15 minutes.

Seen a page that contains spam or objectionable material? Please report the link and/or login of the author to david @ andLinux . org (remove spaces)