Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I just installed the current testing version of Debian (its called Sarge, right?). I used debian-installer, and everything seemed to go smoothly. At the end of the install, it gave me a text-based login prompt. I logged in fine, but when I tried 'startx' is said that startx did not exist. I guessed this meant that X was not installed. So I did 'apt-get install x-window-system'. It downloaded it and ran the setup program. However, I noticed two problems:
(1) The big problem is, after I got X configured and did 'startx', the keyboard no longer worked. At all. (It works fine at the command prompt).
(2) The second (minor) problem is the loading time. On Mandrake (the distro I used previously) X was on screen and ready to go about 2 seconds after I typed 'startx'. Now it takes more like 20 seconds. Is there any way to speed it up?
Thanks for any help you can give. One last question. X now starts as soon the linux is finished booting. I personally prefer the text based login prompt. Is there any way to stop X from starting automatically?
Reconfigure X with /usr/X11R6/bin/xf86config and try choosing a different keyboard type.
Is there massive disk activity during those 20 seconds? Check the output of /var/log/xfree86.log
or whatever log that contains your X server messages.
Do you mean you wan't for X to not start at all during bootup or you want it to startup and then switch to the console login. If you want the first, then just goto /etc/rc5.d (I think, or whatever the default run level is) and delete the symlinks to whatever window manager you're using or just edit the script that those links point to so that they do nothing.
That's weird. Usually, you're first asked to configure the mouse, then the keyboard. Do you have all the X client libraries installed? see the dependencies to xlibs on packages.debian.org. Do you see any errors in the log files like I told you to?
Sorry, I don't think I made myself clear. Yes, it does ask to configure the mouse, etc. Here is what happens:
1. It configures the mouse
2. It displays error about XKB keymap
3. It goes on to configure the monitor
4. Configures video card
5. Saves config file
So the problem is, after it displays the error about the keymap, it does not give me a chance to configure the keyboard.
I did find out something. 'startx' was reading /etc/X11/XFree86Config-4 but I was saving the config file to /etc/X11/XF86Config so my changes were not having an effect. Having corrected that, 'startx' is giving me an error about /dev/mouse not being found. How can I determine where my mouse is found (it is a PS/2 mouse)?
Also, I edited my post above before I saw your most recent posts. I wrote what I saw in the logs.
Try reinstalling xlibs (if you have a online connection and apt set up, do a "apt-get install xlibs") or reinstalling everything related to X since you don't have that file /something/xkb/xfree86
As for the mouse, go to the /dev directory. To see if /dev/psaux is your mouse device, do "cat psaux"; when you move your mouse around, you should see random characters on the screen. If psaux is your mouse, then make a symbolic link for it ("ln -s psaux mouse").
I don't think you should completely reinstall X before you've made sure that xlibs is installed by using "dpkg -l xlibs". If it's not installed then just do apt-get install xlibs (just like you did with x-window-system).