LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   startx command not found (https://www.linuxquestions.org/questions/linux-newbie-8/startx-command-not-found-85332/)

desluscious 08-24-2003 09:19 PM

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?

darthtux 08-24-2003 09:40 PM

What is the output of
whereis startx

KneeLess 08-24-2003 10:00 PM

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.

desluscious 08-25-2003 06:16 PM

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...

desluscious 08-25-2003 06:23 PM

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.

darthtux 08-25-2003 06:43 PM

Do you have a rescue disk?
You'll need to boot with it and run
/sbin/lilo

desluscious 08-25-2003 06:57 PM

Yes, I have a rescue disk, so I'll try that. Thanks!!


All times are GMT -5. The time now is 11:03 PM.