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
  •  


Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p picture

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p

$499.88



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb

$374.99



Dell Poweredge C4130 2x LGA2011-3 1U 4x GPU Rackmount Server CTO (NO CPU/NO RAM) picture

Dell Poweredge C4130 2x LGA2011-3 1U 4x GPU Rackmount Server CTO (NO CPU/NO RAM)

$299.95



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD

$378.93



Dell Poweredge R810 4x Xeon X7560 2.26ghz 32-Cores | 256GB | 3x Trays | H700 picture

Dell Poweredge R810 4x Xeon X7560 2.26ghz 32-Cores | 256GB | 3x Trays | H700

$289.99



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$409.99



Dell Poweredge R730xd 12LFF + 2SFF  2x10/1Gbe H730 Mini 2x 750W  Server picture

Dell Poweredge R730xd 12LFF + 2SFF 2x10/1Gbe H730 Mini 2x 750W Server

$348.00



Dell Poweredge R620 10x 2.5

Dell Poweredge R620 10x 2.5" bay with 256GB (16x16gb) DDR3, 2x E5-2690v2, H710

$349.99



Dell PowerEdge R740 E38S001 Server E38S picture

Dell PowerEdge R740 E38S001 Server E38S

$660.00