[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: http://www.knoppix.net/wiki/Cheat_Codes



Hello Felix,

On Tue, Nov 17, 2009 at 12:44:42AM -0500, Felix Miata wrote:
> Is there a plain text version of this for 6.0.1 like for 5.3.1?

The (attached) knoppix-cheatcodes.txt is plaintext.
The web page you quotes seems to be a little out-of-date.

> I'd like to:
> 1-disable compiz

knoppix no3d

> 2-tell it don't try DDC

knoppix noddc

> 3-tell it don't try EDID

I think Knoppix 6.0 will not use edid anymore anyways for finding out
modelines. But I don't know if xorg won't try this anyways.

A few days ago, I met a seemingly broken NVidia graphics card inside a
Notebook, which due to a misterious "EDID" error in /var/log/Xorg.0.log
refused to recognize ANY monitor, neither the built-in display, nor
external monitors. But the real problem was a persistent wrong internal
setting of the card (NVIdia cards tend to keep their settings unless you
completely remove power from them, i.e. disconnect the board from power
and eventually remove the notebooks battery), and in this case, just
loading the "system defaults" in the BIOS setting made the card work
fine with automatic settings, since the BIOS reset seems to also reset
the cards internal state.

> 4-use KDE

knoppix desktop=kde

> 5-use TZ=-0500

knoppix tz=timezone-shortcut such as tz=Europe/Berlin. It checks for
presence of the standardized country/city setting.

> I don't see any listed options for doing any of them.
> 
> My ICH7/G31/Trinitron CRT system with non-functional DDC and EDID always
> comes up using a wacko widescreen 768 high mode, even when I set
> screen=1400x1050 or screen=1280x960. I tried desktop=kde, but that doesn't
> get rid of LDE.

If you use the CD version, there is no KDE desktop installed, so
destop=kde won't work Please retry with the DVD version.

The core RandR extension will try to automatically find the best setting
for all attached displays. You may want to try disabling it in your case
by

knoppix norandr

> It doesn't seem possible to enable JS in Iceweasel. In preferences->content I
> can't tell checked boxes from unchecked boxes, but it doesn't seem changing
> the one for JS has any effect. Checked vs. unchecked obviously differ, but
> it's hardly obvious which is which. The scripts on
> http://fm.no-ip.com/auth/dpi-screen-window.html never do what is expected,
> unlike with other Gecko browsers.

Iceweasel on Knoppix uses the "NoScript" extension, whnich provides a
per-website setting for active contents. The configuration is done via
click on the "S" button on the bottom right, not in iceweasels base
settings for Java or Javascript. NoScript in my opinion is one of the
most useful plugins for protecting against Spam Popups and JS-based
attacks, but you can feel free to disable it completely, if you like.
Just click "Allow all scripts globally (not recommended)

Regards
-Klaus Knopper
                     CHEATCODES AND HINTS FOR KNOPPIX V6.2.0
==============================================================================
                         (last update: 11.11.2009)

These options (can be combined) work from the ISOLINUX bootprompt:

### General ###
adriane                             Start blind-friendly, talking desktop
debug                               Debug boot process step-by-step
expert                              Interactive setup for experts
knoppix                             (Default) Knoppix startup
knoppix 2                           Runlevel 2, Textmode only

### Language/Country ###
knoppix lang=ch|cn|de|da|es|fr|it   specify language/keyboard
knoppix lang=nl|pl|ru|sk|tr|tw|us   specify language/keyboard
knoppix keyboard=us xkeyboard=us    Use different keyboard (text/X)
knoppix utc                         Use Universal Time
knoppix tz=Europe/Berlin            Use this timezone for TZ
                                    (default: tz=localtime)

### Hardware/Workarounds ###
knoppix ide1=reset                  Try this if knoppix can't find the
                                    CD/DVD drive
knoppix no{apic,lapic,acpi,apm}     Skip parts of HW-detection (1)
knoppix no{hwsetup,udev,dhcp,fstab} Skip parts of HW-detection (2)
knoppix no{pcmcia,sound,swap}       Skip parts of HW-detection (3)
knoppix nousb                       Skip parts of HW-detection (4)
knoppix nolapic                     Disable local APIC (differs from noapic)
knoppix noideraid                   Disable IDE-Raiddisk detection
knoppix pnpbios=off                 No PnP Bios initialization
knoppix acpi=off                    Disable ACPI Bios completely
knoppix acpi=noirq                  Disable ACPI IRC routing only
knoppix acpi=force                  FORCE ACPI Bios initialization
knoppix noacpid                     Do not start ACPI even daemon
failsafe                            Boot with (almost) no HW-detection
knoppix pci=irqmask=0x0e98          Try this, if PS/2 mouse doesn't work *)
knoppix pci=bios                    Workaround for bad PCI controllers
knoppix ide2=0x180 nopcmcia         Boot from PCMCIA-CD-Rom (some notebooks)
knoppix mem=512M                    Specify Memory size in MByte
knoppix wheelmouse                  Enable IMPS/2 protocol for wheelmice
knoppix nowheelmouse                Force plain PS/2 protocol for PS/2-mouse

### Desktop ###
knoppix desktop=kde|gnome|icewm     Use specified WM instead of LXDE (1)
knoppix desktop=fluxbox|openbox     Use specified WM instead of LXDE (2)
knoppix desktop=larswm|evilwm|twm   Use specified WM instead of LXDE (3)
knoppix no3d                        Don't use compiz 3d fuctions

### Graphics ###
knoppix screen=1280x1024            Use specified Screen resolution for X
knoppix hsync=95                    Use 95 kHz horizontal X refresh rate
knoppix vsync=60                    Use 60 Hz vertical refresh rate for X
knoppix xmodule=ati|fbdev|intel|mga Use specified Xorg-Module (1)
knoppix xmodule=nv|radeon|savage|s3 Use specified Xorg-Module (2)
knoppix xmodule=vesa|svga|vmware    Use specified Xorg-Module (3)
knoppix norandr                     Disable Xorg RandR feature (may be
                                    useful if wrong resolution was detected)
knoppix noddc                       Don't query monitor for resoution
knoppix no3d|nocomposite            Don't use Xorg Composite extension
knoppix vga=normal                  No-framebuffer mode, but X
fb1280x1024                         Use fixed framebuffer graphics (1)
fb1024x768                          Use fixed framebuffer graphics (2)
fb800x600                           Use fixed framebuffer graphics (3)

### Configuration / Persistent image ###
knoppix nonetworkmanager            Don't start network manager
knoppix home=/dev/sda1/knoppix.img  Mount loopback file for overlay
knoppix toram                       Copy to RAM and run from there
knoppix tohd=/dev/sda1              Copy to Harddisk and run from there
knoppix fromhd=/dev/sda1            Boot from previously copied CD-Image
knoppix bootfrom=/dev/sda1/KNX.iso  Access image, boot from ISO-Image. ***)
knoppix knoppix_dir=KNOPPIX         Directory to search for on the CD. 
knoppix knoppix_name=KNOPPIX        Cloop-File to search for on the CD.
knoppix noswap                      Don't use existing swap partitions
knoppix forensic                    Don't use swap and mount read-only
knoppix secure                      Disable root access
knoppix noimage                     Do NOT use persistent image

