LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-20-2003, 06:46 PM   #1
rawkstar59
LQ Newbie
 
Registered: May 2003
Posts: 12

Rep: Reputation: 0
X-Window startx:command not found


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?
 
Old 05-20-2003, 06:52 PM   #2
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
Haven't you tried to download the tar.gz bianaries and reinstall from those? They should place your startx command in /usr/X11R6/bin directory. Have you tried an #init 5 command to see if your X interface is working in that init state?
 
Old 05-20-2003, 07:40 PM   #3
rawkstar59
LQ Newbie
 
Registered: May 2003
Posts: 12

Original Poster
Rep: Reputation: 0
When I give a init 5 command, it responds with this:

INIT:Switching to runlevel:5
INIT: Sending processes to the TERM signal

I try startx after that, but it gives the same error. I'm a newbie so i don't really know what the init is suppose to do.

Where can i find tar.gz bianiaries for X?
 
Old 05-20-2003, 08:05 PM   #4
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
Ok first did X work and now it does not?
 
Old 05-20-2003, 08:12 PM   #5
rawkstar59
LQ Newbie
 
Registered: May 2003
Posts: 12

Original Poster
Rep: Reputation: 0
Yesterday startx worked....but with some trouble. When I booted my PC today, it "forced a check" of my hard drive (don't know what thats all about). Then I tried installing an updated driver from nvida, tried startx, it then game me the "command not found" message. Reinstalled the orignial driver, still have me the same error. It just seems strange that startx would suddenly stop working. I'll try anything anyone suggests.
 
Old 05-20-2003, 08:15 PM   #6
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
what does the command:

$whereis startx

reveal?
 
Old 05-20-2003, 08:39 PM   #7
rawkstar59
LQ Newbie
 
Registered: May 2003
Posts: 12

Original Poster
Rep: Reputation: 0
Just spits out this:

startx:

Not to revealing :-(

I just don't get how it can just disappear.
 
Old 05-20-2003, 08:59 PM   #8
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
Ok, you can do either of two things: reinstall X from your Install CD's (that should get you started) if it indeed works, try switching to console (either via init 3 [pure console] or by killing X [ctrl+alt+backspace]) then install your drivers, edit your XF86Config-4 file and restart X, again either by init 5 (starts computer with X running in gdm, xdm or kdm) or startx. if it works, great! if not... try to keep track of what the /var/log/XFree86.0.log file says. Alternatively you can redirect the output to a file so you can view what its being printed to the screen using a ">" character:
$startx > error.out
 
Old 05-20-2003, 11:46 PM   #9
rawkstar59
LQ Newbie
 
Registered: May 2003
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks for the help. I got startx working. But I have a new problem. When I startx, it gives me an error that says "screen found, but non 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 is X86Config.

Any suggestions?
 
Old 05-21-2003, 11:37 AM   #10
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
When you get that error it's sometimes because you haven't properly
configured your XF86Config file. Go ahead and post that up here if at all possible.
Also, there are other reasons you get that error so if you could redirect the error to an output file like TheTargos has shown
And also post that up as well, that would be great. (Sorry if I spelled the name wrong, I'm in lynx and cannot scroll backup).

Cool
 
Old 05-21-2003, 11:43 AM   #11
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Are you using debian? If so, try this command"

dpkg-reconfigure xserver-xfree86

# Configuring X
Linux Hardware Compatibility HOWTO - video cards
The Linux XFree86 HOWTO
Common X configuring tools:
Debian - dpkg-reconfigure xserver-xfree86
Mandrake - XFdrake
Redhat 7.3 down - the setup utility leads to several config tools
Redhat 7.3 up - redhat-config-xfree86
You may have these tools:
XF86Setup
XFree86 -configure
Xconfigurator
xf86cfg
xf86config
xconf
nVidia Driver Installation NHF
nVidia driver page
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
startx command not found r2d2owns Slackware 5 11-24-2005 08:44 PM
startX 'command not found' ? phil81 Debian 20 01-05-2005 08:59 AM
startx command not found suresheva31 Linux - General 1 10-15-2004 03:12 AM
startx command not found brian183 Debian 6 10-07-2004 06:37 PM
startx command not found desluscious Linux - Newbie 6 08-25-2003 06:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration