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
  •  


Supermicro 6028R-E1CR24N 24x LFF- Wholesale Build Your Own Storage Server picture

Supermicro 6028R-E1CR24N 24x LFF- Wholesale Build Your Own Storage Server

$278.99



Dell PowerEdge R430 3.5 1U 2x E5-2666 v3 2.9ghz 20-Cores 64gb 4x Trays 2x 550w picture

Dell PowerEdge R430 3.5 1U 2x E5-2666 v3 2.9ghz 20-Cores 64gb 4x Trays 2x 550w

$219.99



Dell R640 8x 2.5

Dell R640 8x 2.5" SFF Server iDRAC ENT - Wholesale Custom Build Your Server

$269.99



Dell PowerEdge R710 8SFF 2U Server 2x X5680 3.33GHZ 12-Cores / 128gb / 2x Trays picture

Dell PowerEdge R710 8SFF 2U Server 2x X5680 3.33GHZ 12-Cores / 128gb / 2x Trays

$184.99



Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330 picture

Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330

$189.65



HP ProLiant DL360 G9 Server 2x E5-2690v3 2.60Ghz 24-Core 256GB P440ar picture

HP ProLiant DL360 G9 Server 2x E5-2690v3 2.60Ghz 24-Core 256GB P440ar

$299.55



dell poweredge r710 server picture

dell poweredge r710 server

$45.00



SuperMicro 6018U-TR4T X10DRU-I+ 4-Bay 2x E5-2680v4 32GB RAM 1U Server picture

SuperMicro 6018U-TR4T X10DRU-I+ 4-Bay 2x E5-2680v4 32GB RAM 1U Server

$138.00



HP ProLiant DL360 G9 Server 2x E5-2650v4 2.20Ghz 24-Core 96GB P440ar picture

HP ProLiant DL360 G9 Server 2x E5-2650v4 2.20Ghz 24-Core 96GB P440ar

$195.85



Dell Poweredge C4130 2x LGA2011-3 1U 4x GPU Rackmount Server CTO (NO CPU/NO RAM) picture

Dell Poweredge C4130 2x LGA2011-3 1U 4x GPU Rackmount Server CTO (NO CPU/NO RAM)

$299.95