LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-07-2004, 04:33 PM   #1
brian183
LQ Newbie
 
Registered: Oct 2004
Posts: 13

Rep: Reputation: 0
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


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.
 
Old 10-07-2004, 04:43 PM   #2
busbarn
Member
 
Registered: Feb 2002
Location: Denver, CO US
Distribution: Arch
Posts: 453

Rep: Reputation: 30
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.
 
Old 10-07-2004, 04:58 PM   #3
brian183
LQ Newbie
 
Registered: Oct 2004
Posts: 13

Original Poster
Rep: Reputation: 0
cool I'll give that a try

thanx for fast reply
 
Old 10-07-2004, 05:13 PM   #4
brian183
LQ Newbie
 
Registered: Oct 2004
Posts: 13

Original Poster
Rep: Reputation: 0
I tried your exact command and apt returned with an error saying it can't find "x-window-server" package.
 
Old 10-07-2004, 05:54 PM   #5
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
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".
 
Old 10-07-2004, 06:16 PM   #6
brian183
LQ Newbie
 
Registered: Oct 2004
Posts: 13

Original Poster
Rep: Reputation: 0
busbarn...Dead Parrot

you deserve a beer.

Got it to work and I'm now in Openbox.
 
Old 10-07-2004, 06:37 PM   #7
busbarn
Member
 
Registered: Feb 2002
Location: Denver, CO US
Distribution: Arch
Posts: 453

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


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 desluscious Linux - Newbie 6 08-25-2003 06:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:22 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