PDA

View Full Version : Autostart KDE - automatic startx



Digital Wanker
05-05-2003, 05:39 PM
Hi,

I very new to Linux and I installed the Knoppix version. Very nice, but I can't find how to autostart the KDE. Now I type startx, and that works nice, I would just like to login graphically and go straight to the KDE.
Also, I cannot get the wheel (scrolling) on my wheelmouse to work. I read something in a FAQ, but I can get it to scroll...


Thank you very much,

DW

Stephen
05-05-2003, 08:30 PM
You must have choose not to start kdm during the install try kdm instead of startx to start the k display manager. If kdm is not installed then apt-get install kdm after it install on each re-boot it will start and give you a graphic login. To automatically start kde as your user (ie. no login just straight to KDE) go to the KDE Control Center -> System Administration -> Login Manager -> Convience and choose the options there.

For the mouse you should be using the IMPS/2 protocol in the /etc/X11/XF86Config-4 file for the mouse. The relevant section for a ps2 mouse:


Section "InputDevice"
Identifier "PS/2 Mouse"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
EndSection

You will have to logout and choose restart X server to have the changes take effect.

rickenbacherus
05-05-2003, 08:45 PM
Open a terminal
Become root
su
<password>
mcedit /etc/inittab

Change the default runlevel to 4. Change the id entry in the inittab to the following:

# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:

To fix wheelmouse:

mcedit /etc/X11/XF86Config-4

Change mouse protocol to "IMPS/2"

Option "Protocol" "IMPS/2"

Henk Poley
05-06-2003, 04:19 PM
You must have choose not to start kdm
Hmz, knx-hdinstall doesn't explain what "kdm" does, so...

Stephen
05-06-2003, 06:07 PM
You must have choose not to start kdm
Hmz, knx-hdinstall doesn't explain what "kdm" does, so...

Yeah the knx-hdinstall assumes a certain level of knowledge if you do not know what the services do when it asks the questions how are you supposed know what the anwers is? It does ask whether to install k display manager for graphic login that's where having done your "homework" (ie. read everything you can) before you install comes in handy.

Digital Wanker
05-06-2003, 07:52 PM
Thanks everybody for your sollutions. I'm really learning the commands and everything this way.

Got the KDE to autoboot, but the mousewheel won't do a single scroll up or down... Works OK for the rest.. accepts all clicks, no flikkering in the movement of the arrow... just the wheel that won't cooperate...

Logitech optical wheel, no cordless... M-BD58..

I'm going to check the Logitech site....

Thanks again for any suggestions....

DW

rickenbacherus
05-06-2003, 10:26 PM
Check your /etc/X11/XF86Config-4 for typos. Stephen posted a correct one that should work because I know for a fact that Logitech mouse will work.

Digital Wanker
05-06-2003, 10:44 PM
:D Hi everybody,

After reading the config file and all of your replies, I noted in the config file there were (and still are) 2 sections. One is the 3 section connectiontype part, the other (in my case) was at the bottom of the config file. I added the extra stuff from your answers (same as in the original Knoppix FAQ I believe, didn't know what or howto then...) into the first section (under the PS/2 connection type) and copied that into section 2, deleting the old lines. (I now have 2 more or less similar sections, but it looks to me, the latter section 'calls' the setting from section 1). I rebooted and the wheel worked perfectly (as it still does now).

Thanks a million,

DW

Digital Wanker
05-06-2003, 10:49 PM
I indeed DID NOT chose to autostart the KDE, asked during installation, but I DID know what I was doing. It just got frusty after a few days and decided I wanted the KDE afterall...

Thanks,

DW

rickenbacherus
05-06-2003, 11:16 PM
:D Hi everybody,

After reading the config file and all of your replies, I noted in the config file there were (and still are) 2 sections. One is the 3 section connectiontype part, the other (in my case) was at the bottom of the config file. I added the extra stuff from your answers (same as in the original Knoppix FAQ I believe, didn't know what or howto then...) into the first section (under the PS/2 connection type) and copied that into section 2, deleting the old lines. (I now have 2 more or less similar sections, but it looks to me, the latter section 'calls' the setting from section 1). I rebooted and the wheel worked perfectly (as it still does now).

Thanks a million,

DW

There are actually several ways that you could edit your XF86Config-4 file. A little persistence and effort on your part obviously got it working- good job. Whhile there are nice GUI tools for changing this, that and the other I almost never suggest them unless it's just too complicated for a forum because I feel that learning Linux is a better endeavor than learning KDE or Gnome for example.

Thanks for posting back with your solution- as you have probably noticed most people are more than willing to post when they have a problem that needs to be fixed but seem to forget where we are once it is resolved. It is so frustrating to search the forums only to find every thread you thought would help you out doesn't tell you if it worked or not. Also this makes it harder for those of us trying to assist in that we do not know if it worked or not.

Digital Wanker
05-07-2003, 06:06 PM
Yee for me! Just kidding... Everybody and everything was pointing in one direction, so I was confident the sollution was there somewhere in that config file... and I really don't like to ask for every detail to a sollution if I don't entirely understand a sollutions that is presented. I too believe (and I am trying it thus) that learning Linux is more important that just finding your way in an already very intuitive GUI.

Not that I feel I posted a 'new' sollution, I do hope that it helps someone who doesn't know how to interpret FAQ-language either (They assume some substantial knowledge from the reader if you ask me...).

Thank you very much for your kind reply,

If (when) I get stuck somewhere in the (probably very near) future, I know where to find a sollution :D

Once I master this OS the way I master the Windows OS's (I am almost ashamed I know these so well), I would be more then happy to help the then Linux beginner with his questions.

Thanks again,

DW

qa1433
05-07-2003, 08:27 PM
Digital Wanker,
Thanks for the post backs on problem resolution.

It is nice to see the fix recommended worked.
paul 8)