During booting, how to open X then a application?

During booting, how to open X then a application?

Post by b.. » Fri, 27 Jun 2003 14:15:41



Hi,
can I insert a shell file in /etc/rc3.d for example, S40Xstart to open
just after booted and without logging in?
Actually, I would turn on the sytem then the system goes automatically
to boot and run a Xwindow application.
I mean I want to open X window and run an application automatically just
by turning on the system power.
If so, please let me know how?

Regards,
bkna.

 
 
 

During booting, how to open X then a application?

Post by Ben Fitzgeral » Sat, 28 Jun 2003 03:58:55



> I mean I want to open X window and run an application automatically just
> by turning on the system power.

Running an executable at startup has nothing to do with X.

Many things run at startup. Google for "runlevels + linux"
and check out "From-PowerUp-To-Bash-Prompt-HOWTO" esp. the
init part (section 6). It should be in /usr/doc/share/Linux-HOWTOs

post further questions at alt.os.linux or sub-groups

enjoy

--
Ben Fitzgerald
London, UK

 
 
 

1. During boot: can't open dependencies file ?!?!?

Hi,

I've downloaded and compiled kernel 2.2.12 on my RedHat 7 installation. Went
through all the moves:
make dep,
make clean,
make bzImage,
make modules,
delete old modules directory,
make modules_install,
copied System.map to /boot/System.map-2.2.12
copied bzImage to /boot/vmlinuz-2.2.12
(LILO was already configured for this kernel name)

Then, when I boot up the new kernel, I get this:

...
Jan 14 00:35:50 localhost modprobe: modprobe: Can't open dependencies file
/lib/modules/2.2.12/modules.dep (No such file or directory)
Jan 14 00:35:50 localhost rc.sysinit: Initializing USB controller (usb-uhci):  
failed
Jan 14 00:35:50 localhost fsck: /: clean, 106161/384768 files, 373048/769104
blocks
Jan 14 00:35:50 localhost rc.sysinit: Checking root filesystem succeeded
Jan 14 00:35:50 localhost rc.sysinit: Remounting root filesystem in read-write
mode:  succeeded
Jan 14 00:35:51 localhost depmod: depmod:  
Jan 14 00:35:51 localhost depmod: *** Unresolved symbols in
/lib/modules/2.2.12/misc/eicon.o
Jan 14 00:35:51 localhost rc.sysinit: Finding module dependencies:  succeeded
Jan 14 00:35:51 localhost modprobe: modprobe:  
Jan 14 00:35:51 localhost modprobe: Can't locate module es1371
Jan 14 00:35:51 localhost rc.sysinit: Loading sound module (es1371):  failed
Jan 14 00:35:51 localhost fsck: /boot: clean, 29/6024 files, 4012/24066 blocks
Jan 14 00:35:51 localhost fsck: /home: clean, 704/384768 files, 13483/769104
blocks
Jan 14 00:35:51 localhost rc.sysinit: Checking filesystems succeeded
...

However, modules.dep is there in /lib/modules/2.2.12:

total 44
drwxr-xr-x    8 root     root         4096 Jan 14 00:35 .
drwxr-xr-x    5 root     root         4096 Jan 14 00:12 ..
drwxr-xr-x    2 root     root         4096 Jan 14 00:12 block
drwxr-xr-x    2 root     root         4096 Jan 14 00:12 fs
drwxr-xr-x    2 root     root         4096 Jan 14 00:12 ipv4
drwxr-xr-x    2 root     root         4096 Jan 14 00:12 misc
-rw-r--r--    1 root     root         4724 Jan 14 00:35 modules.dep
-rw-r--r--    1 root     root           99 Jan 14 00:35 modules.pcimap
drwxr-xr-x    2 root     root         4096 Jan 14 00:12 net
drwxr-xr-x    2 root     root         4096 Jan 14 00:12 video

What's wrong here? Shouldn't this work? Have I forgotten something?

Regards,
Edwin

2. BSDI NFS server -> Solaris client

3. Bad magic number / Can't open disk label package / Can't open boot device

4. Xmt (Motif Tools) DLL?

5. open the patch to flash my Open Boot Prom

6. Help! Multiple ethernet config problems

7. turn off auto restore application in CDE during login

8. Reading 1581 floppy's

9. 2.5 x86 DU5 application during a net jumpstart?!

10. problem : swap filesystem shrinks during application

11. Error during building Sample Application using eCos

12. Open Server 5.0.5 Boot CD will not boot - NO OS

13. How to transforms:Sybase Open Client DB-Library/C on HP-UX applications Sybase Open Client Client-Library/C compatible applications on UNIX