Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   kdm not working after upgrade from KDE 3.5 to 4.3.4 (http://www.linux-archive.org/debian-user/311502-kdm-not-working-after-upgrade-kde-3-5-4-3-4-a.html)

Rémi Moyen 01-19-2010 10:09 AM

kdm not working after upgrade from KDE 3.5 to 4.3.4
 
Hi all,

(this is my first post on this list, please excuse me if I make any mistakes...)

I have a Debian testing system on which for a long time I kept old KDE
3.5 packages because I didn't want KDE 4 (I tried it around 4.0,
didn't like), I figured it was time I gave it another try. So after an
aptitude update, I did an aptitude dist-upgrade (something I hadn't
done since at least 6-12 months -- I did a number of updates of
specific packages in the mean time, though).

aptitude offered me a solution which required removing a lot of
packages (old KDE 3.5 ones), installing a lot of new ones, and
updating some. The install went fine, without any error messages. I
now have a bunch of KDE 4.3.1 packages (version 4:4.3.4-1, the latest
in squeeze).

I rebooted, got to the kdm welcome screen, obviously in KDE 4 style,
and logged in... only to see kdm pop again! No error message. I'm not
on this computer right now, but there wasn't any error message (nor
anything that looked even remotely related) in /var/log/kdm.log. In
the console, though, I can see when launching kdm some messages (sorry
for not having copied down the exact formulation) along the line of
"cannot copy file /etc/kde4/kdm/Xsession".

Now, I looked at the kdm package. dpkg -L told me that it provides a
number of files in /etc/kde4/kdm/ (including kdmrc, but also Xsession
and others). However, my /etc/kde4/kdm/ only contains kdmrc, no other
files. I tried aptitude reinstall kdm, deleting the .deb file in
/var/cache/apt/archives first to force a new download, I got the same
result. The .deb file apparently contains these files (at least I see
these files with a dpkg-deb -x), but for some reason they are not
extracted (and my disk is far from full)!

Just to try, I manually copied these files from the dpk-deb -x result
to /etc/kde4/kdm, but I still got exactly the same behaviour, so I
guess there is something more. Nonetheless, it shows that these files
really exist in the .deb, so why are they not extracted?

I also tried removing all packages in my system that seemed related to
KDE and re-installing kde-full (which dragged along all KDE, including
kdm), because it seemed I had a lot of old KDE 3 stuff hanging around
(and a lot of other junk I hadn't used for a long time, like compiz,
so a bit of house-cleaning was not useless...), but I still get the
same behaviour.

Does anybody have an idea of what's going on with this package, or of
any tests I could run to find the problem?

Thanks!
--
Rémi Moyen


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Thierry Chatelet 01-19-2010 10:45 AM

kdm not working after upgrade from KDE 3.5 to 4.3.4
 
On Tuesday 19 January 2010 12:09:47 Rémi Moyen wrote:
> Hi all,
>
> (this is my first post on this list, please excuse me if I make any
> mistakes...)
>
> I have a Debian testing system on which for a long time I kept old KDE
> 3.5 packages because I didn't want KDE 4 (I tried it around 4.0,
> didn't like), I figured it was time I gave it another try. So after an
> aptitude update, I did an aptitude dist-upgrade (something I hadn't
> done since at least 6-12 months -- I did a number of updates of
> specific packages in the mean time, though).
>
> aptitude offered me a solution which required removing a lot of
> packages (old KDE 3.5 ones), installing a lot of new ones, and
> updating some. The install went fine, without any error messages. I
> now have a bunch of KDE 4.3.1 packages (version 4:4.3.4-1, the latest
> in squeeze).
>
> I rebooted, got to the kdm welcome screen, obviously in KDE 4 style,
> and logged in... only to see kdm pop again! No error message. I'm not
> on this computer right now, but there wasn't any error message (nor
> anything that looked even remotely related) in /var/log/kdm.log. In
> the console, though, I can see when launching kdm some messages (sorry
> for not having copied down the exact formulation) along the line of
> "cannot copy file /etc/kde4/kdm/Xsession".
>

This is a bug in kdm squeeze and sid. You have to log twice and it will work.
Thierry


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Rémi Moyen 01-19-2010 10:54 AM

kdm not working after upgrade from KDE 3.5 to 4.3.4
 
2010/1/19 Thierry Chatelet <tchatelet@free.fr>:

>> I rebooted, got to the kdm welcome screen, obviously in KDE 4 style,
>> and logged in... only to see kdm pop again! No error message.

> This is a bug in kdm squeeze and sid. You have to log twice and it will work.

Yeah, I saw reports of that bug. However, I'm quite sure I tried a
number of times (in case I had mis-typed my password) and I get the
same behaviour again and again. Well, I'll try that again next time
I'm close to the computer, just to be sure.

