I have just recently installed the newest stable release of Debian GNU/Linux which is a dual boot with windows 98. But the problem is it tells me kdm and xdm aren’t my default window managers (I want to use Gnome not KDE) and then it asks me if I want to configure Xfree86 but that I have to log into root to configure it. I’m not exactly sure what to do or how to configure it. Also my mouse won’t work. It’s a PS2 mouse. If you haven’t guessed it I’m new to Linux but I need help. Lots of help.
gdm is the default X daemon for Gnome. The X daemon is basically a login program that allows users to have a graphical login screen and then automatically spawn an X windows session upon login.
It sounds like the computer is coming up in an X windows boot mode. What this means is that it will run the X daemon immediately upon booting. Obviously if the computer is not configured right, then it can’t run X windows, and everything goes to hell. So we need to get out of that and drop you to the command line.
Sometime during the installation process, it should have asked you to set a root password. Go to the command line (if you are in graphics mode, push Cntrl-Alt-F1, otherwise Alt-F1 or Alt-F2 to get a text login prompt), log in as root. If you haven’t set a password, just push enter when prompted. You should set one by typing passwd.
When logged in as root, the easiest thing to do is to try and put the machine in a non-X windows boot mode. Type
init 2
while logged in as root. This is the standard text-mode initlevel and will cleanly kill all X windows and X related processes.
Now we can get started configuring X windows. I can’t remeber exactly, but my suspicion is that Debian will automatically run the X configuration programs when you try to start X windows for the first time. Type this (while still logged in as root):
startx
If it starts the configuration mode X or X crashes and it asks you to configure X, then great. It will take you into an X configuration program and you can tell it your graphics card and your mouse and be on your way. If it just crashes and dumps you back to the command line, then we have to find the X setup programs. Try this:
/usr/X11R6/bin/Xconfigurator
This is an old-school text X windows configuration program that will work. If this file isn’t on your computer, try this.
ls /usr/X11R6/bin/config
This will list all the files containing “config” in your X11 binary directory. Hopefully one of these will be called xf86config or xconfig or something useful like that. Try running that one.
After configuring X, quit X either by logging out by menu or just by Cntl-Alt-Backspace. This will get you back to your root command line. Type
init 5
This will re-start up an X initlevel, and hopefully run gdm and Gnome fine. You can then log in under your user account and hopefully everything will work fine.
So you went through all of the X configuration stuff as root and you still got that error? Did you tell it which resolutions you want to run in and that stuff?
Try mnemosyne’s advice – the older X configuration programs sometimes stick their outputted configuration files in places which are not correct. X 4.0 needs the file /etc/X11/XF86Config-4, and they may be outputting to /etc/X11/XF86Config or even worse /usr/X11/lib/X11/XF86Config.
This is true only for Red Hat-type systems. Debian by default configures runlevels 2-5 to be exactly the same, leaving it up to the system adiminstrator to determine runlevel policy.
To the OP, assuming you tried to install gdm, the messages about kdm and xdm are merely informative and can be ignored. If gdm is not coming up because X11 is not configured, the best thing to do is to get rid of it for now. As root, type:
apt-get remove gdm kdm xdm
This will also get rid of kdm and xdm, which you also appear to have installed. To configure X11, the Debian Way is to
dpkg-reconfigure xserver-xfree86
and go through the textual configuration screens. For a PS2 mouse, you will want to connect it to “/dev/psaux” device. If you have one of these scrollwheels, make sure you say that your mouse type is “IMPS2” [for Intellimouse PS2].
You should the option to disable the onboard video as a BIOS setting. I don’t think commenting out the device section in the XF86Config will do anything if the onboard video is still detected as Device #1.
Bottom line: Linux is still not ready for prime time.
I have it on my office machine where I have a systems administrator to configure everything. I was thinking of maybe trying it on my next home computer. Guess not.
Hari Seldon the installation for distros such as Suse is just as straightforward as the installation for Windows XP. Just put the disk in and let it do everything for you.
Agree with +MDI. I defected to SuSE Linux 8.2 a clouple of months back and it configured almost everything perfectly first time, but, it doesn’t much like booting into Gnome - seems to leave a lot of things unavailable, the printer is giving poor quality compared to Win98 (can but don’t boot into it) due to me having an HP printer and HP being unwilling to release drivers or hardware info to the Linux comminity, same problem with scanner but it works as an Agfa Snapscan (it isn’t) and the cd-writer that seems to think that some essential files are missing (they arent).
Needs a bit of tinkering with.
Generaly the experience is positive and easy, but there are a few details still needing attention. Perseverance seems to be the watchword, and possibly an IQ transplant.
Freedom from virus/worm/trojans is great, and no popups by default is brilliant.
Linux may, as Hari Seldon postulates, not be ready for prime-time, but is getting there and has much to recommend it.
Thanks for all your help guys! I downloaded Libranet and it was much easier to install. I had no trouble installing it and it works great. The only problem now is I don’t know how to use my CD-ROM drive with it or how to find the stuff to connect to my ISP (I have DSL) without having to call them.
At the moment you really should be thinking of Downloading Redhat or Mandrake. Sooner or later your gonna have to get your hands dirty trying everything out and learning ,but in my opinion if your libranet is not mounting your CDrom drive , or asking you to set up your dsl account, then I would concider that distro , a mid level distro ,rather than an entry level.
For your dsl your going to have to use something like Kppp and make sure that you have ppoe installed with it , there are a few other dialing apps ,and I dont know your internet setup , vis a vis if you connect the dsl to a router or straight into the nic card.
Since you have already moved from Debian , Mandrake or Redhat will allow you to use urpmi or rpmdrake for mandrake , and I have no idea what Redhat is using now , but its gonna be something similar. As well it prompts you to set up your internet connection , with it configing most of the needed components.
I imagine that you are dual booting windows , go into your connection settings on windows and grab your ip address from the TCP/Ip settings and use your password and username that the Dsl account came from.
Your Ip Address will look like
192.168.0.1
which is a generic address for a router ,but yours may look something similar. Then the phone # for the ISP
Enter those into kppp and try and dial in , if its not working then you have to make sure that you have your protocols installed.
Looking at some forums, it appears that libranet uses the same apt-get that Debian uses , so you would type apt-get ppoe or something similar , which is point to point over ethernet, so that your computer can talk with the host computer.
Thing is , looking at linuxISo.org , you may have problems setting up an internet account , even if you do get your settings correct , some of the people cannot use internet , except as root. If you are using a trial version(free) of libranet , it may have had some of its functionality disabled.