Author Topic: [solved] KDE can not start  (Read 6950 times)

ccoudsi

  • Guru
  • ****
  • Posts: 244
    • View Profile
[solved] KDE can not start
« on: February 20, 2010, 09:26:56 pm »
I just updated my core to the latest release "Update 2009-02-18 22795 ", now I tried to open KDE desktop I got the following error:

===============================
The following installation problem was detected while trying to start KDE:
No write access to ‘/home/linuxmce/.ICEauthority’.
KDE is unable to start.
===============================
Xmessage;
Could not start ksmserver. Check your installation.
===============================
So I did:
dcerouter_1005373:/home/linuxmce# chmod 777 .ICEauthority
-rwxrwxrwx 1 root     root       1968 2010-02-15 17:59 .ICEauthority
===============================
NO good, here's the list of the files before modifications, any ideas????


Code: [Select]
-rwx-w---- 1 linuxmce linuxmce   4905 2010-02-20 11:01 .bash_history
-rw-r--r-- 1 linuxmce linuxmce    220 2009-12-14 20:46 .bash_logout
-rw-r--r-- 1 linuxmce linuxmce   3115 2009-12-14 20:46 .bashrc
drwx------ 3 linuxmce linuxmce   4096 2009-12-19 15:43 .cache
drwxr-xr-x 3 linuxmce linuxmce   4096 2009-12-14 21:34 .config
drwx------ 3 linuxmce linuxmce   4096 2009-12-14 20:51 .dbus
drwxr-xr-x 2 linuxmce linuxmce   4096 2010-01-20 22:30 Desktop
-rw------- 1 linuxmce linuxmce     26 2009-12-14 20:51 .dmrc
drwxr-xr-x 2 linuxmce linuxmce   4096 2009-12-14 22:15 Documents
-rw------- 1 linuxmce linuxmce     16 2009-12-19 15:45 .esd_auth
drwxr-xr-x 2 linuxmce linuxmce   4096 2009-12-14 21:27 .fontconfig
drwx------ 3 linuxmce linuxmce   4096 2010-02-20 07:55 .gconf
drwx------ 2 linuxmce linuxmce   4096 2010-02-11 18:13 .gconfd
-rw-r----- 1 linuxmce linuxmce      0 2009-12-20 15:24 .gksu.lock
drwx------ 3 linuxmce linuxmce   4096 2009-12-19 15:45 .gnome2
drwx------ 2 linuxmce linuxmce   4096 2009-12-19 15:45 .gnome2_private
drwxr-xr-x 2 linuxmce linuxmce   4096 2009-12-20 15:22 .gstreamer-0.10
-rw-r--r-- 1 linuxmce linuxmce    285 2009-12-14 20:51 .gtkrc-2.0-kde4
drwxr----- 2 linuxmce linuxmce   4096 2009-12-14 20:52 .hplip
-rw------- 1 root     root       1968 2010-02-15 17:59 .ICEauthority
drwx------ 5 linuxmce linuxmce   4096 2010-02-15 17:57 .kde
-rw------- 1 linuxmce public       56 2010-02-15 18:41 .lesshst
drwx------ 3 linuxmce linuxmce   4096 2009-12-14 20:52 .local
drwxr-xr-x 3 linuxmce linuxmce   4096 2010-02-12 22:57 .mcop
-rw------- 1 linuxmce linuxmce     31 2010-02-13 10:11 .mcoprc
drwx------ 4 linuxmce linuxmce   4096 2009-12-19 15:45 .mozilla
drwxr-xr-x 2 linuxmce linuxmce   4096 2009-12-14 20:51 Music
-rw------- 1 root     root        190 2010-02-15 22:19 .mysql_history
drwxr-xr-x 3 root     root       4096 2009-12-22 20:47 .mythtv
drwxr-xr-x 2 root     root       4096 2009-12-14 21:05 new-installer
-rw-r--r-- 1 root     root      11885 2009-12-03 09:02 new-installer-beta2.tar.gz
drwxr-xr-x 2 linuxmce linuxmce   4096 2009-12-14 20:51 Pictures
-rw-r--r-- 1 linuxmce linuxmce    675 2009-12-14 20:46 .profile
drwxr-xr-x 2 linuxmce linuxmce   4096 2009-12-14 20:51 Public
drwxr-xr-x 2 linuxmce linuxmce   4096 2010-02-12 22:53 .qt
-rw-r--r-- 1 linuxmce linuxmce      0 2009-12-14 20:52 .sudo_as_admin_successful
drwxr-xr-x 2 linuxmce linuxmce   4096 2009-12-14 20:51 Templates
drwxr-xr-x 2 linuxmce linuxmce   4096 2009-12-14 20:52 .update-manager-core
drwxr-xr-x 2 linuxmce linuxmce   4096 2009-12-14 20:51 Videos
-rw------- 1 linuxmce linuxmce   5762 2010-01-21 18:19 .viminfo
-rw------- 1 root     root          0 2010-02-15 17:59 .Xauthority
-rw------- 2 linuxmce linuxmce      0 2010-02-20 10:59 .Xauthority-c
-rw------- 2 linuxmce linuxmce      0 2010-02-20 10:59 .Xauthority-l
drwxr-xr-x 2 linuxmce linuxmce   4096 2009-12-14 20:52 .xine
-rw------- 1 linuxmce linuxmce 156747 2010-02-20 11:01 .xsession-errors
« Last Edit: February 21, 2010, 04:57:40 am by ccoudsi »
Cheers |[BEER]
Charlie,

