Re: only one X11 application
- From: Logan Shaw <lshaw-usenet@xxxxxxxxxxxxx>
- Date: Tue, 14 Nov 2006 14:51:10 GMT
hans m45 wrote:
i have the problem, that notebook users should get only
one application. this should be a browser, for example
opera.
after a login, which can be also text-based, should run
the browser. if this one will closed, the user should fall back to login.
modifying gnome seems not the usable way.
Just use any window manager and modify their .xinitrc file.
Put something like this in it:
#! /bin/sh
twm &
mozilla
That will launch twm (you could use another window manager;
that's just an example), and then it will launch mozilla.
As soon as mozilla exits, the X session will end too.
This will not be secure, though. If the user can start
the X server, they can always start their own session in
their own way and run other X applications. But it would
be useful if your goal is to make things simple for the
user rather than making it impossible for them to bypass.
what must be the next steps, if
disabling /etc/rc2.d/S99dtlogin
which processes must be startet, that an X-application can run ?
You only need to start the X server. You can do that with
the xinit program. It will start the X server and then run
the script .xinitrc. When the .xinitrc script finishes,
xinit will end the session (stop the X server).
- Logan
.
- References:
- only one X11 application
- From: hans m45
- only one X11 application
- Prev by Date: Re: wait for multiple asynchronous I/O requests
- Next by Date: Re: Installing earlier versions
- Previous by thread: only one X11 application
- Next by thread: More SSH problem on SOL9sparc
- Index(es):
Relevant Pages
|