Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: knoppification debian live cd +

  1. #1
    Junior Member
    Join Date
    Feb 2011
    Posts
    15

    knoppification debian live cd +

    Hello
    I'm interested in knoppification standard debian live cd+. Klaus K is not releasind CD version any more, and I have failed to shrink dvd version to ca. 1GB, which is my goal.
    So I'm trying to knoppifi debian live.
    What I have done in standard knoppix remastering enviroment:
    -boot knoppix 7.6
    -mount squashfs from debian live cd and copy all files do source/KNOPPIX
    -chroot to source/KNOPPIX and install knoppix kernel, and copy kernel file to MASTER
    -copy minirt.gz from knoppix to MASTER
    -install sysvinit-core
    -copy from knoppix to source/KNOPPIX: /etc/initab /etc/passwd /etc/shadow /etc/sudoers /etc/init.d/knoppix... /etc/X11/session.d/45knoppix /home/knoppix /sbin/mkxorgconfig
    - install from knoppix repository or repack .deb from knoppix 7.6: knoppix networkmanager, restartx, knoppix udev config, lxlock knoppix, knoppix netcard config

    Create iso like in normal remastering.
    Now system starts but can't start X. Message " the graphical envirometn is being started..." appears but without success and proces is respawned few times than stops.
    I can acces commad line

    Did anybody try something similar with success?

  2. #2
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    Hi marlas!

    Some thoughts:
    - Did you also copy the kernel modules for the Knoppix kernels from lib/modules to your remastering environment?

    I have failed to shrink dvd version to ca. 1GB, which is my goal.
    - I think it would be a good idea to make a list of packages you find essential for your remastered Knoppix. Maybe you will find out that your system remains too large to fit on a CD.

    - If you do not need the ADRIANE system you could remove all packages related to it first and try out wether the system is still useful.

  3. #3
    Junior Member
    Join Date
    Feb 2011
    Posts
    15
    hi
    Installing knoppix kernel from knoppix repository make care of all necessary modules.
    After my previous post I have copied sbin/hwinfo and /lib/udev/devices as knoopix startup process could not find them in debian live filesystem.
    I have installed also metacity.

    And as I sad, system boots and I can work in cli, but graphics do not start.

  4. #4
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    Is there any hint in the X server's logfile what error occured? You can find the file in the directory /var/log.
    I think the process was respawned because the X server could not start properly.

  5. #5
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    I followed the instructions by marlas to create a 'knoppified debian live cd'. The original list of repositories
    /etc/apt/sources.list was replaced with the one from Knoppix 7.6.0 before running 'apt-get update' for the first time.

    The Debian live CD standard comes without the desktop environment. I installed the lxde meta package plus the packages
    xinit and lxde-common. I used the package list of Knoppix 7.6.0 to decide which packages are to be installed.

    Since not all knoppix packages were available in the repository I created a few from Knoppix 7.6.0 with the debian-repack
    command: bluez-utils, bttool-knoppix, cgroup-remove-knoppix, knoppix-udev-config, lxsession, network-setup-knoppix,
    openssh-client, openssh-server, openssh-sftp-server, rootshell-knoppix, scanpartitions-knoppix, ssh, ssh-askpass,
    sshstart-knoppix, sysvinit, sysv-rc, usleep-knoppix, x11-xserver-utils. It was necessary to create the group nm-openvpn
    with gid 154 manually before all packages for the networkmanager could be properly installed.

    In addition to the instructions in post #1 I added the user knoppix with uid 1000 before I copied the directory
    /home/knoppix from Knoppix 7.6.0. I also added the user knoppix to the groups disk, dialout, fax, voice, cdrom, floppy,
    tape, sudo, audio, dip, backup, video, plugdev, users, fuse, netdev.

    The files in the directories /etc/polkit-1/localauthority/10-vendor.d and /etc/dbus-1/system.d were copied to the
    corresponding remastering directories. I also copied the directory /lib/udev/devices to the remastering directory.

    The ISO is 890 MB large.

    The remastered ISO boots as describe by marlas. In runlevel 5 it fails to start the desktop environment. There appeared an
    error message
    xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
    I created a file /home/knoppix/.xinitrc with the single command
    Code:
    exec startlxde
    The file is owned by the user
    knoppix. In runlevel 2 after
    Code:
    su - knoppix
    startx
    I found the following error message in the logfile /home/knoppix/.local/share/xorg/Xorg.0.log
    (EE) systemd-logind: failed to get session: Failed to execute program org.freedesktop.login1: Permission denied
    What has to be done to solve the issue?

    Btw. root is allowed to start the desktop environment if I create a file .xinitrc in / with the line 'exec startlxde'.

  6. #6
    Junior Member
    Join Date
    Feb 2011
    Posts
    15
    Hello
    I use debian live lxde as a base, so lxde packages are installed already in my situation.
    xorg.conf is, for sure, created by knoppix script .
    In Xorg.0.log I have few errors:
    (EE) systemd-logind: failed to get session: Failed to execute program org.freedesktop.login1: Permission denied
    (EE) Screen 0 deleted becouse of no matching config section.
    (EE) Device(s) detected, but none match those in config file.
    (EE) no screens found

  7. #7
    Junior Member
    Join Date
    Feb 2011
    Posts
    15
    script for creation xorg.conf is /sbin/mkxorgconfig

  8. #8
    Junior Member
    Join Date
    Feb 2011
    Posts
    15
    next few steps
    dpkg -reconfigure x11-common and set anybody and copy /etc/X11/Xwrapper.config from knoppix
    install gdm3 and set ad default display manager - as it is in knoppix

    Still no success, but I have compared xorg.log from knoppix and from my knoppificated debian
    In knoppix log is stored in /var/log in debian /home/knoppix/.local/xorg
    In debian I have 2 logs Xorg.0.log and Xorg.0.log.old (both are created in booting proccess)

    Beginning is the same in knoppix and Xorg.0.log.old, even error "(EE) systemd-logind: failed to get session: Failed to execute program org.freedesktop.login1: Permission denied" appears in knoppix too
    but after the line:
    controlling tty is VT number 5, auto-enabling KeepTty
    in debian I get error (EE) xf860OpenConsole: Cannot open virtual console 5 (Permission denied) and log ends

    The new Xorg.0.log is created by respawning knoppix-startx - I think.
    Last edited by marlas; 12-21-2015 at 02:07 PM.

  9. #9
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    There is this note in Klaus K's Cheatcodes, I don't know if this helps. FWIW

    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".

  10. #10
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    I repacked a few more packages: syslinux, syslinux-common, syslinux-efi, syslinux-utils, knoppix-sounds. They were installed in the remastering environment. I also copied /usr/bin/flash-knoppix and /usr/share/applications/flash-knoppix.desktop to the remastering directory.

    It seems that Knoppix 7.6.0 needs the package xserver-xorg-legacy. After I had created the file /home/knoppix/.xinitrc with the lines
    Code:
    openbox &
    startlxde
    the 'knoppified Debian 8.2' boots as expected, but after logging out via the menu the desktop environment restarts instead of shutting down the system. Obviously the 'knoppified Debian 8.2' needs more configuration.

    The size of the current ISO file is 972 MB.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$25.99



