|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#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? |
|
|
|
|
|
#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....
|
|
|
|
|
|
#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 |
|
|
|
|
|
#4 | |
|
Member (11 bit)
Join Date: Jul 2003
Posts: 1,060
|
Quote:
|
|
|
|
|
|
|
#5 | |
|
Member (8 bit)
Join Date: Jul 2005
Posts: 177
|
Quote:
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. |
|
|
|
|
|
|
#6 | |
|
Member (8 bit)
Join Date: Jul 2005
Posts: 177
|
Quote:
|
|
|
|
|
|
|
#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.
|
|
|
|
|
|
#8 | |
|
Member (9 bit)
|
Quote:
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 |
|
|
|
|
|
|
#9 | |
|
Member (8 bit)
Join Date: Jul 2005
Posts: 177
|
Quote:
|
|
|
|
|
|
|
#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 |
|
|
|
|
|
#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) |
|
|
|
|
|
#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. |
|
|
|
|
|
#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. |
|
|
|
|
|
#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. |
|
|
|
|
|
#15 | |
|
Member (8 bit)
Join Date: Jul 2005
Posts: 177
|
Quote:
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. |
|
|
|
|
|
|
#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? |
|
|
|
|
|
#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:
|
|
|
|
|
|
|
#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.
|
|
|
|
|
|
#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. |
|
|
|
|
|
#20 | |
|
Member (8 bit)
Join Date: Jul 2005
Posts: 177
|
Quote:
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. |
|
|
|
|
|
|
#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. |
|
|
|
|
|
#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? |
|
|
|
|
|
#23 |
|
Member (8 bit)
Join Date: Jul 2005
Posts: 177
|
What video card do you have?
|
|
|
|
|
|
#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.
|
|
|
|
|
|
#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. |
|
|
|
|
|
#26 |
|
Member (5 bit)
|
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. |
|
|
|
|
|
#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. |
|
|
|
|
|
#28 |
|
Member (5 bit)
|
Thanks I got everything up and running. Well for now anyway....
Turns out I was using the wrong driver. |
|
|
|
|
|
#29 | |
|
Member (8 bit)
Join Date: Jul 2005
Posts: 177
|
Quote:
|
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|