LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   startx command not found (https://www.linuxquestions.org/questions/debian-26/startx-command-not-found-239964/)

brian183 10-07-2004 04:33 PM

startx command not found
 
OK,

I decided after installing with netinst and selecting the desktop packages that I don't really need all the stuff that comes with the desktop. So, I formatted my HDD and went through an install but this time I choose the manual package selection. This only lists packages for linux' CLI and not for dektop GUI environments. I figured that's OK...I'll just install X, Openbox, etc... later on. So, I install all of the "base" progs and rebooted in as root (to make sure I have the rights). Then I do a "apt-get update" to get an updated package list. Then "apt-get dist-update" and that runs fine. I then do a "apt-get install xserver-xfree86" and that seems to install perfectly without probs. Next I type "apt-get install openbox" again everything installs and returns no errors. So then I type startx (I alrdy made the .xinit or whatever in my home to start openbox on that command) but bash returns with an error saying the command doesn't exist. I get this error in both root and my user account. When I try "openbox" I get a "can't open display" error.

things I've done:
1) #dpkg -l....lists the xserver in there
2) #dpkg-reconfigure xserver-xfree86....runs great and I did it correctly.
3) tried searching on how to add a bash command (this may a given for all u vets but I'm coming from windows->Mandrake(great distro and very easy)->debian) in other words I'm a :newbie:


What I'm trying to accomplish is a simple desktop environment (openbox) without all the stuff you get from kde/gnome. I just don't need any of it. It's not that I don't have the room...I just don't want all those apps.

So, did i forget to install another package?...or perhaps I need to do configuring with the xserver?

any help would be fantastic. :D

busbarn 10-07-2004 04:43 PM

apt-get install x-window-server

I ran in to the same problem, and found out that x-window-server was never installed. Hope that does it for you.

brian183 10-07-2004 04:58 PM

cool I'll give that a try

thanx for fast reply

brian183 10-07-2004 05:13 PM

I tried your exact command and apt returned with an error saying it can't find "x-window-server" package.

Dead Parrot 10-07-2004 05:54 PM

It's "x-window-system", not "x-window-server".

Try aptitude -- it'll save you from typos, and it shows you depends as well as recommended packages. Aptitude has useful quick help ("?").

You can move the highlighted area in aptitude by using up/down cursor keys and Enter. When you highlight a specific package and press Enter, you get to view its depends and recommended packages. And you get back from this package-specific view to the more general package list view by pressing "q".

brian183 10-07-2004 06:16 PM

busbarn...Dead Parrot

you deserve a beer.

Got it to work and I'm now in Openbox.

busbarn 10-07-2004 06:37 PM

Oops...sorry about the system/server thing. Anyways, congrats on your new working system!


All times are GMT -5. The time now is 06:44 PM.