Anyway, I didn't find on the web anything related to the missing files
in /etc/kde4/kdm (and perhaps in other places, I just happened to
notice these ones). So my guess is that something else is wrong. No?
--
Rémi Moyen


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Pier Paolo 01-19-2010 11:03 AM

kdm not working after upgrade from KDE 3.5 to 4.3.4
 
Il giorno mar, 19/01/2010 alle 12.45 +0100, Thierry Chatelet ha scritto:
> On Tuesday 19 January 2010 12:09:47 Rémi Moyen wrote:
> > Hi all,
> >
> > (this is my first post on this list, please excuse me if I make any
> > mistakes...)
> >
> > I have a Debian testing system on which for a long time I kept old KDE
> > 3.5 packages because I didn't want KDE 4 (I tried it around 4.0,
> > didn't like), I figured it was time I gave it another try. So after an
> > aptitude update, I did an aptitude dist-upgrade (something I hadn't
> > done since at least 6-12 months -- I did a number of updates of
> > specific packages in the mean time, though).
> >
> > aptitude offered me a solution which required removing a lot of
> > packages (old KDE 3.5 ones), installing a lot of new ones, and
> > updating some. The install went fine, without any error messages. I
> > now have a bunch of KDE 4.3.1 packages (version 4:4.3.4-1, the latest
> > in squeeze).
> >
> > I rebooted, got to the kdm welcome screen, obviously in KDE 4 style,
> > and logged in... only to see kdm pop again! No error message. I'm not
> > on this computer right now, but there wasn't any error message (nor
> > anything that looked even remotely related) in /var/log/kdm.log. In
> > the console, though, I can see when launching kdm some messages (sorry
> > for not having copied down the exact formulation) along the line of
> > "cannot copy file /etc/kde4/kdm/Xsession".
> >
>
> This is a bug in kdm squeeze and sid. You have to log twice and it will work.
> Thierry
>
>
It is a problem between kdm and policykit, there is a bug open, either
in kde and debian i think, search kdm policykit.
Now i am i lenny/gnome,kdm-double-login was just the last annoyance with
sid/kde-4.3.4. Actually looked for xdm, but it's an ugly workaround

Maybe the situation evolved in last month


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Rémi Moyen 01-19-2010 12:10 PM

kdm not working after upgrade from KDE 3.5 to 4.3.4
 
2010/1/19 Pier Paolo <pierpaolo.franco@gmail.com>:

>> > I rebooted, got to the kdm welcome screen, obviously in KDE 4 style,
>> > and logged in... only to see kdm pop again! No error message. I'm not
>> > on this computer right now, but there wasn't any error message (nor
>> > anything that looked even remotely related) in /var/log/kdm.log. In
>> > the console, though, I can see when launching kdm some messages (sorry
>> > for not having copied down the exact formulation) along the line of
>> > "cannot copy file /etc/kde4/kdm/Xsession".
>> >
>>
>> This is a bug in kdm squeeze and sid. You have to log twice and it will work.
>> Thierry
>>
>>
> It is a problem between kdm and policykit, there is a bug open, either
> in kde and debian i think, search kdm policykit.

Hmmm... thanks for the pointer, but again, I don't see any cases where
there are missing files from the package. There seem, however, to be
indeed a problem with kdm/policykit.

Well, I'll look into it, but if I don't find a solution, I guess I'll
have to downgrade to 3.5 again (stable should do the trick).
--
Rémi Moyen


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Jens Van Broeckhoven 01-19-2010 02:19 PM

kdm not working after upgrade from KDE 3.5 to 4.3.4
 
On Tuesday 19 January 2010 12:45:27 Thierry Chatelet wrote:
> On Tuesday 19 January 2010 12:09:47 Rémi Moyen wrote:
> > Hi all,
> >
> > (this is my first post on this list, please excuse me if I make any
> > mistakes...)
> >
> > I have a Debian testing system on which for a long time I kept old KDE
> > 3.5 packages because I didn't want KDE 4 (I tried it around 4.0,
> > didn't like), I figured it was time I gave it another try. So after an
> > aptitude update, I did an aptitude dist-upgrade (something I hadn't
> > done since at least 6-12 months -- I did a number of updates of
> > specific packages in the mean time, though).
> >
> > aptitude offered me a solution which required removing a lot of
> > packages (old KDE 3.5 ones), installing a lot of new ones, and
> > updating some. The install went fine, without any error messages. I
> > now have a bunch of KDE 4.3.1 packages (version 4:4.3.4-1, the latest
> > in squeeze).
> >
> > I rebooted, got to the kdm welcome screen, obviously in KDE 4 style,
> > and logged in... only to see kdm pop again! No error message. I'm not
> > on this computer right now, but there wasn't any error message (nor
> > anything that looked even remotely related) in /var/log/kdm.log. In
> > the console, though, I can see when launching kdm some messages (sorry
> > for not having copied down the exact formulation) along the line of
> > "cannot copy file /etc/kde4/kdm/Xsession".
>
> This is a bug in kdm squeeze and sid. You have to log twice and it will
> work. Thierry
>
For me, KDE didn't boot using KDM at all (most likely a security setting).
However, KDM has an option to login without X and startx still works (no
solution but good enough for me till everything is fixed).

Jens.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Michael Biebl 01-19-2010 02:40 PM

kdm not working after upgrade from KDE 3.5 to 4.3.4
 
Thierry Chatelet wrote:

> This is a bug in kdm squeeze and sid. You have to log twice and it will work.
> Thierry

This was actually an issue with consolekit and fixed consolekit packages are in
unstable and will transition to testing in a few days.

--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Rémi Moyen 01-19-2010 09:37 PM

kdm not working after upgrade from KDE 3.5 to 4.3.4
 
Le 19 janvier 2010 11:09, Rémi Moyen <rmoyen@gmail.com> a écrit :

> I rebooted, got to the kdm welcome screen, obviously in KDE 4 style,
> and logged in... only to see kdm pop again! No error message.

OK, I've got a bit more news, and that's not good news...

First, about the missing files, I once more removed all KDE related
packages, this time with --purge, and reinstalled. I don't know why,
but this correctly unpacked all the files (in /etc/kde4/kdm). So at
least that's one point fixed. But that's the only one...

I tried to log in more than once (and more than twice, even!), it
still doesn't work. So I don't think I'm affected by the
afore-mentioned bug.

I tried installing consolekit/unstable (since Michael Biebl indicated
that the newest version fixes this bug), and I still have the problem.

I tried installing xdm to replace kdm, xdm has the same problem (with
both consolekit testing or unstable).

I installed another window manager (IceWM) and chose it in the kdm
options, still the same problem.

Finally, I managed to launch xinit + icewm manually, and this works fine.

I then tried, instead of launching icewm, to launch startkde (since it
seems that's what .xsession would launch normally). I get the
following messages:

Rate 50.0 Hz not available for this size
startkde: Starting up...
kdeinit4_wrapper: Warning:
connect(/home/remi/.kde/socket-laputa/kdeinit4__0) failed: :
Connection refused
Segmentation fault (core dumped)
startkde: Shutting down...
kdeinit4_wrapper: Warning:
connect(/home/remi/.kde/socket-laputa/kdeinit4__0) failed: :
Connection refused
Error: Can not contact kdeinit4!
startkde: Running shutdown scripts...
startkde: Done.

OK, I guess starting KDE requires more than calling startkde (but what
else?). I tried calling kdeinit, it finishes immediately (but that
could be normal if it's running as a daemon), and startkde still tells
me "Communication error with KInit" and then another message
"startkde: Could not start ksmserver. Check your installation.".
ksmserver core dumps when I try launching it manually (but again, at
that point, I'm not really expecting things to work manually).

So my X server is working fine, but there is a problem with kdm
(independently of the window manager I use), and there is a problem
with KDE itself (?).

Anyone got any clue as to what I could do?

(I'm also unfortunately stuck with KDE 4 now, because when I tried to
downgrade to kde/stable aptitude crashed, complaining about
kdelibs4c2a depending on libkrb53 that it couldn't find, and
downgrading manually libkrb53 seems to pull down an awful lot of
things -- at this rate, I'm better off reinstalling the system from
scratch, at least it would be clean...)
--
Rémi Moyen


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

coldsun01 01-23-2010 09:40 PM

kdm not working after upgrade from KDE 3.5 to 4.3.4
 
I obviously have the same problem.

When I launch startkde, I've got this problem :

startkde: Starting up...
kdeinit4_wrapper: Warning:
connect(/home/fflorent/.kde/socket-monpc/kdeinit4__0) failed: :
Connection refused
/usr/bin/startkde: line 410: 7259 Erreur de segmentation kwrapper4
ksmserver $KDEWM
startkde: Shutting down...
kdeinit4_wrapper: Warning:
connect(/home/fflorent/.kde/socket-monpc/kdeinit4__0) failed: :
Connection refused
Error: Can not contact kdeinit4!
startkde: Running shutdown scripts...
startkde: Done.


It seems to be caused by an segmentation fault from ksmserver ...

I also tried to reinstall all of my kde packages, that doesn't solve my
problem.
I have tried to log in many times as suggested on this thread : the
problem's still here.


But unlike Rémy, I was on kde 4.3.
I upgraded the packages yesterday.

cheers,
Florent


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


All times are GMT. The time now is 09:51 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.