You are not logged in.

#1 2009-05-29 06:43:33

SirEdgar2nd
Member
Registered: 2009-03-21
Posts: 17

[Solved] Startx won't work! Laptop issues.

Okay, here is what Ididin as much detail as possible.


Dual boot: Windws XP + Archlinux

the partition is like this

80 GB XP
80 GB arch
     *10 GB root
     *70 GB /home

Video Card: nVidia Geforce Go 6100


Okay, so after I installed, I decided to and uncomment all available US repositories with HTTP on them, not FTP. Then I did a full system update, and got the latest nvidia drivers. So I run nvidia-xconfig,  got a little confused when it didn't work and I noticed /etc/X11/xorg.conf was missing. After a while I realized I forgot to download Xorg, once I ran the command it worked. I downloaded HAL, started it and it worked. Then I ran startx, and it wouldn't work. I went into the IRC channel, and tried showed all the errors I got, after a while I was told I shouldn't be using root under any circumstances and the first thing I should have done is create my user ID, which I did, then made myself a Sudoer. Obviously, the errors still appeared, no matter what I did with Xorg. -.-


Here is my Xorg-Configuration

ection "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0"  "CorePointer"
End Section

Section "Files"
EndSection

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

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Horizsync      28.0 - 33.0
    VertRefresh    43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    Defaultdepth   "24"
    SubSection     "Display"
        Depth      24
    EndSubsection
EndSection


I tried this as well by "#" all the unnecessary parts

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
End Section

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Defaultdepth   "24"
    SubSection     "Display"
        Depth      24
    EndSubsection
EndSection

Regardless of what I did I got these errors, and warnings

(WW) The directory "/usr/share/fonts/TTF" does not exist. Entry deleted from font path.
(WW) The directory "/usr/share/fonts/Type1" does not exist. Entry deleted from font path.

(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse', or 'vmouse' w$use will be disabled
(WW) Disabling Keyboard00
(WW) Disabling Mouse0

(WW) Open ACPI failed (/var/run/acpid.socket)(No such file or directory)

(WW) Warning, couldn't open module type1

(EE) Failed to load module "type1" (module does not exist, 0)

(WW) Warning, couldn't open module freetype

(EE) Failed to load module "freetype" (Module does not exist, 0)

(EE) Failed to load /usr/lib/xorg/modules/extension//libdri.so

(EE) Failed to load module "dri" (loader failed, 7)

(EE) Failed to load /usr/lib/xorg/modules/extension//libdri2.so

(EE) Failedto load modules "dri2"

I also got something like this between all the dri's

dlopen:libdrm.so.2: cannot open shared object file: No such file or directory

and the final errors

(EE) NVIDIA(0) failed to load NVIDIA kernel module!
(EE) ***Aborting***
(EE) Screen(s) found,but none have a usable configuration.

Fatal Server Error:
No Screens found


Those are all of them in the log.

Finally, I tried modprobe nvidia and got this

FATAL: Module nvidia not found.


That is everything, this linux newbie is confused, and too stubborn. C_c Fluxbox, and startx won't work no matter what I do, please help?

Last edited by SirEdgar2nd (2009-08-17 09:23:13)

Offline

#2 2009-05-29 07:35:22

demian
Member
From: Frankfurt, Germany
Registered: 2009-05-06
Posts: 709

Re: [Solved] Startx won't work! Laptop issues.

Hello there,

I suggest using xf86-input-evdev together with HAL. That way your hardware gets autodetected and xorg.conf is not needed anymore.
I'm pretty confident everything will work if you install in this order:
1. xorg xf86-input-evdev
2. your video driver: you may want to choose the appropriate one out of
extra/nouveau-drm
extra/xf86-video-nouveau
extra/nvidia-173xx
extra/nvidia
extra/nvidia-96xx
3. fluxbox

Then type "startfluxbox" as user.

Last edited by demian (2009-05-29 07:38:40)


no place like /home
github

Offline

#3 2009-05-29 07:45:01

shiki
Member
From: Hungary
Registered: 2008-08-11
Posts: 29
Website

Re: [Solved] Startx won't work! Laptop issues.

It seems the "nvidia" package supports it.

So just install it:
pacman -S nvidia

Offline

#4 2009-05-29 12:45:34

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Startx won't work! Laptop issues.

SirEdgar2nd wrote:

I tried this as well by "#" all the unnecessary parts

Like what?

#    Load           "type1"

and you still get an error "(EE) Failed to load module "type1" (module does not exist, 0)"?
Did you install freetype etc?
Have you read the wiki - Beginner's guide, Appendix, Xorg etc.?

Offline

#5 2009-05-29 20:10:47

SirEdgar2nd
Member
Registered: 2009-03-21
Posts: 17

Re: [Solved] Startx won't work! Laptop issues.

Yep carol.

Nope I didn't install freetype. hmm


Also, I noticed whenever I try to install nvidia I get an error that says these files already exist, and that there is a: Errors occured. No packages were upgraded. In a list of a bunch of files I can't even really list out at the moment.

Pacman -S nvidia gets me that error, when I tried reinstalling xorg, it worked fine. hmm Even when I deleted the cache, and uninstalled files it had the same issue.

I was told to install the latest version available though (again). hmm since I installed some version I got back in 2008 in December. But I've been too hesitant since I felt I might need one of those extra CDs later. hmm So I figured out how to do it through USB, not sure if I should just yet though.

And sorry, didn't notice that long error the last time hmm I thought it meant it was already installed.

But I did do a full system update at least though.

Last edited by SirEdgar2nd (2009-05-29 20:15:02)

Offline

#6 2009-05-29 21:16:58

arch777
Member
Registered: 2009-05-24
Posts: 8

Re: [Solved] Startx won't work! Laptop issues.

Did you follow the Beginner's guide while you're installing Arch?

Offline

#7 2009-05-29 21:19:10

SirEdgar2nd
Member
Registered: 2009-03-21
Posts: 17

Re: [Solved] Startx won't work! Laptop issues.

Some parts of it yes. hmm Had a difficult to manually partitioning everything, but once I figured it out everything was cake.

Offline

#8 2009-05-29 21:41:28

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: [Solved] Startx won't work! Laptop issues.

you can't use the nvidia driver if you don't install nvidia, if pacman said "no packages were upgraded" then nvidia was not installed.

i suggest you sort out why nvidia is not installed/loaded first.  once that's solved i predict X will start just fine... type1 / freetype errors aside.

you should: pacman -Syu... reboot... pacman -S nvidia and _read_ and _remember_ what files it's taking issue with.

i don't want to tell you to do pacman -Sf nvidia (force it) until i know what files are giving you the trouble... but i have a feeling this will be necessary.

once nvidia is installed (and pacman -Q nvidia reports that it is in fact installed), then we'll start messing with modprobe, xorg.conf, checking hal, etc, etc.

Offline

#9 2009-08-17 09:22:54

SirEdgar2nd
Member
Registered: 2009-03-21
Posts: 17

Re: [Solved] Startx won't work! Laptop issues.

Okay, I should've posted here sooner but I'm still a bit surprised at myself. The reason why startx wouldn't work is because I didn't put "exec startfluxbox" in ~/.xinitrc. So if someone wants to strangle me, go ahead (if you can >.<). I should've read the beginners guide more thoroughly... even if I DID read it, I just seemed to miss that one part...

Well, at least I did learn a lesson from this, and thats to RTFM and thoroughly as you possibly can. c_C;

Offline

Board footer

Powered by FluxBB