Announcement

Collapse
No announcement yet.

X won't start on reboot

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    X won't start on reboot

    As the subject says.

    I recently installed an LCD monitor and did the dpkg-reconfigure xserver-xorg bit.

    When it boots up I have to change Monitor and Display settings to get correct resolution, but that's OK.

    When I need to reboot the machine, it starts to load up but won't load X and I have to go into recovery mode and reconfigure the xserver again.

    I'll post my fstab and xorg.conf files.

    fstab -

    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    # /dev/hda1
    UUID=aa36df5a-255e-495b-8208-25f31b35892d / ext3 defaults,errors=remount-ro 0 1
    # /dev/hda3
    UUID=c217200e-6bb4-4db5-9d03-af6106e21903 /media/hda3 ext3 defaults 0 2
    # /dev/hda5
    UUID=58daccb1-aeb2-4fd0-9be7-830ff68c6808 none swap sw 0 0
    /dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
    /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
    /dev/hda3 /home ext3 nodev,nosuid 0 2

    xorg.conf file

    # /etc/X11/xorg.conf (xorg X Window System server configuration file)
    #
    # This file was generated by dexconf, the Debian X Configuration tool, using
    # values from the debconf database.
    #
    # Edit this file with caution, and see the xorg.conf(5) manual page.
    # (Type "man xorg.conf" at the shell prompt.)
    #
    # This file is automatically updated on xserver-xorg package upgrades *only*
    # if it has not been modified since the last upgrade of the xserver-xorg
    # package.
    #
    # If you have edited this file but would like it to be automatically updated
    # again, run the following command:
    # sudo dpkg-reconfigure -phigh xserver-xorg

    Section "Files"
    FontPath "/usr/share/fonts/X11/misc"
    FontPath "/usr/share/fonts/X11/cyrillic"
    FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath "/usr/share/fonts/X11/Type1"
    FontPath "/usr/share/fonts/X11/100dpi"
    FontPath "/usr/share/fonts/X11/75dpi"
    # path to defoma fonts
    FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    EndSection

    Section "Module"
    Load "bitmap"
    Load "ddc"
    Load "dri"
    Load "extmod"
    Load "freetype"
    Load "glx"
    Load "int10"
    Load "vbe"
    EndSection

    Section "InputDevice"
    Identifier "Generic Keyboard"
    Driver "kbd"
    Option "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    EndSection

    Section "InputDevice"
    Identifier "Configured Mouse"
    Driver "mouse"
    Option "CorePointer"
    Option "Device" "/dev/input/mice"
    Option "Protocol" "ImPS/2"
    Option "ZAxisMapping" "4 5"
    Option "Emulate3Buttons" "true"
    EndSection

    #Section "InputDevice"
    # Driver "wacom"
    # Identifier "stylus"
    # Option "Device" "/dev/input/wacom"
    # Option "Type" "stylus"
    # Option "ForceDevice" "ISDV4" # Tablet PC ONLY
    #EndSection

    #Section "InputDevice"
    # Driver "wacom"
    # Identifier "eraser"
    # Option "Device" "/dev/input/wacom"
    # Option "Type" "eraser"
    # Option "ForceDevice" "ISDV4" # Tablet PC ONLY
    #EndSection

    #Section "InputDevice"
    # Driver "wacom"
    # Identifier "cursor"
    # Option "Device" "/dev/input/wacom"
    # Option "Type" "cursor"
    # Option "ForceDevice" "ISDV4" # Tablet PC ONLY
    #EndSection

    Section "Device"
    Identifier "VIA Technologies, Inc. VT8378 [S3 UniChrome] Integrated Video"
    Driver "via"
    BusID "PCI:1:0:0"
    EndSection

    Section "Monitor"
    Identifier "HP vs17"
    Option "DPMS"
    HorizSync 30-83
    VertRefresh 50-76
    EndSection

    Section "Screen"
    Identifier "Default Screen"
    Device "VIA Technologies, Inc. VT8378 [S3 UniChrome] Integrated Video"
    Monitor "HP vs17"
    DefaultDepth 24
    SubSection "Display"
    Depth 1
    Modes "1280x1024"
    EndSubSection
    SubSection "Display"
    Depth 4
    Modes "1280x1024"
    EndSubSection
    SubSection "Display"
    Depth 8
    Modes "1280x1024"
    EndSubSection
    SubSection "Display"
    Depth 15
    Modes "1280x1024"
    EndSubSection
    SubSection "Display"
    Depth 16
    Modes "1280x1024"
    EndSubSection
    SubSection "Display"
    Depth 24
    Modes "1280x1024"
    EndSubSection
    EndSection

    Section "ServerLayout"
    Identifier "Default Layout"
    Screen "Default Screen"
    InputDevice "Generic Keyboard"
    InputDevice "Configured Mouse"
    # InputDevice "stylus" "SendCoreEvents"
    # InputDevice "cursor" "SendCoreEvents"
    # InputDevice "eraser" "SendCoreEvents"
    EndSection

    Section "DRI"
    Mode 0666
    EndSection



    Sorry for the long post but would someone see if I have done something stupid, please.
    I wish I was the man my dog thinks I am.<br /><br />Registered Linux User No. 402825

    #2
    Re: X won't start on reboot

    Merely a gut feeling - but I'd try to boot from a full-fledged live system (e.g. Knoppix) and, success provided, compare this system's X server configuration to yours ...

    Comment


      #3
      Re: X won't start on reboot

      I booted into the Feisty live CD and the /etc/X11 didn't look much different.

      Section "Module" had an extra line
      Load "i2c"

      and under

      Section "Monitor", the lines
      HorizSync 30-80
      VertRefresh 50-76

      were missing.

      After looking at some other posts about X problems, I went to System Settings, Monitor and Display and under Hardware, Monitor it said Plug and Play, as opposed to Custom1 which is on the installed one.

      Changed it to P&P, broke it, did another dpkg reconf, thought I'd fixed it, hadn't.

      Now sick of playing with it. I will be getting an nvidia card later in the week (part of a little upgrade for my PC) so I will have to do it all again anyway, probably with a new set of problems.

      Thanks for the great suggestion, though, Birdy.

      Once again.

      Cheers

      Lowey
      I wish I was the man my dog thinks I am.<br /><br />Registered Linux User No. 402825

      Comment

      Working...
      X