[Smartphones-userland] Ideas for a flexibe zhone-session replacement

Joachim Breitner nomeata at debian.org
Thu Sep 4 15:57:42 CEST 2008


Hi,

I’m pondering how to make zhone-session more flexible, and thought about
this scheme:

The zhone-session init script becomes a non-zhone-specific display
(non)manager. Differences to the current script:
 * Does _not_ pass a session script to /etc/X11/Xsession
 * Uses "su -l" or similar to make sure the pam session stages are
passed, to have HOME set and similar stuff. (I’m currently working on
that for the zhone-session we have.)
 * The session can be started as a different user by modifying a file
in /etc/defaults, for those who know what to do.

The installer.sh will install the current content
of /usr/bin/zhone-session as /root/.xsession, so that after a fresh
installation, people have the same behaviour.

Advantage:
People can start their own stuff without having to change the init
script. If they delete the .xsession file, the usual Debian mechanisms
apply, (looking for x-session-manager and x-window-manager), so after an
installation of xfce, this is all they have to do.

The init script itself becomes fso-independent and might be used
otherwhere. What would be a good name? “nodm”? “x-session-starter”?
“autologin”?

Disadvantage:
Breaks current installations or, when we upload this as a new package,
manual installation is required.

Any comments?

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.linuxtogo.org/pipermail/smartphones-userland/attachments/20080904/e1bd1d82/attachment.pgp>


More information about the Smartphones-userland mailing list