Go Back   PCMech Forums > Linux Support > Linux OS and Software Assistance

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 08-15-2005, 10:03 AM   #1
Member (11 bit)
 
Join Date: Jul 2003
Posts: 1,060
help installing debian

Im trying to install linux for my first time, and im working with the debian "sarge" version. I downloaded the network install cd and got it installed good i think.

But it just boots to the command line, how do i get it working in a GUI?
jimmyrules712 is offline   Reply With Quote
Old 08-15-2005, 01:28 PM   #2
Member (8 bit)
 
Join Date: Jul 2005
Posts: 177
After the base system was installed what choices did you make for what you wanted installed on your system? The install routine gives a choice of desktop, web server, database server, email server, etc....
ffreeloader is offline   Reply With Quote
Old 08-15-2005, 10:43 PM   #3
Member (10 bit)
 
Join Date: Jun 2003
Location: Virginia
Posts: 985
Jimmy, Have you tried here? http://www.debian.org/releases/woody/i386/install

This is the install manual for Debian Woody which I believe is the satable version of sarge, or vice versa. I couldn't find the one for sarge.
__________________
AMD AthlonXP 2500+ Barton/Soltek SL-75FRN-RL/1024Mb DDR333 Kingston Ram/WD 120gig 8mb cache HD/Lite-On 52x32x52 CD-R-R/W/ATAPI 16x DVD/Sony 3.5 Floppy/Antec Solutions Case W/ 350W Antec PSU
Karnevil9 is offline   Reply With Quote
Old 08-15-2005, 10:57 PM   #4
Member (11 bit)
 
Join Date: Jul 2003
Posts: 1,060
Quote:
Originally Posted by ffreeloader
After the base system was installed what choices did you make for what you wanted installed on your system? The install routine gives a choice of desktop, web server, database server, email server, etc....
i chose desktop
jimmyrules712 is offline   Reply With Quote
Old 08-15-2005, 11:23 PM   #5
Member (8 bit)
 
Join Date: Jul 2005
Posts: 177
Quote:
i chose desktop
Hmmm.... I've never had Sarge not boot up to the gdm login screen when the desktop was chosen during install. It could be one of a couple of things.

Gnome and KDE could have failed to install properly. What happens when you login in at the prompt, type "startx" (without the quote marks), and then hit enter?

Second. What video card are you using, and what video driver did you choose during base system install? If you chose the wrong driver for the video card in your computer the gui's will fail to start and you'll end up at a text screen and command prompt.

Here's how to find out what video card you have. Type the following command less the quote marks: "lspci -v | more" That's a small cap L and the | is a pipe symbol. You get it by hitting the shift key plus the backslash key. That will list out all the pci hardware on your computer. There will most likely be more than one screen to display so after you've read the first screen just hit the spacebar. That will scroll the screen up one full screen at a time so you can read everything that the command returns. If you need to run it more than once just hit the up arrow once and it will display the command again and hit enter. It will run again for you.
ffreeloader is offline   Reply With Quote
Old 08-15-2005, 11:28 PM   #6
Member (8 bit)
 
Join Date: Jul 2005
Posts: 177
Quote:
This is the install manual for Debian Woody which I believe is the satable version of sarge, or vice versa. I couldn't find the one for sarge.
Woody was the stable Debian release until a couple of months ago. It is no longer the current release. Sarge is now the stable release and is the only version of Debian for which there is a netinstall cd, and that is what is jimmyrules is using.
ffreeloader is offline   Reply With Quote
Old 08-16-2005, 07:05 AM   #7
Member (10 bit)
 
Join Date: Jun 2003
Location: Virginia
Posts: 985
Thanks for clearing that up Ffreeloader. It's been awhile since I was trying out Debian. But perhaps Jimmy could find a solution to his problem just on the Http://debian.org site.
Karnevil9 is offline   Reply With Quote
Old 08-16-2005, 08:28 AM   #8
Member (9 bit)
 
Join Date: Mar 2005
Location: Milton Keynes, Buckinghamshire
Posts: 273
Send a message via ICQ to Ind-PC_student Send a message via MSN to Ind-PC_student Send a message via Yahoo to Ind-PC_student
Quote:
Originally Posted by jimmyrules712
Im trying to install linux for my first time, and im working with the debian "sarge" version. I downloaded the network install cd and got it installed good i think.

But it just boots to the command line, how do i get it working in a GUI?
That so called commandline i suppose is the

Boot:

you have several choices:

1 press enter or tyoe linux for default options

2 for the kernel series type:

linux24 for the 2.4.xx series
linux26 for the 2.6.xx series (recommended)

3 For more options you should use the keys -- F! -- F2 -- F3 -- F4 --
__________________
Linux Counter | Linux User #289274 | Linux Machine #289274 | All Welcome!!!|

NoteBook Toshiba Satellite L300D-243 | AMD Athlon™ X2 Dual-Core QL-64: 2.1 GHz | RAM 3,072 (2,048 + 1,024) | 250 GB HDD | DVD Super Multi drive DL | Display 15.4” Toshiba TruBrite® WXGA TFT @ 1,280 x 800 | ATI Radeon™ 3100 Graphics | Internal HD 720p | HD Audio | Multimedia Bar with 6 touch Easy Keys | integrated VGA Web Camera | integrated microphone |

Peripherals Luminox Digital 5.0MP Pocket Camcorder| HP Deskjet 3050 all-in-one | Hwawei e173 3G Dongle | Hitachi 320GB USB HDD
Ind-PC_student is offline   Reply With Quote
Old 08-16-2005, 09:03 AM   #9
Member (8 bit)
 
Join Date: Jul 2005
Posts: 177
Quote:
That so called commandline i suppose is the

Boot:

you have several choices:

1 press enter or tyoe linux for default options

2 for the kernel series type:

linux24 for the 2.4.xx series
linux26 for the 2.6.xx series (recommended)

3 For more options you should use the keys -- F! -- F2 -- F3 -- F4 --
If you read his second post he says he chose desktop after the base system was installed. That means he already installed what is on the netinstall cd. He's long since past what you're referring to, according to his posts.
ffreeloader is offline   Reply With Quote
Old 08-16-2005, 04:31 PM   #10
Member (11 bit)
 
Join Date: Jul 2003
Posts: 1,060
when i get to the command line, and type in the "startx" command which should run the gui, the following comes up.

/usr/x11r6/lib/x11/xinit/xserverrc: line 2: /usr/bin/x11/x: No such file or directory

/usr/x11r6/lib/x11/xinit/xserverrc: line 2: exec: /usr/bin/x11/x: cannot execute: no such file or directory
giving up.
xinit: no such file or directory (errno 2): Unable to connect to x server
xinit: no such process (errno 3): Server error
jimmyrules712 is offline   Reply With Quote
Old 08-16-2005, 06:27 PM   #11
Member (8 bit)
 
Join Date: Jul 2005
Posts: 177
Ok. Either you didn't install the Desktop system or the install failed. One of the two. I'm guessing that you may have highlighted Desktop but didn't hit the spacebar to actually mark the choice so the installer didn't install the Desktop software. If you successfully marked Desktop it normally takes about 25-30 minutes on a 3 mb/s connection to download the all the necessary files. If you didn't have an extended download time like that where the installer is printing the list of all the files to the screen as it downloads them, then you didn't actually install the Desktop software.

I've never had the installer run through the install routine and just fail to install anything without showing a whole bunch of errors. The only time I've had any type of install problems was when the installer was still in beta and sarge was still the testing release. Since it's been released as stable I've never had a problem with it.

It's a major headache for someone with no experience to install and configure the xserver manually, so the easiest way to do this is start your install over. I'd recommend that when you get to the boot screen on the cd that you type "linux26" at the prompt before you hit enter so it installs the 2.6 kernel for you. You'll get much better sound from alsa than oss. (alsa is the default sound driver system in the 2.6 kernel)
ffreeloader is offline   Reply With Quote
Old 08-16-2005, 07:00 PM   #12
Member (11 bit)
 
Join Date: Jul 2003
Posts: 1,060
i tried doing it over again, made sure desktop was selected, and im haveing the same problem again.

It installs fine, downloads all the files it needs fine, and when it finishes it goes to the command line, and then same problems as stated above.

Last edited by jimmyrules712; 08-16-2005 at 09:55 PM.
jimmyrules712 is offline   Reply With Quote
Old 08-16-2005, 07:41 PM   #13
Member (8 bit)
 
Join Date: Jul 2005
Posts: 177
Ok. We'll walk you through this.

You will need to work as root to do this.

Run the following command: apt-get install xserver-xfree86 xfree86-common

When that installs it should launch a configuration utility for configuring the X window system. If it doesn't type "dpkg-reconfigure xserver-xfree86" and hit enter. Make sure you know what video card you have so you can choose the correct video driver or the xserver won't start.
ffreeloader is offline   Reply With Quote
Old 08-16-2005, 09:56 PM   #14
Member (11 bit)
 
Join Date: Jul 2003
Posts: 1,060
i double checked again and you where right, i wasn't selected the desktop setting like iw as supposed to, that spacebar thing will get ya.

im in the middle of the long download now, ill tell ya how it goes.
jimmyrules712 is offline   Reply With Quote
Old 08-16-2005, 10:15 PM   #15
Member (8 bit)
 
Join Date: Jul 2005
Posts: 177
Quote:
i double checked again and you where right, i wasn't selected the desktop setting like iw as supposed to, that spacebar thing will get ya.
OK. I knew it had to be something like that. The Sarge installer is pretty good.

BTW, that's like a few of the mistakes I made when I first started with Debian, only I started with Woody and there were quite a few more places that were gotcha's if you weren't paying atttention.
ffreeloader is offline   Reply With Quote
Old 08-16-2005, 11:10 PM   #16
Member (11 bit)
 
Join Date: Jul 2003
Posts: 1,060
its up and running, im loged in through KDE right now.

something else you could help me with is, my screen resolution is aty 640 x 480, and it doesnt let me enlarge it, what do i need to do?
jimmyrules712 is offline   Reply With Quote
Old 08-17-2005, 07:32 AM   #17
Member (8 bit)
 
Join Date: Jul 2005
Posts: 177
As root you need to edit /etc/X11/F86Config-4. Here's a copy of mine so you can see how it looks and compare it with yours. The section you need to edit is the one I've bolded. Just add the desired resolutions.

This file is read at startup so this is one time you will have to reboot a linux machine to effect a change. Then you'll be able to change resolutions.

Quote:
# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
# cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
# md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
# dpkg-reconfigure xserver-xfree86

Section "Files"
# if the local font server has problems, we can fall back on these
FontPath "unix/:7100"
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/local/share/fonts"
FontPath "/usr/share/fonts"
FontPath "/usr/X11R6/lib/X11/fonts"
FontPath "/usr/share/fonts/afms"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/share/fonts/type1"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
EndSection

Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "Generic Video Card"
Driver "ati"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
HorizSync 28-50
VertRefresh 43-75
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection

EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Generic Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection
ffreeloader is offline   Reply With Quote
Old 08-17-2005, 07:34 AM   #18
Member (8 bit)
 
Join Date: Jul 2005
Posts: 177
I see that copying and pasting changed the formatting of the file somewhat. Just ignore that.
ffreeloader is offline   Reply With Quote
Old 08-17-2005, 11:36 PM   #19
Member (11 bit)
 
Join Date: Jul 2003
Posts: 1,060
you told me what to edit, but not how to do it. im having trouble figureing out how to even get to the point of be able to edit that file. what do i type in? and now that i have the gui working, i dont know how to boot the to command prompt either.

also a different question.

I have the bootloader installed that debian put on, because im running windows and linux on my machine.

well when i first turn the computer on, half the time it says it cant find a system disk, and i need to put in a disc and press enter (this is before the bootloader comes up. But when i reboot it, it boots to the bootloader fine.

is this a hardware or software problem?

Last edited by jimmyrules712; 08-17-2005 at 11:47 PM.
jimmyrules712 is offline   Reply With Quote
Old 08-18-2005, 12:54 AM   #20
Member (8 bit)
 
Join Date: Jul 2005
Posts: 177
Quote:
you told me what to edit, but not how to do it. im having trouble figureing out how to even get to the point of be able to edit that file. what do i type in? and now that i have the gui working, i dont know how to boot the to command prompt either.
Sorry about that.

Any configuration file in Debian is a text file. So, you can use any text editor to do the job. Kate, or Kwrite will work just fine. I edit all these files with vi, but at your level of Linux skills Kate or Kwrite will do just fine.

Go to System -> More Applications -> File Manager --Super User Mode. It will ask you for the password for root. Once it opens you'll see a tree in the left hand pane. Expand "Devices" and look for /etc. Expand that and look for /X11. The file you're looking for is inside that directory. Just right click it and choose to open it with Kate. You can then edit it and save your changes.

Then you'll have to reboot.

Getting to a "command prompt" in Linux is as easy as clicking on the icon in the bar at the bottom of the KDE screen that looks like a black monitor with >_ on it. That takes you to a bash prompt. From there you can run any command you need to.

I'd recommend that you do some reading. Go to the main program menu and choose Debian -> Help -> Debian Reference. That is one of the best educational sources you can find for learning about how to work with Debian. It's the Debian reference manual.

Good luck. You've got a first rate OS to learn and work with. I'll be around so if you need help ask. Try doing some Google research first though. It's an excellent way to learn more about your system.
ffreeloader is offline   Reply With Quote
Old 08-18-2005, 11:52 AM   #21
Member (11 bit)
 
Join Date: Jul 2003
Posts: 1,060
i tried what you said, and i got as far as expanding the "devices" tree on the left side. when i did that, i found no /etc option. the only things listed under devices were my 2 optical drives and my hard drive.

edit: i messed around and found what i needed, i had to go into my hard drive after expanding the devices.
jimmyrules712 is offline   Reply With Quote
Old 08-18-2005, 12:02 PM   #22
Member (11 bit)
 
Join Date: Jul 2003
Posts: 1,060
alright i did what you said, opened the xf86config-4 file in kate and copied and pasted the bold text you had in this thread into there, saved, and rebooted.

and i still only have 640 x 480 as my screen resolution options.

did i do something wrong?
jimmyrules712 is offline   Reply With Quote
Old 08-18-2005, 09:59 PM   #23
Member (8 bit)
 
Join Date: Jul 2005
Posts: 177
What video card do you have?
ffreeloader is offline   Reply With Quote
Old 08-18-2005, 10:21 PM   #24
Member (11 bit)
 
Join Date: Jul 2003
Posts: 1,060
im not sure, this is a computer that was given to me, and the video is somekind of onboard integrated graphics.
jimmyrules712 is offline   Reply With Quote
Old 08-18-2005, 10:55 PM   #25
Member (8 bit)
 
Join Date: Jul 2005
Posts: 177
OK.

Open up a bash prompt and run the following command: lspci -v > lspci.txt It will save a text file in your home directory called lspci.txt. Open that file up with Kate and then copy and paste the contents of that file here. We'll see if we can figure out what the card is.

BTW, how old is this computer? What's the make and model number?

When asked to choose a video driver what did you choose? I've mentioned this a couple of times and you've basically ignored me on this.
ffreeloader is offline   Reply With Quote
Old 08-24-2005, 11:05 AM   #26
Member (5 bit)
 
Join Date: Jul 2005
Location: boston
Posts: 17
Send a message via AIM to slap Send a message via Yahoo to slap
I need help with debian so hopefully this is the right thread. I'm new to debian, I've played around with Fedora but I'm a linux newbie.

Background info. I completed the install from the netcd. I chose to install the desktop and print serve packages and everything was pulled from a mirror. The problems begin when the GUI attempts to start. In short it crashes and then I get a command prompt. I get an error that says (I'm paraphrashing) the xserver is not configured, configure it and then restart GNU.

At the command prompt I'm able to log in (as root and user) and move around the OS so I'm assuming the install itself is fine.

I have two problems display adapter settings (this is an old machine with intergrated graphics) and the mouse. During the install I was prompted to enter information about these two things and I didn't know what to enter.

It asked how my mouse was connected (it's a two button PS/2) so I chose the default setting. Later it asked my to auto detect the mouse and it didn't work.

It also asked information about my video adapter and I left that blank.

Thanks in advance...I hope I didn't ramble to much.
slap is offline   Reply With Quote
Old 08-24-2005, 06:45 PM   #27
Member (8 bit)
 
Join Date: Jul 2005
Posts: 177
First, log into the console(command prompt screen) as root and run lspci -v | more . That will list out any pci or agp hardware and should include any built-in video card. That should give you the manufacturer's name. Then run a Google search for the " manufacturer and model # of the card" (put it in quotes without the "and"), and the words "driver" and "linux". If there is a driver out there for that card you'll be able to find it most of the time. If you can't post the manufacturer's name and the video card model # and I'll see if I can find anything for you.

Once you have the name of the linux video driver you'll need to run "dpkg-reconfigure xserver-xfee86" and enter the name of card and driver where it asks for them. Just hit enter on the other stuff except for maybe monitor and mouse unless it already shows them as being correct.
ffreeloader is offline   Reply With Quote
Old 08-24-2005, 08:09 PM   #28
Member (5 bit)
 
Join Date: Jul 2005
Location: boston
Posts: 17
Send a message via AIM to slap Send a message via Yahoo to slap
Thanks I got everything up and running. Well for now anyway....

Turns out I was using the wrong driver.
slap is offline   Reply With Quote
Old 08-24-2005, 09:04 PM   #29
Member (8 bit)
 
Join Date: Jul 2005
Posts: 177
Quote:
Turns out I was using the wrong driver.
That's the usual mistake. Lots of people make it, including myself when I first started.
ffreeloader is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 10:26 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2