[Kde-kiosk] how to force users to log into KDE (modify KDM menu)

Oswald Buddenhagen ossi at kde.org
Wed Jun 22 19:12:48 CEST 2005


On Wed, Jun 22, 2005 at 05:17:39PM +0100, Russell Brown wrote:
> So.  I would assume from all that that I could put my .desktop files
> in the "config dir".
>
yup.

> I would also assume that this "config dir" would
> be `kde-config --path config`/kdm/sessions ie:
> 
> 	/usr/share/config/kdm/sessions
> 
yup. unless you have a weirdo setup. kdm_config does not obey all rules
of finding config dirs, e.g., it does not know /etc/kderc. so in some
cases it might disagree with kde-config. fixing this is todo.
what kdm really thinks can be figured out by starting it with -debug 2
and reading the [sys]log.

> However, my /etc/kde3/kdm/kdmrc, SessionsDirs is left as distributed
> which, from the comment in kdmrc, implies:
> 
> 	#SessionsDirs=/usr/share/xsessions,/usr/share/apps/kdm/sessions
> 
the commented out assignments in the kdmrc are purely exemplary. as no
real assignment is done, the default as documented in the "Default is
..." part is authoritative.

> Different to the section above.  Huh?
> 
yup.
as the readme states, you have to make the sessions dir in the config
dir known to kdm, unless your distributor did it for you already. your's
didn't.

> [Desktop Entry]
> Hidden=True
>  
that's the minor syntax error i was suspecting ... kconfig accepts only
lowercase "true", "on", "yes" and non-zero integers ...

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.


More information about the kde-kiosk mailing list