This is the old SliTaz forum - Please use the main forum.slitaz.org

Live CD hangs at Slim login manager (probably)
  • krusader23krusader23 August 2010
    Hi,
    I've downloaded the SliTaz 3.0 Stable version and booted it up.
    It didn't work ;), so I started searching the forum for a possible solution.
    After trying to pass some parameters to the kernel (acpi=off vga=<any number> no387 sound=no screen=<any resolution>) I've managed to get the command line working.
    The solution was to use the "screen=text" parameter.
    I've used a gentoo distribution a couple of years ago and I remember that the moment, when the SliTaz hanged, was the moment when the X server should start. For me the X server doesn't start, instead I see a black monitor screen. When the hang occurs, the Capslock/ScrollLock lights on the keyboard work, but apart from that the laptop is completely dead (can't access the consoles at Ctrl+Alt+F1-F6/F7)
    If I'm logged in with the "screen=text" parameter, if I unleash the "startx" command, the system acts as if I haven't passed the "start=text" parameter.
    I wonder if the cause could be the video drivers on the CD.
    I'm using:
    - SliTaz 3.0 Stable (md5 checked)
    - Dell D610 with
    - Intel 915 GM Chipset (with integrated GPU)
    - SXGA+ 1400x1050 lcd screen
    - 1.83 GHz Pentium M
    Is there a possibility I will be able to boot your linux distribution? I really like the documentation you've provided on the web page (it's very concise and throughout).
    I'll try the Cooked version for a couple of minutes from now.
  • mojomojo August 2010
    Need to install:
    xorg-xf86-video-intel
    linux-agp
    No internet
    Download/copy the tazpkgs to USB flash drive
    From: http://pkgs.slitaz.org/search.cgi
    Boot into text mode ,login as root (PW root) ,mount USB key,cd to the mount folder
    root@slitaz: tazpkg install pkgname.tazpkg

    Internet:
    root@slitaz: tazpkg get-install pkgname.tazpkg

    Run hardware detection/module loader
    root@slitaz: tazhw detect-pci

    Generate xorg.conf
    root@slitaz: X -configure

    Copy/rename xorg.conf
    root@slitaz: cp xorg.conf.new /etc/X11/xorg.conf

    Start display manager
    root@slitaz: slim
  • krusader23krusader23 August 2010
    It worked. Here is the log from the installation (performed on Cooking Version 20100314)

    Log: (all as root)
    1. I download and install two packages:
    a. Linux-agp
    b. xorg-xf86-video-intel
    from http://pkgs.slitaz.org/search.cgi (stable version)
    2. Mount USB on LiveCD
    a. Mount /dev/sdb1 /media/usbdisk
    b. cd /media/usbdisk
    c. tazpkg install linux-agp-*.tazpkg
    d. tazpkg install xorg-xf86-*.tazpkg
    i. This package wants to downolad sth from the internet (I don't have the internet on the LiveCd)
    ii. tazpkg depends //no dependencies for a pckg
    iii. cp xorg-*.tazpkg ~/
    iv. cd
    v. tazpkg extract xorg-*.tazpkg
    vi. cd xorg*
    vii. cat receipt |grep DEP
    viii. //it appears, that tazpkg doesn't display dependencies for the "locally stored" packages. Dependencies from the package:
    1. xorg
    2. xorg-server
    3. xorg-libXv
    4. xorg-libXvMC
    5. libdrm
    6. mesa-dri-intel
    7. linux-agp
    8. linux-drm
    e. Downloading the packages that I don't have and their dependencies:
    i. xorg-libXv
    ii. xorg-libXvMC
    iii. mesa-dri-intel , deps: mesa, mesa-dri
    iv. linux-drm , deps: linux
    v. (linux-agp)
    f. Downloading the dependencies for the packages above:
    i. mesa , deps: glibc-base expat libdrm xorg-libX11 xorg- libXau xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXxf86vm libdrm
    ii. mesa-dri, deps: libdrm expat linux-drm linux-agp
    iii. linux , deps: depmod
    g. Downloading the dependencies for the dependencies:
    i. glibc-base
    ii. expat
    iii. libdrm
    iv. xorg-libX11
    v. xorg-libXau
    vi. xorg-libXdamage
    vii. xorg-libXdmcp
    viii. xorg-libXext
    ix. xorg-libXfixes
    x. xorg-libXxf86vm
    xi. libdrm
    xii. //depmod
    xiii. gcc-lib-base
    xiv. zlib
    xv. lzlib
    h. file with links to downloaded dependencies:

    http://mirror.slitaz.org/packages/stable/xorg-libXv-1.0.4.tazpkg
    http://mirror.slitaz.org/packages/stable/xorg-libXvMC-1.0.4.tazpkg
    http://mirror.slitaz.org/packages/stable/mesa-dri-intel-7.4.4.tazpkg
    http://mirror.slitaz.org/packages/stable/linux-drm-2.6.30.6.tazpkg
    http://mirror.slitaz.org/packages/stable/mesa-7.4.4.tazpkg
    http://mirror.slitaz.org/packages/stable/mesa-dri-7.4.4.tazpkg
    http://mirror.slitaz.org/packages/stable/expat-2.0.1.tazpkg
    http://mirror.slitaz.org/packages/stable/libdrm-2.4.11.tazpkg
    http://mirror.slitaz.org/packages/stable/glibc-base-2.10.1.tazpkg
    http://mirror.slitaz.org/packages/stable/xorg-libXau-1.0.4.tazpkg
    http://mirror.slitaz.org/packages/stable/xorg-libX11-1.2.2.tazpkg
    http://mirror.slitaz.org/packages/stable/xorg-libXdamage-1.1.1.tazpkg
    http://mirror.slitaz.org/packages/stable/xorg-libXdmcp-1.0.2.tazpkg
    http://mirror.slitaz.org/packages/stable/xorg-libXext-1.0.4.tazpkg
    http://mirror.slitaz.org/packages/stable/xorg-libXfixes-4.0.3.tazpkg
    http://mirror.slitaz.org/packages/stable/xorg-libXxf86vm-1.0.2.tazpkg
    http://mirror.slitaz.org/packages/stable/libdrm-2.4.11.tazpkg
    http://mirror.slitaz.org/packages/stable/depmod-3.10.tazpkg
    http://mirror.slitaz.org/packages/stable/gcc-lib-base-4.4.1.tazpkg
    http://mirror.slitaz.org/packages/stable/zlib-1.2.3.tazpkg
    http://mirror.slitaz.org/packages/stable/lzlib-4.57.tazpkg
    http://mirror.slitaz.org/packages/stable/linux-2.6.30.6.tazpkg

    3. installing dependencies
    a. depmod - jest
    b. expat
    c. gcc-lib-base
    d. glibc-base
    e. libdrm
    f. linux-2.6.30
    g. linux-agp
    h. linux-drm - not installed
    i. lzlib -jest
    j. mesa -jest
    k. mesa-dri - not installed
    l. mesa-dri-intel - not installed
    m. xorg-libX11 -jest
    n. xorg-libXau
    o. xorg-libXdamage
    p. xorg-libXdmcp
    q. xorg-libXext
    r. xorg-libXfixes
    s. xorg-libXv -not installed
    t. xorg-libXvMC -not installed
    u. xorg-libXxf86vm -jest
    v. xorg-xf86-video-intel
    w. zlib
    4. Not installed packages were:
    a. linux-drm
    b. mesa-dri
    c. mesa-dri-intel
    d. xorg-libXv
    e. xorg-libXvMC
    5. //Now I've noticed, that I'm using the cooking version of the SliTaz and I've downloaded the stable version of the packges
    6. Checking, if the agp module is loaded
    a. tazhw detect-pci
    b. //module: agpart-intel loaded
    c. lsmod
    d. //module intel_agp loaded
    7. (omit that) Teraz mam uzyc "SliTaz configuration tool to detect my settings"
    a. tazx
    b. //jako root po wlaczeniu pierwszej opcji daje komunikat, ze program nie moze byc uruchamiany z suid, wiec loguje sie jako tux
    c. Ctrl+Alt+F2
    d. login:tux
    e. tazx
    f. //kiedy wybieram opcje :"xterm", to dostaje komunikat:
    i. /usr/bin/tazx: line 441: Xvesa: not found
    ii. xterm Xt error: Can't open display: :0.0
    iii. //opuszczam te bledy I robie dalej tak, jak pisze w watku na forum
    8. (as root) generate the X config file
    i. //first, kill X server - Ctrl+Alt+F7, Ctrl+Alt+BckSpc
    ii. su root
    iii. = root
    iv. cd ~
    v. X -configure
    vi. cp xorg.conf.new /etc/X11/xorg.conf
    a. Run the "slim" manager
    i. slim
    ii. //it works!
    9. Remember to change the root and tux password after login
    10. X server configuration (xorg.conf)
    11. Monitor settings can be detected using: xorg-xrandr (see the second link in the Sources section - bottom of this page)
    12. Neither adding the "tux" user to the "video" group (addgroup tux video), nor setting the "DRI" section in xorg.conf like this:
    Section "DRI"
    Mode 0666
    EndSection

    enables the "tux" user to invoke the "slim" command. I think it's because it just has to be this way.
    13. xorg.conf file setting, (wasn't needed - options were detected automatically):

    Adding Resolutions
    1. Include HorizSync and VertRefresh (refresh timings) in the Monitor section:
    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Monitor Vendor"
    ModelName "Monitor Model"
    HorizSync 28-64
    VertRefresh 60
    EndSection
    2. Include a DefaultDepth in the Screen section:
    Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    ** DefaultDepth 24 ** //those two "**" are not needed
    3. Add an extra Mode to the line in the Display sub-section:
    SubSection "Display"
    Viewport 0 0
    Depth 24
    Modes "1024x768" "800x600"
    EndSubSection

    Sources:
    http://forum.slitaz.org/index.php/vanilla/discussion/1564/live-cd- hangs-at-slim-login-manager-probably
    http://doc.slitaz.org/en:guides:xorg-xvesa
    http://www.freebsd.org/doc/en/books/handbook/x-config.html - haven't read that

    Nutshell:
    #!/bin/sh
    mount /dev/sdb1 /media/usbdisk/
    cp -a /media/usbdisk/tazpkg-xorg/ ~
    cd tazpkg-xorg/
    tazpkg install xorg-xf86-video-intel-2.7.1.tazpkg
    tazpkg install linux-agp-2.6.30.6.tazpkg
    tazpkg install linux-drm-2.6.30.6.tazpkg
    tazpkg install mesa-dri-7.4.4.tazpkg
    tazpkg install mesa-dri-intel-7.4.4.tazpkg
    tazpkg install xorg-libXv-1.0.4.tazpkg
    tazpkg install xorg-libXvMC-1.0.4.tazpkg
    tazhw detect-pci
    cd ~
    X -configure
    cp xorg.conf.new /etc/X11/xorg.conf
    slim
  • mojomojo August 2010
    tazpkg looks in /var/cache/tazpkg the destination of where it puts tazpkgs before it attempts to download. If you put pre-downloaded tazpkgs and run the install from there,it will pickup/install the depends.
    Another option if you have all the depends is to make a batch install text list with the full path to each tazpkg.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

SliTaz Social