Re: Question about managing lock files for Kmail

Kevin Krammer <[email protected]>
Newsgroups gmane.comp.kde.users.pim
Message-ID <[email protected]>
On Sunday, 2010-01-10, David Southwell wrote:
> I know problem is resolved by an # rm lock but the failure kmail to load
>  does not load due to a lock file in ~/.kde4/share/apps/kmail/ has
>  irritated me recently.
> 
> The removal of outdated lock files could be automated when the X-server is
> booted for the first time following a system reboot. However I do not know
>  the implications. Would there be any reason not to build a script which
>  searches for and removes any lock file in ~/.kde4/share/apps/kmail/ for
>  our users before they run their startx command is launched?

If this is the only way your users can login then this should probably work.
It could be dangerous if they can login in a different way, e.g. an SSH 
session with X forwarding through which they would already run KMail when 
launching startx locally.

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

_______________________________________________
KDE PIM users mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kdepim-users
signature.asc (application/pgp-signature, 190 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iD8DBQBLSjKdnKMhG6pzZJIRAm0IAJsHVOLbJbL7JtVSoyn3NQ5P0+MBNwCdGlqX
9gQCCnF5LGjlrpf7/jlM0Ok=
=AyQQ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.