pw44

  • Addicted
  • *
  • Posts: 666
    • View Profile
Re: KDE can not start
« Reply #1 on: February 20, 2010, 09:38:39 pm »

ccoudsi

  • Guru
  • ****
  • Posts: 244
    • View Profile
Re: KDE can not start
« Reply #2 on: February 20, 2010, 09:51:36 pm »
I tried to install "kubuntu-desktop" it tells me I have the latest version ???
Code: [Select]
dcerouter_1005373:/home/linuxmce# apt-get install kubuntu-desktop
Reading package lists... Done
Building dependency tree
Reading state information... Done
kubuntu-desktop is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
dcerouter_1005373:/home/linuxmce#
Cheers |[BEER]
Charlie,

pw44

  • Addicted
  • *
  • Posts: 666
    • View Profile
Re: KDE can not start
« Reply #3 on: February 20, 2010, 10:08:48 pm »
apt-get clean
apt-get --reinstall kubuntu-desktop.

ccoudsi

  • Guru
  • ****
  • Posts: 244
    • View Profile
Re: KDE can not start
« Reply #4 on: February 20, 2010, 10:24:54 pm »
I reinstalled and rebooted my core I got the same error ???

Code: [Select]
dcerouter_1005373:/home/linuxmce# apt-get clean
dcerouter_1005373:/home/linuxmce# apt-get --reinstall install kubuntu-desktop
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 20.7kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  kubuntu-desktop
Authentication warning overridden.
Get:1 http://us.archive.ubuntu.com intrepid/main kubuntu-desktop 1.101 [20.7kB]
Fetched 20.7kB in 0s (23.1kB/s)
(Reading database ... 174296 files and directories currently installed.)
Preparing to replace kubuntu-desktop 1.101 (using .../kubuntu-desktop_1.101_i386.deb) ...
Unpacking replacement kubuntu-desktop ...
Setting up kubuntu-desktop (1.101) ...
dcerouter_1005373:/home/linuxmce#
Cheers |[BEER]
Charlie,

pw44

  • Addicted
  • *
  • Posts: 666
    • View Profile
Re: KDE can not start
« Reply #5 on: February 20, 2010, 11:17:27 pm »
apt-get install kdebase-workspace-bin  konsole dolphin systemsettings synaptic

ccoudsi

  • Guru
  • ****
  • Posts: 244
    • View Profile
Re: KDE can not start
« Reply #6 on: February 20, 2010, 11:30:31 pm »
I got the same error !!!

I'm getting the same access privileges for ".ICEauthority"

-rw-------  1 root     root       1968 2010-02-20 11:33 .ICEauthority


