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

[solved] startx does not work anymore
  • ossoss May 2010
    Suddenly I am forced to text login.
    I made tazx but with no success. Next time I do startx I obtain a very verbose log page. Last lines are something like this:
    no screens found
    XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"

    What have I to do?
    Thank you.
  • devl547devl547 May 2010
    I need your clothes, boots and your motorcycle..
    // Xorg.conf and video card model, please
  • SlavaxSlavax May 2010
    Sorry, post mistake
  • SlavaxSlavax May 2010
    Sorry, post mistake
  • ossoss May 2010
    Can you suggest me a method to post my xorg.conf?
    Since I am not able anymore to start the GUI, I do not want to write some hundreds of text lines to a paper sheet and then to input them on another pc. Thanks.
  • kultexkultex May 2010
    you install midnight commander - as root:

    tazpkg get-install mc

    you mount a usb-stick or the internal disk by hand:

    mount /dev/sdxx /media/flash

    to find out which disk: fdisk -l

    and copy with midnight commander the file to the disk
  • GokhlayehGokhlayeh May 2010
    Hi,

    do you use cooking ?
    Since Xorg was update I've problem to start X session because mouse and keyboard are not found. It seems there's problem to detect screen since the 15.

    I found that the problem is not in the Xorg.conf, I guess we will verify that with the one of oss.

    Actually I don't have find a solution and I use a non updated cooking, I'm intersting by any idea. I guess that some devs are working on that.

    Gokhlayeh
  • ossoss May 2010
    Gokhalayeh: Indeed, now I remember that yesterday I have changed the mouse. But I have no idea if this is the source of the problem.

    kultex: very very perfect instructions!!! :) Here is the content of my xorg.conf after reconfiguring with tazx and specifying intel driver (I have an integrated card)


    Section "ServerLayout"
    Identifier "X.org Configured"
    Screen 0 "Screen0" 0 0
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"
    EndSection

    Section "Files"
    ModulePath "/usr/lib/X11/modules"
    FontPath "/usr/share/fonts/X11/misc/"
    FontPath "/usr/share/fonts/X11/TTF/"
    FontPath "/usr/share/fonts/X11/OTF"
    FontPath "/usr/share/fonts/X11/Type1/"
    FontPath "/usr/share/fonts/X11/100dpi/"
    FontPath "/usr/share/fonts/X11/75dpi/"
    EndSection

    Section "Module"
    Load "glx"
    Load "extmod"
    Load "dri"
    Load "dbe"
    Load "freetype"
    EndSection

    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    Option "XkbLayout" "IT"
    EndSection

    Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/input/mice"
    Option "ZAxisMapping" "4 5 6 7"
    EndSection

    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Monitor Vendor"
    ModelName "Monitor Model"
    EndSection

    Section "Device"
    ### Available Driver options are:-
    ### Values: : integer, : float, : "True"/"False",
    ### : "String", : " Hz/kHz/MHz"
    ### [arg]: arg optional
    #Option "NoAccel" # []
    #Option "SWcursor" # []
    #Option "ColorKey" #
    #Option "CacheLines" #
    #Option "Dac6Bit" # []
    #Option "DRI" # []
    #Option "NoDDC" # []
    #Option "ShowCache" # []
    #Option "XvMCSurfaces" #
    #Option "PageFlip" # []
    Identifier "Card0"
    Driver "intel"
    VendorName "Unknown Vendor"
    BoardName "Unknown Board"
    BusID "PCI:0:2:0"
    EndSection

    Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    SubSection "Display"
    Viewport 0 0
    Depth 1
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 4
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 8
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 15
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 16
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 24
    EndSubSection
    EndSection
  • GokhlayehGokhlayeh May 2010
    @oss : the xorg.conf is the same as mine.

    Jozee have made some changes to xorg and related receipts, the new packages will be avaible soon. I'm not sure that it's about this problem.
  • kultexkultex May 2010
    try change

    Driver "intel"

    to

    Driver "vesa"

    perhaps you will get a picture, but before more important is your output of your Xorg.0.log - when its very long, just give evrything what starts with (WW) and (EE) and what is the output of lsmod
  • ossoss May 2010
    lsmod output:

    Module Size Used by Not tainted
    i915 143208 0
    drm 121736 1 i915
    i2c_algo_bit 4724 1 i915
    video 17828 1 i915
    backlight 3584 1 video
    output 2260 1 video
    i2c_core 17468 3 i915,drm,i2c_algo_bit
    agpgart 25980 1 drm
    iwl3945 66300 0
    iwlcore 79984 1 iwl3945
    rfkill 8664 2 iwlcore
    mac80211 138268 2 iwl3945,iwlcore
    led_class 3436 2 iwl3945,iwlcore
    cfg80211 52872 3 iwl3945,iwlcore,mac80211
    b44 23352 0
    ssb 28680 1 b44
    snd_hda_codec_idt 49372 1
    snd_hda_intel 22020 0
    snd_hda_codec 49928 2 snd_hda_codec_idt,snd_hda_intel
    snd_hwdep 5988 1 snd_hda_codec
    snd_pcm 51780 2 snd_hda_intel,snd_hda_codec
    snd_timer 16344 1 snd_pcm
    snd 43584 6 snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
    soundcore 5180 1 snd
    snd_page_alloc 7256 2 snd_hda_intel,snd_pcm

    Xorg.0.log content:
    http://drop.io/slitazx/asset/xorg-0-log
    (download link on the right)
  • kultexkultex May 2010
    but thats your output using the vesa driver

    perhaps unload i915 und try to startx with the intel driver
    normally intel_agp should be loaded too

    try to install xorg-xrandr

    and see what

    xrandr -q

    tells

    and what means: "Suddenly I am forced to text login".

    did Slitaz work before without any problems, is it a fresch install (USB or hd), is it a laptop or desktop, which one????? as devl547 said, its hard to tell if you dont have precise description

  • ossoss May 2010
    But it was you that suggested me to specify vesa in place of intel!
    I installed Slitaz on a partition of my notebook Dell Laptop Inspiron 6400. It worked fine until some days ago, when at the boot I was forced to text login.
    I have already installed xrandr. xrandr -q tells: Can't display :0.0
    Now, can you tell me which other information you need exactly to help me?
    Please be patient, I am a newbie and I am not able to understand all what you say. The only thing I know is that Slitaz worked until some days ago, and in the meantime I have changed no configuration settings. Thank you.

    P.S.: if needed, please explain me how to unload intel915 and load intel_agp. I do not know what it means.
  • kultexkultex May 2010
    to load intel_agp do as root:

    modprobe intel_agp

    to unlode i915 do as root:

    rmmode i915

    now change back to inteldriver and post the Xorg.0.log
  • ossoss May 2010
    kultex, some progress here :)
    After doing "modprobe intel_agp" "rmmod i915" and "tazx" choosing intel driver, GUI reappears!
    But there is another problem to solve: after shutting down, next time I boot I am forced again to text login, and I have to repeat previous commands all the times.
    How can I save my settings?
    Thank you very much for your help.

    P.S.: rmmod, not rmmode. After you, google is my friend. :)
  • seawolfseawolf May 2010
    You'll need to ensure the intel driver is set in xorg.conf, and intel_agp is in the LOAD_MODULES line of /etc/rcS.conf but not i915.
  • ossoss May 2010
    It did suffice to put intel_agp in LOAD_MODULES using SLitaxBox GUI in the system tray.
    Well done guys. Many thanks to all you.
  • ossoss May 2010
    It did suffice to put intel_agp in LOAD_MODULES using SLitaxBox GUI in the system tray.
    Well done guys. Many thanks to all you.
This discussion has been closed.
← All Discussions

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