Using FAQ


From Knoppix Documentation Wiki
Revision as of 21:27, 7 February 2013 by Werner P. Schulz (Talk | contribs)

Jump to: navigation, search

Q: What is the root password?

A: There is none; all passwords are locked/scrambled by default; you set one yourself for those situations which call for it. You can set the root password by going to Knoppix Menu -> Knoppix -> Root Shell and typing "passwd", then entering a root password. You can also go to Knoppix Menu -> Knoppix -> Set password for root. There are several sections you can read dealing with this subject in KNOPPIX/README_Security.txt. You can also type "sudo su" or "sudo -s" in any console window, or use <ctr>-<alt>-F2 to get at the text console with already opened root shell.

Q: How can I watch a DVD?

A: First of all, you have to have Knoppix installed on your hard drive. You won't be able to execute the following proceedure if you are running it from the CD.

I beleve if you used a USB to hold the changes you make on a system couldnt you use that to watch a dvd? 
I imagine that would be more useable.
  • Become root
  • Add the following lines to your /etc/apt/sources.list:
deb http://www.videolan.org/pub/videolan/debian $(ARCH)/
deb-src http://www.videolan.org/pub/videolan/debian sources/
  • Then do:
apt-get update
apt-get install libdvdcss2
  • Play the DVD (e.g. with Xine, Ogle, Videolan, Mplayer etc).
  • If your DVD plays but skips and jumps, then you probably need to enable Direct Memory Access (DMA) for the drive.
  • To see if DMA is enabled, log in as root and type: "/sbin/hdparm -d <device name>" For example: "/sbin/hdparm -d /dev/hdc" It it says "using_dma = 1 (on)" it is already turned on.
  • Otherwise, to enable DMA type: "/sbin/hdparm -d 1 /dev/hdc"
  • If you want DMA to be enabled automatically then add the line "/sbin/hdparm -d 1 /dev/hdc" to any startup script (/etc/init.d/bootmisc.sh for example).
  • Enjoy watching DVDs in Linux :-)

-- The links for /etc/apt/sources.list appear to be incorrect.

The right links are:

deb http://download.videolan.org/pub/videolan/debian $(ARCH)/
deb-src http://download.videolan.org/pub/videolan/debian sources/

Q:From where does KNOPPIX start all the scripts at the bootprocess?

A:The init scripts are located in /etc/init.d and are symlinked to in the /etc/rcX.d directorys in a sysV like fashion.

Q: Where can I find where all the boot-time parameters are interpreted???

A:You can see them in /etc/init.d/knoppix-autoconfig script

Q: How can I see a film with subtitles that of course I have, I think Xine is useful but I can't do it?

A: in a console "xine name_movie.ext#subtitle:name_subtitle.ext" you have to replace .ext with the real extension