Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Dec 2000 11:34:21 +0100
From:      Rahul Siddharthan <rsidd@physics.iisc.ernet.in>
To:        Palle Girgensohn <girgen@partitur.se>
Cc:        ports@freebsd.org
Subject:   Re: logout on KDE 2
Message-ID:  <20001218113421.E58195@lpt.ens.fr>
In-Reply-To: <3A3D7FE3.4AF050BE@partitur.se>; from girgen@partitur.se on Mon, Dec 18, 2000 at 04:09:23AM %2B0100
References:  <20001217121846.G9911@lpt.ens.fr> <3A3D7FE3.4AF050BE@partitur.se>

next in thread | previous in thread | raw e-mail | index | archive | help
> Rahul Siddharthan wrote:
> > 
> > I recently installed FreeBSD 4.2-release, and yesterday built KDE
> > version 2.0.1 from the newly updated ports tree.  It's very nice
> > except that the logout buttons don't work.  From looking through
> > mailing list archives and the KDE bug database, it seems that this has
> > happened to others, but I couldn't find any fixes.  Any
> > suggestions/patches available now, or is ctrl-alt-bksp the only
> > option?


Palle Girgensohn said on Dec 18, 2000 at 04:09:23:
> I'm seeing something similar, bu tnot quite this bad: I
> sometimes have to klick 'logout' twice, or even three times,
> before anything happens. I have never failed to logout, though.

That doesn't work for me.  I can click ad infinitum and the thing
just sits there, no reaction.
 
Can anyone tell me whether the following patch makes any sense?  I
grepped through the source code for shutdown, and it seemed to me
(though I may be totally wrong here) that the code for "kapp.cpp"
in kdelibs2/kdecore was incomplete for the case where ksmserver
is already running.  This is a pretty random shot -- I'm not at
all familiar with the internal architecture of kde.

Right now I'm located 30 km away from the machine in question, so I
can't check the local desktop until Thursday.  When I type "startkde"
from a remote machine I get a window with the KDE2 desktop on it;
without the following patch the logout button doesn't work, with the
patch the logout button at least brings up the logout dialog box,
but doesn't do much after that.  That may be some artifact of
running it remotely, however.

The patch is for the kdelibs2.0.1 source, for the file kdecore/kapp.cpp
Before sending it to the kde people, I thought I'd try this list :)

- Rahul

*** kapp.cpp.orig       Mon Dec 18 11:12:10 2000
--- kapp.cpp    Mon Dec 18 11:09:16 2000
***************
*** 776,781 ****
--- 776,782 ----
      if ( mySmcConnection ) {
          // we already have a connection to the session manager, use it.
          SmcRequestSaveYourself( mySmcConnection, SmSaveBoth, True, SmInteractStyleAny, False, True );
+         SmcCloseConnection( mySmcConnection, 0, 0 );
          return TRUE;
      }


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001218113421.E58195>