LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-22-2005, 03:09 AM   #1
limboonlee
LQ Newbie
 
Registered: Apr 2005
Posts: 13

Rep: Reputation: 0
How to install startx and Xfce?


I tried to install Debian 2.1 on my old laptop IBM Thinkpad 760xl.

Manage to install on 2nd attempt

I formatted the HDD with win98 bootup disk, copied the root.bin, linux, resc1440.bin, drv1440.bin and base2_1.tgz, install.bat and loadln.exe into the HDD and install from the HDD.

However, when I try to run startx, I get the msg "Command not found".

So thinking that it could be due to path problem, I do a search on the whole harddisk, and I discovered that I don't have the startx file at all.

Any ideas what goes wrong during installation?

How do I install the startx?

I am thinking of using Xfce as my window manager as I read the GNOME and KDE is heavy. My laptop is only a 166MHz with 32MB Ram.

How do I install the Xfce??

Thanks in advance.
 
Old 04-22-2005, 03:20 AM   #2
limboonlee
LQ Newbie
 
Registered: Apr 2005
Posts: 13

Original Poster
Rep: Reputation: 0
I have downloaded the following

xfce4-4.2.1.1-installer.bin
gtk2-xfce-engine-4.2.1-installer.bin
xfce-goodies-4.2.1-installer.bin
Terminal-0.2.4-installer.bin

but I am not sure if these are enough?

Can I install Xfce without startx?
 
Old 04-22-2005, 03:27 AM   #3
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
Re: How to install startx and Xfce?

Quote:
Originally posted by limboonlee
I tried to install Debian 2.1 on my old laptop IBM Thinkpad 760xl.

Manage to install on 2nd attempt

I formatted the HDD with win98 bootup disk, copied the root.bin, linux, resc1440.bin, drv1440.bin and base2_1.tgz, install.bat and loadln.exe into the HDD and install from the HDD.

However, when I try to run startx, I get the msg "Command not found".

So thinking that it could be due to path problem, I do a search on the whole harddisk, and I discovered that I don't have the startx file at all.

Any ideas what goes wrong during installation?

How do I install the startx?

I am thinking of using Xfce as my window manager as I read the GNOME and KDE is heavy. My laptop is only a 166MHz with 32MB Ram.

How do I install the Xfce??

Thanks in advance.
Wait a minute.... OK so you did a HD install... How did the install go?
When you boot up, do you get a login prompt, are you able to login with a user and PW? Unlikelly that startx is not in your path... try:

whereis startx

should get something like:
startx: /usr/X11R6/bin/startx /usr/bin/X11/startx

Try:
startx Xfce
startx kde
startx gnome

KC
 
Old 04-22-2005, 03:34 AM   #4
limboonlee
LQ Newbie
 
Registered: Apr 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Re: Re: How to install startx and Xfce?

Quote:
Originally posted by kencaz
Wait a minute.... OK so you did a HD install... How did the install go?
When you boot up, do you get a login prompt, are you able to login with a user and PW? Unlikelly that startx is not in your path... try:

whereis startx

should get something like:
startx: /usr/X11R6/bin/startx /usr/bin/X11/startx

Try:
startx Xfce
startx kde
startx gnome

KC

Yes, I completed the installation, and can login using the new user created and root user as well.

I did not check the path, but when I run the command

find ./ -name startx -print

it did not return me any findings.
 
Old 04-22-2005, 02:13 PM   #5
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
Have you tried "startxfce4" instead?
Here's a howto which I used: http://www.os-works.com/view/debian/
 
Old 04-22-2005, 02:22 PM   #6
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Quote:
My laptop is only a 166MHz with 32MB Ram.
I'd suggest buying more RAM -- the more, the better.
 
Old 04-22-2005, 02:48 PM   #7
samael26
Member
 
Registered: Oct 2004
Location: France, Provence
Distribution: Debian
Posts: 848

Rep: Reputation: 30
Hi,
Probably a stupid question, but..did you install the X environment at all..? You know, Xfree...

In case it is installed you must run : dpkg-reconfigure xserver-xfree86 to generate your

config file, then you'll be able to find a startx command that works ! this problem happened to

me, I ran the above command (lots of questions asked I warn you, have info ready !) and I

finally got it to work. Fluxbox is also a choice to consider for a window manager : very low in resources.

Cheers

Last edited by samael26; 04-22-2005 at 02:50 PM.
 
Old 04-22-2005, 04:39 PM   #8
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
Yeah! I'm begining to think X services were never installed. You can certainly install without it but its just more hassle adding it later. To answer the question a couple of posts back, NO you can't install XFce without X services.

KC
 
Old 04-22-2005, 05:59 PM   #9
Draygo
Member
 
Registered: May 2004
Location: Frisco, TX
Distribution: Debian Unstable
Posts: 73

Rep: Reputation: 15
Just to agree with the above poster, I don't think you installed X. You can always try:

apt-get install x-window-system
 
Old 04-23-2005, 02:49 AM   #10
limboonlee
LQ Newbie
 
Registered: Apr 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by samael26
Hi,
Probably a stupid question, but..did you install the X environment at all..? You know, Xfree...

In case it is installed you must run : dpkg-reconfigure xserver-xfree86 to generate your

config file, then you'll be able to find a startx command that works ! this problem happened to

me, I ran the above command (lots of questions asked I warn you, have info ready !) and I

finally got it to work. Fluxbox is also a choice to consider for a window manager : very low in resources.

Cheers

Quote:
Originally posted by kencaz
Yeah! I'm begining to think X services were never installed. You can certainly install without it but its just more hassle adding it later. To answer the question a couple of posts back, NO you can't install XFce without X services.

KC

Quote:
Originally posted by Draygo
Just to agree with the above poster, I don't think you installed X. You can always try:

apt-get install x-window-system


This is definitely not a stupid question.

I am not sure if I install the X environment. How do I make sure? Also, how do I install the X environment if I do not have access to internet? I have re-installed the laptop with Woody using the 20-floppy disks installation method. Is the X environment package in the 20 floppy disks?

If not, I understand that Woody have 7 CDs. Which CD should I download such that I can install the X environment.

Can I says that after installing X environment, I can install Xfce or Flusbox?
 
Old 04-23-2005, 03:13 AM   #11
samael26
Member
 
Registered: Oct 2004
Location: France, Provence
Distribution: Debian
Posts: 848

Rep: Reputation: 30
Quote:
Originally posted by limboonlee
This is definitely not a stupid question.

I am not sure if I install the X environment. How do I make sure? Also, how do I install the X environment if I do not have access to internet? I have re-installed the laptop with Woody using the 20-floppy disks installation method. Is the X environment package in the 20 floppy disks?

If not, I understand that Woody have 7 CDs. Which CD should I download such that I can install the X environment.

Can I says that after installing X environment, I can install Xfce or Flusbox?
I think you did not install the X environment, limboolee.

try what Draygo suggests : apt-get install x-window-system

I don't know which CD is X on.

I see you can download. It is not a matter of downloading a CD. If you have apt-get running

and an internet connection, just type in as root in a console : apt-get install x-window-system.

You will have to set up your sources, though. Do that : in your favourite text editor, open the file :

/etc/apt/sources.list , then add your sources(to be found on debian.org), such as : (example) : ftp.fr.debian.org/ stable/updates main contrib non-free

Then, once you have configured it with the command I gave you in my previous post, you'll

be able to do that with Xfce or fluxbox, also using apt-get.

Read the Debian documentation on install on Debian.org : that is the VERY FIRST STEP.

Hope it helps
 
Old 04-25-2005, 12:57 PM   #12
limboonlee
LQ Newbie
 
Registered: Apr 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Look like I hit a similar problem just like the rest of the newbie.

I cannot start my X. When I run startx, the lcd screen become a big 'snow storm'.

I am lucky to see the mouse, so I left click and can see some shadow of the menu, and click exit. I am able to get back to the command prompt.

I have get my XF86Config-4, the defaultdepth from 24 to 8.

What other parameter can I set?

I tried to run the dpkg-reconfigure xserver-xfree86. but it is asking me some parameter about the PCI of the video card????

I will try to get the exact error output, but at the mean time, does anyone encountered the same problem and managed to get it working.

To refresh, mine laptop is a IBM Thinkpad 760XL.




Last edited by limboonlee; 04-26-2005 at 08:14 PM.
 
Old 04-26-2005, 08:26 PM   #13
limboonlee
LQ Newbie
 
Registered: Apr 2005
Posts: 13

Original Poster
Rep: Reputation: 0
will it help if I tries to setup the pcmcia network card so as to install sarge instead of trying to figure out how to get the X working?

Will sarge helps in the X environment?

Last edited by limboonlee; 04-26-2005 at 08:52 PM.
 
Old 04-27-2005, 03:00 AM   #14
samael26
Member
 
Registered: Oct 2004
Location: France, Provence
Distribution: Debian
Posts: 848

Rep: Reputation: 30
It seems that Sarge supports a better hardware detection, so it might not be a bad idea to try that

instead. I couldn't tell about previous Debian versions, because Sarge is my first install of Debian.

Provided your hardware is not too "exotic", meaning very unusual video cards or sound cards, it

should detect it better than the version you are currently installing. But I think Debian does not

detect hardware as finely as some distros, because I have a fairly recent computer and trying to

install Sarge on it was impossible via netinstall : it did not detect my Ethernet card.. I installed

Slackware 10.1 instead and it was immediately detected...

To see if yours would be detected, you can go to the Libranet site and check the hardware requirements there :

they seem to be the same as for Sarge, because Libranet is based upon it.

Hope that helps

Cheers

Last edited by samael26; 04-27-2005 at 03:02 AM.
 
Old 05-11-2005, 08:09 PM   #15
limboonlee
LQ Newbie
 
Registered: Apr 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Quite busy, so no time to try to set up.

I read from a lot of threads that XFree86 4.1.0 does not work well for Trident driver, and the recommanded version is 3.3.6.

So I download all the 3.3.6 version into the hdd.
Then I uses "dpkg -p " to remove all the XFree86 package.
And when I tries to run the "preinst.sh" from the 3.3.6 version, is throws an error message similar as below:

This is an a.out system. This version (3.3.6) does not install on a.out system.

Any one encounter the same error messages?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
10.1 trying to install xfce swdeliriousdude Mandriva 4 05-16-2005 07:00 PM
Can someone help me install XFce? Kramer Linux - General 19 08-12-2004 12:54 PM
startx (xfce) Shr00mBoXx Slackware 7 03-28-2004 11:26 AM
XFCE crashes when i startx. kriep Slackware 1 12-06-2003 11:31 PM
Trying to install XFCE 4 Bogus8 Slackware 12 10-17-2003 04:16 PM

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

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