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

Thread: KDE won't start after apt-get upgrade

  1. #1
    Junior Member
    Join Date
    Oct 2005
    Posts
    7

    KDE won't start after apt-get upgrade

    Hi,

    I am a newbie (installed Knoppix/debian on my hdd 2 months ago).

    today I ran "apt-get update" and "apt-get upgrade" as a root, and after upgrade I am presented the KDE login manager.
    If I try to log in to KDE desktop it starts loading and when it says "initializing peipherals..." it restart KDE login manager.
    If I try the IceWM manager or anything else it is okay. What do I have to do to get the KDE desktop working again?

    Please help me fix this problem.
    Thanks in advance

  2. #2
    Member registered user
    Join Date
    Apr 2005
    Posts
    74
    Same here too, and after upgrade the startup time is lot longer, lot of unneeded service auto start.

  3. #3
    Junior Member
    Join Date
    Oct 2005
    Posts
    7
    Indeed, lots of unneeded services.

    If I login into console and launch "startx" I get KDE working, but with modified fonts (bigger ones).
    How can I fix this? (I mean getting KDE working from KDE login manager, and runiing with original fonst)

  4. #4
    Senior Member registered user
    Join Date
    Apr 2004
    Location
    Finland
    Posts
    272

    Re: KDE won't start after apt-get upgrade

    Quote Originally Posted by adriang
    If I try to log in to KDE desktop it starts loading and when it says "initializing peipherals..." it restart KDE login manager.
    If I try the IceWM manager or anything else it is okay. What do I have to do to get the KDE desktop working again?
    e
    According to my experience, you have wrong owner of /tmp/.ICE-unix directory.

    I'm just wondering this same thing because my remastering installs fine to hd but permissions are overwrited every time after login.

    So do this:
    Code:
    chmod 1777 /tmp/.ICE-unix
    chown root:root /tmp/.ICE-unix
    I don't do why permissions must be set after every login. If you look at yout ~/.xsession-errors file you get more info of this matter.


    -tapsa-

  5. #5
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    See also with dpkg -l|grep KDE that the whole kde upgraded to 3.4.2 . Otherwise try a dist-upgrade to clean it up. All dependencies might not show by grepping just for KDE though.

  6. #6
    Junior Member
    Join Date
    Oct 2005
    Posts
    7
    My KDE is still 3.3.2 (as it shows after dpkg -l | grep KE).

    I entered in an console and run the instructions from tr and it worked. I didn't restarted yet to see if changes are kept.

    Thank you tr and thank you all who posted on this thread.

    If anyone have other solutions to this problem, please post them.

  7. #7
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    looks like it could be this file /etc/init.d/x11-common

  8. #8
    Junior Member
    Join Date
    Oct 2005
    Location
    UK
    Posts
    8

    Re: KDE won't start after apt-get upgrade

    Quote Originally Posted by tr
    Quote Originally Posted by adriang
    If I try to log in to KDE desktop it starts loading and when it says "initializing peipherals..." it restart KDE login manager.
    If I try the IceWM manager or anything else it is okay. What do I have to do to get the KDE desktop working again?
    e
    According to my experience, you have wrong owner of /tmp/.ICE-unix directory.

    I'm just wondering this same thing because my remastering installs fine to hd but permissions are overwrited every time after login.

    So do this:
    Code:
    chmod 1777 /tmp/.ICE-unix
    chown root:root /tmp/.ICE-unix
    I don't do why permissions must be set after every login. If you look at yout ~/.xsession-errors file you get more info of this matter.


    -tapsa-
    tr,

    it looks like the reason you need to do this everytime after login is because the file is deleted/recreated upon reboot. If you reboot, and first do a console login, you'll notice that the directories are not there. Once you login with KDE, and get booted, you can go back and the directory will be there.

    A permanent fix? I wish I knew. If I find anything, I'll be sure to post it.

  9. #9
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    This was also discussed on the kanotix forum. The fix was:
    apt-get install x11-common
    ln -fs /etc/init.d/x11-common /etc/rcS.d/S70x11-common

    and make sure the chown and chmod commands are correct:
    #grep ICE_DIR /etc/init.d/x11-common
    ICE_DIR=/tmp/.ICE-unix
    #log_begin_msg "Setting up ICE socket directory $ICE_DIR..."
    echo -n "Setting up ICE socket directory $ICE_DIR..."
    if [ -e $ICE_DIR ] && [ ! -d $ICE_DIR ]; then
    mv $ICE_DIR $ICE_DIR.$$
    mkdir -p $ICE_DIR
    chown 0:0 $ICE_DIR
    chmod 1777 $ICE_DIR
    do_restorecon $ICE_DIR

  10. #10
    Junior Member
    Join Date
    Oct 2005
    Location
    UK
    Posts
    8
    Thanks Markus, works great now. I didn't realize the Kanotix forum was there. I'll be sure to visit both in the future.

Page 1 of 2 12 LastLast

Similar Threads

  1. Problem to start KDE after upgrade from KDE 3.5.2 -> 3.5.
    By mikekgr in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 07-03-2006, 09:02 PM
  2. X don't start after apt-get dist-upgrade (Knoppix 4.0.2)
    By tr in forum Customising & Remastering
    Replies: 1
    Last Post: 10-02-2005, 07:40 PM
  3. MySQL 4.1 upgrade in remastered Knoppix will not start
    By justahandle in forum Customising & Remastering
    Replies: 2
    Last Post: 04-20-2005, 06:54 AM
  4. Start menu icons are gone after upgrade
    By andig in forum General Support
    Replies: 0
    Last Post: 05-06-2004, 05:39 PM
  5. problem using apt-get with upgrade/dist-upgrade
    By vesselinpeev in forum General Support
    Replies: 0
    Last Post: 05-26-2003, 09:03 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
  •  


Cisco Catalyst 8500 C8500L-8S4X 4x SFP+ 8x SFP 4x10GE 8x1GE Router-Fast Ship picture

Cisco Catalyst 8500 C8500L-8S4X 4x SFP+ 8x SFP 4x10GE 8x1GE Router-Fast Ship

$6299.99



Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module picture

Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module

$699.99



Qty 20 New Cisco QSFP-100G-FR-W2 10-3659-01 Module Hologram Brand New 20 Pack picture

Qty 20 New Cisco QSFP-100G-FR-W2 10-3659-01 Module Hologram Brand New 20 Pack

$260.00



Cisco Catalyst C9130AXI-B WiFi 6 802.11ax Wireless Access Point Brand New picture

Cisco Catalyst C9130AXI-B WiFi 6 802.11ax Wireless Access Point Brand New

$101.99



Cisco Catalyst 3850-48F-L 48-Port UPoE Gigabit Switch NM-4-1G picture

Cisco Catalyst 3850-48F-L 48-Port UPoE Gigabit Switch NM-4-1G

$59.99



Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850 picture

Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850

$18.90



Cisco ISR4331 Intergrated Service Router K9 4300series picture

Cisco ISR4331 Intergrated Service Router K9 4300series

$45.99



Cisco C3850-NM-2-10G Catalyst 3850 2 x 10GE Network Module picture

Cisco C3850-NM-2-10G Catalyst 3850 2 x 10GE Network Module

$30.00



Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch picture

Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch

$46.99



Cisco Catalyst WS-C2960+24TC-S 24-Port Gigabit Managed SFP Switch picture

Cisco Catalyst WS-C2960+24TC-S 24-Port Gigabit Managed SFP Switch

$39.99