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
  •  


🔀 Juniper Networks EX2300-C-12P 12× Gigabit PoE+ • 2× 10G SFP+ Compact Switch ⚡ picture

🔀 Juniper Networks EX2300-C-12P 12× Gigabit PoE+ • 2× 10G SFP+ Compact Switch ⚡

$109.99



Juniper EX2300 12-Port Gigabit PoE+ Managed Network Switch P/N: EX2300-C-12P picture

Juniper EX2300 12-Port Gigabit PoE+ Managed Network Switch P/N: EX2300-C-12P

$149.99



Juniper Networks EX2300-48P 48-Port PoE Gigabit Switch (Renewed) picture

Juniper Networks EX2300-48P 48-Port PoE Gigabit Switch (Renewed)

$361.91



New Juniper Networks EX3400-48P 48-Port PoE+ 4-Port SFP+ Ethernet Switch Sealed picture

New Juniper Networks EX3400-48P 48-Port PoE+ 4-Port SFP+ Ethernet Switch Sealed

$466.65



Juniper Networks EX2300-48P 48-Port Gigabit PoE Managed Ethernet Switch picture

Juniper Networks EX2300-48P 48-Port Gigabit PoE Managed Ethernet Switch

$79.99



Juniper AP47 Mist Wi-Fi 7 802.11 6GHz 4x4 Wireless Access Point (NEW) picture

Juniper AP47 Mist Wi-Fi 7 802.11 6GHz 4x4 Wireless Access Point (NEW)

$999.99



Juniper SRX320 8-Port Security Services Gateway Appliance w/ AC Adapter picture

Juniper SRX320 8-Port Security Services Gateway Appliance w/ AC Adapter

$59.99



Juniper Networks MX204-HW-BASE *BRAND NEW FACTORY SEALED* READ DETAILS picture

Juniper Networks MX204-HW-BASE *BRAND NEW FACTORY SEALED* READ DETAILS

$8199.99



Juniper QFX5100-48S-3AFI 48-Port SFP+ 6 QSFP+ 2x SFP/RJ-45 Management picture

Juniper QFX5100-48S-3AFI 48-Port SFP+ 6 QSFP+ 2x SFP/RJ-45 Management

$249.97



Juniper Networks SRX220 8-Port Gigabit Layer 3 Managed Rackmount RJ-45 USB picture

Juniper Networks SRX220 8-Port Gigabit Layer 3 Managed Rackmount RJ-45 USB

$285.00