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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-24-2003, 10:19 PM
|
#1
|
LQ Newbie
Registered: Aug 2003
Distribution: Debian
Posts: 5
Rep:
|
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?
|
|
|
08-24-2003, 10:40 PM
|
#2
|
Senior Member
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070
Rep:
|
What is the output of
whereis startx
|
|
|
08-24-2003, 11:00 PM
|
#3
|
Member
Registered: May 2003
Distribution: Debian GNU/Linux 3.0 Sid, OpenBSD 3.5
Posts: 190
Rep:
|
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.
|
|
|
08-25-2003, 07:16 PM
|
#4
|
LQ Newbie
Registered: Aug 2003
Distribution: Debian
Posts: 5
Original Poster
Rep:
|
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...
|
|
|
08-25-2003, 07:23 PM
|
#5
|
LQ Newbie
Registered: Aug 2003
Distribution: Debian
Posts: 5
Original Poster
Rep:
|
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.
|
|
|
08-25-2003, 07:43 PM
|
#6
|
Senior Member
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070
Rep:
|
Do you have a rescue disk?
You'll need to boot with it and run
/sbin/lilo
|
|
|
08-25-2003, 07:57 PM
|
#7
|
LQ Newbie
Registered: Aug 2003
Distribution: Debian
Posts: 5
Original Poster
Rep:
|
Yes, I have a rescue disk, so I'll try that. Thanks!!
|
|
|
All times are GMT -5. The time now is 12:55 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|