Click to See Complete Forum and Search --> : X-Window startx:command not found
rawkstar59
05-20-2003, 07:27 PM
When I "startx" it says "invalid command" or "command not found". I've installed both the kernel and GLX drivers for nForce mb, I've added "usr/X11R6/bin" to /etc/profile and /root/.profile, i've tried reinstalling X via "apt-get install xserver" and "apt-get install x-window-server". startx is not in /usr/X11R6/bin. I'm running out of options here. Can anyone help? :(
GaryJones32
05-21-2003, 12:44 AM
i think that stuff is in the package
xbase-clients ??(or it used to be)
it's listed as priority optional
so possibly it didn't get sucked in
during apt-get xserver
there are lots of different available servers or their used to be
to look for names of stuff you can use
apt-cache search xserver
sometimes you can find which package has a certain file with
dpkg -S startx (i think it might need to be already installed)
or search for the file (in uninstalled as well as installed packages)
apt-file update
apt-file search startx
you can see if it's in a certain package
apt-file list xserver-common
or
apt-file list xserver-xfree86
or whatever one
rawkstar59
05-21-2003, 01:18 PM
Thanks for the tip. I was able to uninstall it and reinstall it. But I now have a new problem.
When I startx, it gives me an error that says "screen found, but none have usable configuration."
When I "lsmod", i can see that the "NVdriver" is loaded (but nothing is "using" it)...so i'm assuming that its not a kernel source problem.....or is it?
I've made all the necessary changes in X86Config and I've added the "alias" line to "modules.conf".
Also, in my XFree86log, it says:
WW System lacks support for changing MTRRs
Don't know if thats related to my problem
Any suggestions?
rawkstar59
05-21-2003, 03:58 PM
Here is some info on my problem:
XFree86 Version 4.1.0.1 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: 21 December 2001
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems. (See <http://www.XFree86.Org/FAQ>)
Build Operating System: Linux 2.4.17 i686 [ELF]
Module Loader present
(==) Log file: "/var/log/XFree86.0.log", Time: Wed May 21 12:31:54 2003
(==) Using config file: "/etc/X11/XF86Config-4"
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) | |-->Monitor "Sylvania F96"
(**) | |-->Device "NVIDIA nforce AGP"
(**) |-->Input Device "Generic Keyboard"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc101"
(**) XKB: model: "pc101"
(**) Option "XkbLayout" "us"
(**) XKB: layout: "us"
(==) Keyboard: CustomKeycode disabled
(**) |-->Input Device "Configured Mouse"
(**) |-->Input Device "Generic Mouse"
(WW) The directory "/usr/lib/X11/fonts/cyrillic" does not exist.
(II) Setting vga for screen 0.
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.4
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(--) NVIDIA(0): Linear framebuffer at 0xE0000000
(--) NVIDIA(0): MMIO registers at 0xEC000000
(WW) System lacks support for changing MTRRs
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: "nvidia"
(II) UnloadModule: "vgahw"
(II) Unloading /usr/X11R6/lib/modules/libvgahw.a
(EE) Screen(s) found, but none have a usable configuration.
Fatal server error:
no screens found
----------------------------------
Using Debian 3.0, kernel 2.4.20 Don't know why it says 2.4.17 in the log file; Could I be loading the driver in the wrong kernel? I did compile a new one a few days ago, but that was from 2.2.16 (I think).
Using the nForce mother board which has the vidcard intergrated.
Using this driver: http://www.nvidia.com/view.asp?IO=l...y_ia32_1.0-4363 <http://www.nvidia.com/view.asp?IO=linux_display_ia32_1.0-4363>
Hope thats enough information.
I'll take ANY suggestions!
GaryJones32
05-21-2003, 05:24 PM
try typing
uname -a
to see what kernel version you are using
you might be booting a different kernel than you think.
if so adjust boot loader.
basically the module just isn't working properly
could be because of the kernel version
the module has to be compiled with the headers to the kernel version you are using.
if you build the module from the tarball try
make install SYSINCLUDE=/path/to/proper/version/kernel/headers
(put in the real path)
hope that helps