Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Autostart KDE - automatic startx

  1. #1
    Junior Member
    Join Date
    May 2003
    Location
    Limburg, The Netherlands
    Posts
    5

    Autostart KDE - automatic startx

    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

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    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:
    Code:
    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.

  3. #3
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    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"

  4. #4
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    298

    [FIXME]

    Quote Originally Posted by Stephen
    You must have choose not to start kdm
    Hmz, knx-hdinstall doesn't explain what "kdm" does, so...

  5. #5
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: [FIXME]

    Quote Originally Posted by Henk Poley
    Quote Originally Posted by Stephen
    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.

  6. #6
    Junior Member
    Join Date
    May 2003
    Location
    Limburg, The Netherlands
    Posts
    5

    Thanks, but no go ont he mouse part...

    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

  7. #7
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    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.

  8. #8
    Junior Member
    Join Date
    May 2003
    Location
    Limburg, The Netherlands
    Posts
    5

    Got it working!!

    :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

  9. #9
    Junior Member
    Join Date
    May 2003
    Location
    Limburg, The Netherlands
    Posts
    5

    A PS on the kde install

    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

  10. #10
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933

    Re: Got it working!!

    Quote Originally Posted by Digital Wanker
    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.

Page 1 of 2 12 LastLast

Similar Threads

  1. Problems with startx
    By irena in forum General Support
    Replies: 2
    Last Post: 09-09-2004, 12:32 PM
  2. autostart ?!
    By Catscratch in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 08-12-2004, 05:28 PM
  3. startx
    By tweetyhack in forum General Support
    Replies: 0
    Last Post: 07-14-2004, 07:41 PM
  4. Need Help! - Startx from boot ?
    By Juztin in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 03-18-2004, 02:35 AM
  5. startx
    By john_h in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 06-25-2003, 09:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Novell SUSE Linux Enterprise Server 9, Linux Professional 8.2 / 9.1 — 3 DVD Set picture

Novell SUSE Linux Enterprise Server 9, Linux Professional 8.2 / 9.1 — 3 DVD Set

$58.00



Ubuntu Server 26.04.1 LTS Bootable USB Flash Drive – Latest September 2026 picture

Ubuntu Server 26.04.1 LTS Bootable USB Flash Drive – Latest September 2026

$12.99



RED HAT ENTERPRISE LINUX 5 SERVER RHF0382US-R1 for PC x86 AMD 64 INTEL 64 30 Day picture

RED HAT ENTERPRISE LINUX 5 SERVER RHF0382US-R1 for PC x86 AMD 64 INTEL 64 30 Day

$188.24



OPNsense Firewall VPN QAT 8-Core Atom C3758 2.20GHz 16GB DDR4 128GB SSD 8xNIC picture

OPNsense Firewall VPN QAT 8-Core Atom C3758 2.20GHz 16GB DDR4 128GB SSD 8xNIC

$175.00



OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN picture

OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN

$115.00



All New Ubuntu 26.04 LTS Linux Bootable USB Flash Drive picture

All New Ubuntu 26.04 LTS Linux Bootable USB Flash Drive

$15.95



1U Rackmount PC Intel Core i5-2520M 8GB RAM 500GB HDD Ubuntu Linux Server picture

1U Rackmount PC Intel Core i5-2520M 8GB RAM 500GB HDD Ubuntu Linux Server

$109.99



Microsoft SQL Server 2019 Enterprise 40 Core Unlimited CAL Retail License FPP picture

Microsoft SQL Server 2019 Enterprise 40 Core Unlimited CAL Retail License FPP

$299.00



Sun Enterprise e450 400mhz cpu(x4), 4gb ram, 9gb HD w/spud most complete on ebay picture

Sun Enterprise e450 400mhz cpu(x4), 4gb ram, 9gb HD w/spud most complete on ebay

$500.00



SQL Server 2022 Enterprise 96 Core License & DVD Unlimited CALs with CoA picture

SQL Server 2022 Enterprise 96 Core License & DVD Unlimited CALs with CoA

$284.99