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

Thread: cannot startx!

  1. #1
    Join Date
    Dec 2009
    Beans
    18

    Talking cannot startx! [solved]

    hi there,

    when i run "sudo startx" i get the message:

    "(= Log file: "/var/log/Xorg.0.log", Time: Sat Oct 2 15:33:49 2010
    (= Using config file: "/etc/X11/xorg.conf"
    (II) Module "ddc" already built-in
    (II) Module "i2c" already built-in
    (EE) intel(0): No valid modes.
    (EE) Screen(s) found, but none have a usable configuration.

    Fatal server error:
    no screens found

    waiting for X server to begin accepting connections
    giving up.
    xinit: Connection reset by peer (errno 104): unable to connect to X server
    xinit: No such process (errno 3): Server error."

    My version of ubuntu is 8.04 and the video card is 82G33/G31 Express Integrated Graphics Controller.

    do you have any ideea what should i do to fix this error?

    10q in advance!
    Last edited by helyos; October 3rd, 2010 at 01:14 PM.

  2. #2
    Join Date
    Apr 2010
    Location
    England
    Beans
    3,286

    Re: cannot startx!

    Well, for a start, you shouldn't be running it with sudo.

    Could you post the contents of /etc/X11/xorg.conf in [CODE][/CODE] tags please.
    http://xkcd.com/293/
    There are 10 kinds of people in this world: Those who understand ternary, those who don't, and those who confuse it with binary.

  3. #3
    Join Date
    Dec 2009
    Beans
    18

    Re: cannot startx!

    if i startx without sudo it gives me :

    "xauth: error in locking authority file /home/admin/.Xauthority
    xauth: error in locking authority file /home/admin/.Xauthority
    xauth: error in locking authority file /home/admin/.Xauthority
    xauth: error in locking authority file /home/admin/.Xauthority
    X: user not authorized to run the X server, aborting.
    xinit: Server error.
    xauth: error in locking authority file /home/admin/.Xauthority
    Couldnt get a file descriptor referring to the console"

    So the content of the /etc/X11/xorg.conf is:

    Code:
    # xorg.conf (X.Org 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 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 "InputDevice"
            Identifier      "Generic Keyboard"
            Driver          "kbd"
            Option          "XkbRules"      "xorg"
            Option          "XkbModel"      "pc105"
            Option          "XkbLayout"     "us"
    EndSection
    
    Section "InputDevice"
            Identifier      "Configured Mouse"
            Driver          "mouse"
            Option          "CorePointer"
    EndSection
    
    Section "Device"
            Identifier      "Configured Video Device"
    EndSection
    
    Section "Monitor"
            Identifier      "Configured Monitor"
    EndSection
    
    Section "Screen"
            Identifier      "Default Screen"
            Monitor         "Configured Monitor"
            Device          "Configured Video Device"
    EndSection
    
    Section "ServerLayout"
            Identifier      "Default Layout"
            Screen          "Default Screen"
    
    EndSection

  4. #4
    Join Date
    Sep 2009
    Beans
    Hidden!

    Re: cannot startx!

    Try this:

    sudo chmod a+rw /home/admin/.Xauthority

  5. #5
    Join Date
    Dec 2009
    Beans
    18

    Re: cannot startx!

    Quote Originally Posted by Spice Weasel View Post
    Try this:
    ~$ sudo chmod a+rw /home/admin/.Xauthority
    admin@ns:~$ startx
    X: user not authorized to run the X server, aborting.
    xinit: Server error.
    Couldnt get a file descriptor referring to the console

  6. #6
    Join Date
    Jul 2010
    Location
    Long Island, NY
    Beans
    255
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: cannot startx!

    What if you try this:
    Code:
    sudo -i
    startx

  7. #7
    Join Date
    Dec 2009
    Beans
    18

    Re: cannot startx!

    Quote Originally Posted by Chris1274 View Post
    What if you try this:
    Code:
    sudo -i
    startx
    the same error

    (==) Log file: "/var/log/Xorg.0.log", Time: Sat Oct 2 17:00:15 2010
    (==) Using config file: "/etc/X11/xorg.conf"
    (II) Module "ddc" already built-in
    (II) Module "i2c" already built-in
    (EE) intel(0): No valid modes.
    (EE) Screen(s) found, but none have a usable configuration.

    Fatal server error:
    no screens found
    giving up.
    xinit: Connection reset by peer (errno 104): unable to connect to X server
    xinit: No such process (errno 3): Server error.

  8. #8
    Join Date
    Jul 2010
    Location
    Long Island, NY
    Beans
    255
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: cannot startx!

    can you startx without sudo?

  9. #9
    Join Date
    Dec 2009
    Beans
    18

    Re: cannot startx!

    Quote Originally Posted by Chris1274 View Post
    can you startx without sudo?
    Without sudo :

    admin@ns:~$ startx

    X: user not authorized to run the X server, aborting.
    giving up.
    xinit: Connection refused (errno 111): unable to connect to X server
    xinit: No such process (errno 3): Server error.
    Couldnt get a file descriptor referring to the console
    admin@ns~$

  10. #10
    Join Date
    Apr 2010
    Location
    England
    Beans
    3,286

    Re: cannot startx!

    1) Try opening a terminal and running
    Code:
    sudo dpkg-reconfigure x11-common
    Make sure that you set it so that anyone can run Xserver (if asked).

    2) What is the current state of permissions on your .Xauthority file? Run

    Code:
    ls -l ~/.Xauthority
    to find out. Also, what is the output of:

    Code:
    w
    3) Your monitor information in xorg.conf seems a little bare. Mine has

    Code:
    Section "Monitor"
        Identifier     "Monitor0"
        VendorName     "Unknown"
        ModelName      "Unknown"
        HorizSync       28.0 - 33.0
        VertRefresh     43.0 - 72.0
        Option         "DPMS"
    EndSection
    Though I don't know how much of this is necessary, and I'm sure it's monitor specific (so don't copy mine). Someone else will hopefully be able to make some suggestions regarding it.
    http://xkcd.com/293/
    There are 10 kinds of people in this world: Those who understand ternary, those who don't, and those who confuse it with binary.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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