LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-24-2003, 09:19 PM   #1
desluscious
LQ Newbie
 
Registered: Aug 2003
Distribution: Debian
Posts: 5

Rep: Reputation: 0
startx command not found


I've been using XWindows for a few months w/o any problems. Yesterday I was upgrading my Debian packages and when I restarted my system and typed 'startx', I got the following message: -bash: startx: command not found.

It seems like I need to add this command, but I don't know which file to add it to nor the correct syntax. Any ideas or tips for troubleshooting?
 
Old 08-24-2003, 09:40 PM   #2
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
What is the output of
whereis startx
 
Old 08-24-2003, 10:00 PM   #3
KneeLess
Member
 
Registered: May 2003
Distribution: Debian GNU/Linux 3.0 Sid, OpenBSD 3.5
Posts: 190

Rep: Reputation: 30
You were using APT, no?

Maybe APT removed X. It usually says something like, 1 new, 243 to be upgraded, 2 to be removed.

You might have to apt-get yourself X again.
 
Old 08-25-2003, 06:16 PM   #4
desluscious
LQ Newbie
 
Registered: Aug 2003
Distribution: Debian
Posts: 5

Original Poster
Rep: Reputation: 0
Unfortunately I myself into more trouble--I rebooted my machine, but it doesn't get any further than the "Searching for Boot Record" screen. It says "Searching for Boot Record from IDE..OK" then just displays "LI" and stops. So I guess X Windows is the least of my worries right now...
 
Old 08-25-2003, 06:23 PM   #5
desluscious
LQ Newbie
 
Registered: Aug 2003
Distribution: Debian
Posts: 5

Original Poster
Rep: Reputation: 0
And to answer the questions before I got myself into more trouble, I was using Synaptic when I was upgrading my packages. I didn't try 'whereis', but I did do a 'locate startx' and it didn't return anything. Thanks for your help.
 
Old 08-25-2003, 06:43 PM   #6
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
Do you have a rescue disk?
You'll need to boot with it and run
/sbin/lilo
 
Old 08-25-2003, 06:57 PM   #7
desluscious
LQ Newbie
 
Registered: Aug 2003
Distribution: Debian
Posts: 5

Original Poster
Rep: Reputation: 0
Yes, I have a rescue disk, so I'll try that. Thanks!!
 
  


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 is not found. What do I do? Alram Linux - Newbie 11 12-20-2004 10:25 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:35 AM.

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