Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kde and fluxbox both freeze at startup
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
deeany
n00b
n00b


Joined: 18 May 2006
Posts: 9
Location: buffalo ny

PostPosted: Thu May 18, 2006 7:58 pm    Post subject: kde and fluxbox both freeze at startup Reply with quote

upon starting up, KDE gets to point where it says "restoring session" and then the computer freezes.

the computer also freezes when loading fluxbox. there is no output in this case; the cursor turns from an X to a pointer and nothing else happens.

in both cases, the mouse is stil responsive but the keyboard is unresponsive.

neither KDE nor fluxbox have worked before; this is a new system.

~./xinitrc = "exec startkde" (startfluxbox when using fluxbox)

here's the system info:

gentoo 2006.1 64 bit
AMD Athlon 64 3000
nforce4 chipset
Geforce 6600 256MB 128-bit DDR PCI Express x16 Video Card
512 MB generic DDR memory
Western Digital Caviar 40 MB IDE HD

what other information will you need to help diagnose the problem?
Back to top
View user's profile Send private message
at240
l33t
l33t


Joined: 12 Aug 2005
Posts: 603
Location: UK

PostPosted: Thu May 18, 2006 9:21 pm    Post subject: Reply with quote

Hi there deeany

Some questions:

1. What kernel are you running?
2. What version of the nvidia drivers (if you're using them)?
3. Have you ever managed to start X successfully on this machine?

Could you post your X log (/var/log/Xorg.0.log) or maybe the latter bits of it, if it looks like a problem is being reported?

Also, could you post your Xorg.conf, stripped of its comments?
Back to top
View user's profile Send private message
deeany
n00b
n00b


Joined: 18 May 2006
Posts: 9
Location: buffalo ny

PostPosted: Thu May 18, 2006 9:49 pm    Post subject: Reply with quote

1. kernel: linux-2.6.15-gentoo-r5
2. i don't believe i am using any nvidia drivers. i did not install any.
3. when i do startx as root, a terminal window, clock and third window pop up. i can run commands from the terminal window.

i cannot seem to find an Xorg.conf -- i looked in /etc/x11 and ~/ -- there is no /x11/

the Xorg.0.log does not seem to be reporting any errors. here's the last of it:

(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE (WW) : No Device specified, looking for one...
(II) : Setting Device option to "/dev/psaux"
(--) : Device: "/dev/psaux"
(==) : Protocol: "Auto"
(**) Option "CorePointer"
(**) : Core Pointer
(==) : Emulate3Buttons, Emulate3Timeout: 50
(==) : Buttons: 3
(**) : SmartScroll: 1
(**) Option "CoreKeyboard"
(**) : Core Keyboard
(**) Option "Protocol" "standard"
(**) : Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) : XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) : XkbModel: "pc105"
(**) Option "XkbLayout" "us"
(**) : XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) : CustomKeycodes disabled
(II) XINPUT: Adding extended input device "" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "" (type: MOUSE)
(--) : PnP-detected protocol: "ExplorerPS/2"
(II) : ps2EnableDataReporting: succeeded
Back to top
View user's profile Send private message
at240
l33t
l33t


Joined: 12 Aug 2005
Posts: 603
Location: UK

PostPosted: Fri May 19, 2006 6:40 am    Post subject: Reply with quote

deeany wrote:
i cannot seem to find an Xorg.conf -- i looked in /etc/x11 and ~/ -- there is no /x11/

It is X11 not x11 but I'm sure you know that. You may not have created and xorg.conf yet. You can run xorgconfig as root, and you'll be taken through a series of questions which will build one for you. But seeing as you can start X itself OK, this may not help.

Was that extract from Xorg log taken from a time when it froze, or when it started X successfully? What we need to see is some output from when it freezes (if possible). Is there anything interesting in /var/log/messages too, perhaps?
Back to top
View user's profile Send private message
deeany
n00b
n00b


Joined: 18 May 2006
Posts: 9
Location: buffalo ny

PostPosted: Fri May 19, 2006 2:17 pm    Post subject: Reply with quote

i went through the xorgconfig using what i think are the right values for my mouse, keyboard and monitor. now, i get:

(EE) xf86OpenSerial: Cannot open device /dev/mouse

the xorg log now reflects this, it's last lines are:

No core pointer

Fatal server error:
failed to initialize core devices

how do i find where my mouse is located in /dev/ ?
Back to top
View user's profile Send private message
deeany
n00b
n00b


Joined: 18 May 2006
Posts: 9
Location: buffalo ny

PostPosted: Fri May 19, 2006 2:31 pm    Post subject: Reply with quote

nevermind i figured it out -- /dev/input/mice -- now, no errors relating to the mouse.

but it still won't load KDE for the user with "startkde" in the .xinitrc.

the screen is black, except for the mouse pointer. it did not bring up the KDE welcome-screen like last time.

i can't seem to get out of this -- tried ctl-alt-backspace, ctl-c, and mashing all the buttons together.

here is what the xorg log says at the end:

(--) Mouse1: PnP-detected protocol: "Explorer PS/2"
(II) Mouse1: ps2EnableDataReporting: succeeded
Could not init font path element /usr/share/fonts/local/, removing from list!

thanks for the help
Back to top
View user's profile Send private message
at240
l33t
l33t


Joined: 12 Aug 2005
Posts: 603
Location: UK

PostPosted: Fri May 19, 2006 4:28 pm    Post subject: Reply with quote

This is odd. It looks, from the X log you posted earlier, that the keyboard is being recognised.

What driver have you selected in the "Device" section of xorgconfig? Could you post the contents of the whole file, perhaps (minus all those comments)?

Nothing strange in /var/log/messages, either?
Back to top
View user's profile Send private message
deeany
n00b
n00b


Joined: 18 May 2006
Posts: 9
Location: buffalo ny

PostPosted: Fri May 19, 2006 10:55 pm    Post subject: Reply with quote

here is the xorgconfig

Code:
Section "Module"

    Load        "dbe"   # Double buffer extension

    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

    Load        "type1"
    Load        "freetype"

EndSection

Section "Files"

    RgbPath     "/usr/X11R6/lib/X11/rgb"

    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/Type1/"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/local/"

EndSection

Section "InputDevice"

    Identifier  "Keyboard1"
    Driver      "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"   "xorg"
    Option "XkbModel"   "pc104"
    Option "XkbLayout"  "us"

EndSection

Section "Monitor"

    Identifier  "sva-usa vr17s"
    HorizSync   31.5 - 79.0
    VertRefresh 56-75

EndSection

Section "Monitor"

    Identifier  "sva-usa vr17s"
    HorizSync   31.5 - 79.0
    VertRefresh 56-75

EndSection

Section "Device"
    Identifier  "geforce 6600"
    Driver      "nv"
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "geforce 6600"
    Monitor     "sva-usa vr17s"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "640x400"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "800x600"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024"
        ViewPort    0 0
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection


i do not have a /var/log/messages.
Back to top
View user's profile Send private message
deeany
n00b
n00b


Joined: 18 May 2006
Posts: 9
Location: buffalo ny

PostPosted: Sat May 20, 2006 2:22 am    Post subject: Reply with quote

also, i have a 32 bit version of gentoo that i could try -- is it possible that the 64 bit version is not ready?
Back to top
View user's profile Send private message
deeany
n00b
n00b


Joined: 18 May 2006
Posts: 9
Location: buffalo ny

PostPosted: Sat May 20, 2006 6:07 pm    Post subject: Reply with quote

before you lose sleep over this :wink: -- i had similar troubles with kubuntu 64 bit version, but not ubuntu 32 bit version.

i am currently installing the 32 bit version of gentoo. i'll post again if i meet the same problem
Back to top
View user's profile Send private message
at240
l33t
l33t


Joined: 12 Aug 2005
Posts: 603
Location: UK

PostPosted: Sun May 21, 2006 9:34 am    Post subject: Reply with quote

Interesting. I hope the 32 bit version works.

It would be interesting too to see if you can get the 64 bit version going using the nvidia proprietary drivers (which will provide much better quality in any case).
Back to top
View user's profile Send private message
deeany
n00b
n00b


Joined: 18 May 2006
Posts: 9
Location: buffalo ny

PostPosted: Sun May 21, 2006 9:51 pm    Post subject: Reply with quote

same problem with 32 bit version

where can i get those drivers?
Back to top
View user's profile Send private message
at240
l33t
l33t


Joined: 12 Aug 2005
Posts: 603
Location: UK

PostPosted: Mon May 22, 2006 8:05 am    Post subject: Reply with quote

http://www.gentoo.org/doc/en/nvidia-guide.xml should help with that. There is also a version on the gentoo wiki.

Can I just confirm: is it still the case that if you do a plain startx, all is OK (you get twm, the very simple window manager you described earlier)--including keyboard/mouse?
Back to top
View user's profile Send private message
deeany
n00b
n00b


Joined: 18 May 2006
Posts: 9
Location: buffalo ny

PostPosted: Mon May 22, 2006 4:03 pm    Post subject: Reply with quote

yes, twm starts.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum