Quick Tips

From andLinux

(Difference between revisions)
Jump to: navigation, search
Line 9: Line 9:
== save disk space ==
== save disk space ==
If you use the NTFS online compression you can save many HDD memory, because the disk images contains many unused Bytes. [http://www.andlinux.org/forum/viewtopic.php?t=198 Discuss in our Forum].
If you use the NTFS online compression you can save many HDD memory, because the disk images contains many unused Bytes. [http://www.andlinux.org/forum/viewtopic.php?t=198 Discuss in our Forum].
 +
 +
== create a normal user ==
 +
use '''adduser ''username''''' to create a new non-root user.
 +
 +
== change root to a normal user ==
 +
 +
=== change to default user ===
 +
edit '''/usr/bin/X11/startwindowsterminalsession''' and replace 'root' with you used username. Add this user to '''/etc/sudoers'''.
 +
 +
=== Change Launcher Port ===
 +
 +
==== windows ====
 +
Non-root-users can't use ports <1024. The Launcher must use a port greater than 1024, e.g. 8081
 +
You can use this .reg file to change the Launchers:
 +
 +
'''andLinux Launcher.reg'''
 +
<pre>
 +
Windows Registry Editor Version 5.00
 +
 +
[HKEY_LOCAL_MACHINE\SOFTWARE\andLinux\Launcher]
 +
"IP"="192.168.11.150"
 +
"Port"="8081"
 +
</pre>
 +
 +
Look also [http://www.andlinux.org/faq.php FAQ - Chaning the Launcher Port]
 +
 +
==== linux vm ====
 +
edit '''/usr/local/sbin/launcher.pl''' and change LocalPort. Reboot.

Revision as of 13:16, 22 April 2008

Contents

German Keyboard Layout in Xming

via Xming arguments

Add "-xkbmodel pc105 -xkblayout de" to the startup arguments in the Xming shortcut

in terminal

With "loadkeys de" you can set to german keyboard for the current session.

via dpkg

run "dpkg-reconfigure console-data" to run the setup.

save disk space

If you use the NTFS online compression you can save many HDD memory, because the disk images contains many unused Bytes. Discuss in our Forum.

create a normal user

use adduser username to create a new non-root user.

change root to a normal user

change to default user

edit /usr/bin/X11/startwindowsterminalsession and replace 'root' with you used username. Add this user to /etc/sudoers.

Change Launcher Port

windows

Non-root-users can't use ports <1024. The Launcher must use a port greater than 1024, e.g. 8081 You can use this .reg file to change the Launchers:

andLinux Launcher.reg

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\andLinux\Launcher]
"IP"="192.168.11.150"
"Port"="8081"

Look also FAQ - Chaning the Launcher Port

linux vm

edit /usr/local/sbin/launcher.pl and change LocalPort. Reboot.

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)