From owner-freebsd-questions@FreeBSD.ORG Fri Jul 15 04:38:58 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D640106566B for ; Fri, 15 Jul 2011 04:38:58 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 525128FC13 for ; Fri, 15 Jul 2011 04:38:58 +0000 (UTC) Received: from r55.edvax.de (port-92-195-180-180.dynamic.qsc.de [92.195.180.180]) by mx02.qsc.de (Postfix) with ESMTP id BE5C11DC54; Fri, 15 Jul 2011 06:38:55 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p6F4csAl004562; Fri, 15 Jul 2011 06:38:55 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 15 Jul 2011 06:38:54 +0200 From: Polytropon To: Chad Perrin Message-Id: <20110715063854.38368777.freebsd@edvax.de> In-Reply-To: <20110715033735.GA11321@guilt.hydra> References: <20110715033735.GA11321@guilt.hydra> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: boting straight into firefox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2011 04:38:58 -0000 On Thu, 14 Jul 2011 21:37:35 -0600, Chad Perrin wrote: > On Thu, Jul 14, 2011 at 11:00:31PM -0400, Aryeh Friedman wrote: > > I am setting a read only kiosk (it displays various web pages > > progmatically and has *NO OTHER* function) and security is not a > > concern because the hardware is locked away and need to find the most > > hands free way method of going from power on to full screen > > www/firefox.... is it sufficent to have a su to a non-root user and > > then run startx in /etc/rc(.local) [I have a custom /etc/rc so I do > > not need rc.local) > > I don't know the process for setting that up off the top of my head. > Perhaps a minimal window manager with only one workspace and the browser > executed in your .xinitrc file would do the trick. I seem to recall > there is a way to turn off access to TTY consoles, too. No need for a window manager - the program itself should have control of the session, and if it's run in fullscreen, fine! You don't need a window manager anyway as you're not going to manage any windows - and therefore get rid of (in this case) useless title bars (if any). > I wonder, though . . . why Firefox? Would a more minimal (but still GUI) > browser -- such as Surf, perhaps -- serve your needs better? Maybe it's worth considering that in case the menu bar, navigation bar and all the other (mostly nonsense) bars of web browsers are not needed for the purpose described above. An example can be obtained by pressing PF11 in Opera. :-) Oh, and check out the "dillo" web browser - it's fast and simple and may be sufficient. From "dillo --help", you can see that it even supports a fullscreen mode. You can use this -f parameter together with -g for the geometry settings to make it as big as the screen, e. g. dillo -f -g 1024x768+0+0 /what/to/display.html But as I said, it depends on _what_ you actually want to display (in terms of HTML content). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...