16GB 2x 8GB DDR3 PC3L-12800R ECC REG Server Memory RAM for Dell Precision T5500 picture

16GB 2x 8GB DDR3 PC3L-12800R ECC REG Server Memory RAM for Dell Precision T5500

$25.99



8GB 2X4GB DDR3 PC3-12800U Desktop Memory Ram DELL HP LENOVO ACER GATEWAY  picture

8GB 2X4GB DDR3 PC3-12800U Desktop Memory Ram DELL HP LENOVO ACER GATEWAY

$19.99



A-Tech 8GB 2x 4GB 2Rx4 PC3-10600R DDR3 1333 MHz ECC REG RDIMM Server Memory RAM picture

A-Tech 8GB 2x 4GB 2Rx4 PC3-10600R DDR3 1333 MHz ECC REG RDIMM Server Memory RAM

$14.99



16 GB (2 x 8GB) SK Hynix DDR3 Desktop Memory RAM PC3-12800U  HMT41GU6AFR8C-PB  picture

16 GB (2 x 8GB) SK Hynix DDR3 Desktop Memory RAM PC3-12800U HMT41GU6AFR8C-PB

$31.95



Hynix 4GB PC4-17000 DDR4-2133MHz DDR4 288-Pin Desktop Memory HP 798033-001 picture

Hynix 4GB PC4-17000 DDR4-2133MHz DDR4 288-Pin Desktop Memory HP 798033-001

$9.49



Lot of 40 8GB DDR4 DESKTOP UDIMM Memory RAM Mixed Brands/Speeds picture

Lot of 40 8GB DDR4 DESKTOP UDIMM Memory RAM Mixed Brands/Speeds

$660.00



4GB PC3 12800 Desktop Memory - Mixed Brands picture

4GB PC3 12800 Desktop Memory - Mixed Brands

$5.52



Samsung 16GB 2Rx4 PC4-2133 RDIMM DDR4-17000 ECC REG Registered Server Memory RAM picture

Samsung 16GB 2Rx4 PC4-2133 RDIMM DDR4-17000 ECC REG Registered Server Memory RAM

$31.99



Memory Card Reader Mini 26-IN-1 USB 2.0 High Speed For CF xD SD MS SDHC picture

Memory Card Reader Mini 26-IN-1 USB 2.0 High Speed For CF xD SD MS SDHC

$5.49