### Knoppix Terminalserver/Client ###
knoppix nfsdir=hostip:path          Use nfsdir as /mnt-system for TS client
knoppix hostname=name               Set TS client hostname
knoppix hostname=auto-mac           Set TS client hostname from MAC address
knoppix hostname=auto-clock         Set TS client hostname from clock

### Various ###
knoppix noeject                     Do NOT eject CD after halt
knoppix noprompt                    Do NOT prompt to remove the CD
knoppix testcd|testdvd              Check CD or DVD for defects
knoppix splash                      Use splash.ppm in initrd as boot pic
knoppix trace                       create an open() trace in /open.trace

Hint: Using the default DE-bootimage, SYSLINUX boots with german keyboard
layout. The '=' letter is located at Shift-0 on this keyboard (just in
case you want to change keyboard and language with lang=us).

*) Try "knoppix pci=irqmask=0x0e98" if (you have a notebook and) your
PS/2 mouse doesn't work. (Possibly caused by a BIOS-flaw on your board,
BIOS updates can help.)

If your KNOPPIX CD produces strange noises during boot, or you see
frequent errors like "cloop: read error", or programs on your KDE
desktop keep crashing randomly, then your CD image is probably defective
or incomplete, or your CD-burner created a defective CD due to wrong
writing speed or bad media. This is the most common error reported.
Please boot with "knoppix testcd" to check if the CD is OK.

In case of a failing hardware autodetection, try booting with any of
the "no-" options as shown in the table above, like in
   knoppix noagp noaudio noapm noapic nolapic acpi=off pci=bios
           pnpbios=off nodma nopcmcia noscsi nousb ...
to skip some critical parts of the autodetection system.

The "noswap" and/or "forensic" boot option is useful for a forensic
analysis without touching existing swap partitions.

Some Boards apparently don't pass the proper memory size to the 
linux-kernel. It may cause the message "Panic: cannot mount root file 
system" and the system hangs. Use "knoppix mem=512M" to solve that 
problem if your system has 512MByte memory for example (caution:
you MUST use a capital "M" here).

---

If you need additional modules for starting controllers needed at boot
time, just copy the corresponding *.ko files from /lib/modules/* over to
/modules in the initial ramdisk (remaster needed).

If you place an update*.zip or update*tar.gz file on the medium holding
the KNOPPIX data, it will be unpacked onto the overlayed filesystem
before starting "init", thus allowing quick reconfiguration of the
system.

The file "knoppix.sh", if residing in the main KNOPPIX directory, will
be execuded after autoconfiguration and before starting the graphical
desktop. It can be used in order to start additional services.

If you wish to remaster the CD, please don't forget to specify
	-no-emul-boot -boot-load-size 4 -boot-info-table \
	-b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat
as option to mkisofs. Otherwise your CD or DVD won't be bootable. The
directory KNOPPIX, containig the compressed filesystem file "KNOPPIX",
must be located in the top level directory of the CD.

Caution: X-Screensaver: Don't start xlock or any screensaver that
requires a password. There are no default passwords on KNOPPIX,
i.e. all accounts are LOCKED unless you explicitly set a password.
See also README_Security.txt about this issue.
If you accidentially hit the screensaver button in KDE,
switch to one of the textconsoles by Control-Alt-F1 and kill
the screensaver (or just set a password for the knoppix user).

If you would like to edit your X-Server configuration manually
(config file /etc/X11/xorg.conf), use "knoppix 2" to boot
into runlevel 2 (textmode only) and, after changing the X
configuration, start the X environment with "init 5". Note that
you can always leave the graphical environment with "init 2", and
restart it later with "init 5".

Reply to: