Re: only one X11 application



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
.



Relevant Pages

  • Re: ASP sessionstate
    ... :>: so it is a clientside issue. ... ASP doesn't know or care what browser it ... but then it is not a new session. ... :> How can a Response.Write write to the server screen? ...
    (microsoft.public.inetserver.asp.general)
  • Re: ASP sessionstate
    ... ASP doesn't know or care what browser it ... ticket number given when the first item is added to the cart. ... How can a Response.Write write to the server screen? ... :> delete the cart file and set the session ...
    (microsoft.public.inetserver.asp.general)
  • Re: Attempt to de-mystify AJAX
    ... >>maintaining a session via URL is not a problem. ... >> around cookies and JS, but it seems to be tough. ... >> as needed back to the server. ... but as I mentioned before - a non-dynamic request by the browser can ...
    (comp.databases.pick)
  • "Compaq Web Agent" management session can be re-used without the need to perform authentic
    ... destructive actions (as server reboot). ... Compaq Web Agent Service 6.0.0.0 using Compaq HTTP Server 5.1.0 on ... servers via a secured HTTP session from a browser client, ... via a legitimate authenticated SSL session - if he closes the session by ...
    (Bugtraq)
  • Re: Slow TS logon from dumb terminals.
    ... Is a login from the console also slow? ... Do the users run a login script? ... if the Real-time protection component runs in every user session. ... No virus protection as only the server has s CD Rom/USB Access/Floppy. ...
    (microsoft.public.win2000.termserv.clients)