From: Sandor Dibuz (terhi.victor@logonet.com)
Date: Mon Jan 01 2001 - 20:45:29 EET
On Mon, 1 Jan 2001, Barry Winch wrote:
> Hi, I have an application that runs under X, that I would like to start
> automagically on boot-up. Unfortunately X always wants we to log in.
>
> Is there a way to start x in an rc.xxx file, which in turn will start the
> application, prior to any login taking place?
Barry, look at the example below, it starts xfbb for the example, put
something like this into that rc.xxx file:
#!/bin/sh
#
/bin/su -c "/usr/X11R6/bin/xinit /root/.xinitrc --" - &
The .xinitrc contains the actual program(s) to start:
fbb
icewm
You can choose any user not only root of course, see manual for command
su.
73... Sanyi
-- Sandor Dibuz | email: xoncb.zaeuo@cherry.de | Pecs, Hungary | AX.25: wqeboy@numa.com.tw | UIN: 81545608- To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to terhi.victor@logonet.com
This archive was generated by hypermail 2b30 : Mon Jan 01 2001 - 21:07:14 EET