Code: [Select]
dcerouter_1005373:/home/linuxmce# apt-get --reinstall install kdebase-workspace-bin  konsole dolphin systemsettings synaptic
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 5 reinstalled, 0 to remove and 0 not upgraded.
Need to get 5953kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  dolphin kdebase-workspace-bin konsole synaptic systemsettings
Authentication warning overridden.
Get:1 http://us.archive.ubuntu.com intrepid-updates/main dolphin 4:4.1.4-0ubuntu1~intrepid2 [1209kB]
Get:2 http://us.archive.ubuntu.com intrepid-updates/main kdebase-workspace-bin 4:4.1.4-0ubuntu1~intrepid3.1 [2551kB]
Get:3 http://us.archive.ubuntu.com intrepid-updates/main konsole 4:4.1.4-0ubuntu1~intrepid2 [788kB]
Get:4 http://us.archive.ubuntu.com intrepid/main synaptic 0.62.1ubuntu10 [1299kB]
Get:5 http://us.archive.ubuntu.com intrepid-updates/main systemsettings 4:4.1.4-0ubuntu1~intrepid3.1 [106kB]
Fetched 5953kB in 9s (613kB/s)
(Reading database ... 174296 files and directories currently installed.)
Preparing to replace dolphin 4:4.1.4-0ubuntu1~intrepid2 (using .../dolphin_4%3a4.1.4-0ubuntu1~intrepid2_i386.deb) ...
Unpacking replacement dolphin ...
Preparing to replace kdebase-workspace-bin 4:4.1.4-0ubuntu1~intrepid3.1 (using .../kdebase-workspace-bin_4%3a4.1.4-0ubuntu1~intrepid3.1_i386.deb) ...
Unpacking replacement kdebase-workspace-bin ...
Preparing to replace konsole 4:4.1.4-0ubuntu1~intrepid2 (using .../konsole_4%3a4.1.4-0ubuntu1~intrepid2_i386.deb) ...
Unpacking replacement konsole ...
Preparing to replace synaptic 0.62.1ubuntu10 (using .../synaptic_0.62.1ubuntu10_i386.deb) ...
Unpacking replacement synaptic ...
Preparing to replace systemsettings 4:4.1.4-0ubuntu1~intrepid3.1 (using .../systemsettings_4%3a4.1.4-0ubuntu1~intrepid3.1_i386.deb) ...
Unpacking replacement systemsettings ...
Processing triggers for man-db ...
Setting up dolphin (4:4.1.4-0ubuntu1~intrepid2) ...

Setting up kdebase-workspace-bin (4:4.1.4-0ubuntu1~intrepid3.1) ...

Setting up konsole (4:4.1.4-0ubuntu1~intrepid2) ...
Setting up synaptic (0.62.1ubuntu10) ...

Setting up systemsettings (4:4.1.4-0ubuntu1~intrepid3.1) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
dcerouter_1005373:/home/linuxmce#

Cheers |[BEER]
Charlie,

pw44

  • Addicted
  • *
  • Posts: 666
    • View Profile
Re: KDE can not start
« Reply #7 on: February 20, 2010, 11:30:46 pm »
Boot recovery mode, enter root and remove the files from the directory
rm .Xauthority .ICEauthority
Reboot
I did it before on Kubuntu. Worked.
With lmce, i'm not sure it will solve, so don't blame later... ;-)

ccoudsi

  • Guru
  • ****
  • Posts: 244
    • View Profile
Re: KDE can not start
« Reply #8 on: February 20, 2010, 11:57:00 pm »
I renamed the files and rebooted, LMCE couldn't boot anymore so I went back and renamed the files.

Now I'm back at square one !!!
 
Cheers |[BEER]
Charlie,

pw44

  • Addicted
  • *
  • Posts: 666
    • View Profile
Re: KDE can not start
« Reply #9 on: February 21, 2010, 12:46:19 am »
i was checking my system, i do not have a /home/linuxmce directory.
So, i guess the user is linuxmce.
And under the directory for the user i've created when installing kubuntu and them lmce, the .ICEauthority file is owned by this user, not by root.
i got this problem once, under kubuntu, and removing the files .Xauthority .ICEauthority helped.
You can try following:
crtl-alt-f1 (or f2)
log in as the user
create another user.
logout and login as the other user.
rename the directory linuxmce to linuxmce.old
create the directory linuxmce with the linuxmce user permissions.
xhost +
logout and log in as linuxmce
startx -- :1  or  /usr/X11R6/bin/X --nolisten tcp :1 vt8
for some of the above commands, you will need sudo.
as being the first time linuxmce user is starting x, it will create the needed files.
please be aware that i don't know your environment and knowledge.

ccoudsi

  • Guru
  • ****
  • Posts: 244
    • View Profile
Re: KDE can not start
« Reply #10 on: February 21, 2010, 04:20:47 am »
PW44, thanks for your support, I just did the following and it worked, I have no idea how did this happen??

Code: [Select]
dcerouter_1005373:/home/linuxmce# chown linuxmce:linuxmce .Xauthority
dcerouter_1005373:/home/linuxmce# chown linuxmce:linuxmce .ICEauthority
Cheers |[BEER]
Charlie,