Do you have a question? Post it now! No Registration Necessary
Subject
- Posted on
How to autostart dosemu at login?
- 12-07-2003
December 7, 2003, 11:42 am

I have modified inittab to add
c3:1235:respawn:/ssbin/agetty -n -l /bin/autolog 38400 tty3
linux
where:
/bin/autolog is just:
#!/bin/sh
/bin/login -f root
That works fine, since there is no password.
Now I still need to start dosemu. So I added to
~/.bash_profile the line /usr/bin/dosemu&
that starts dosemu automatically, but what happens is that
the keyboard stays with the shell, not dosemu.
How could I start dosemu automatically. It will not
work if I start it in inittab, because it needs the root
environment to read its .dosemurc
Thanks in advance
Tonyb
c3:1235:respawn:/ssbin/agetty -n -l /bin/autolog 38400 tty3
linux
where:
/bin/autolog is just:
#!/bin/sh
/bin/login -f root
That works fine, since there is no password.
Now I still need to start dosemu. So I added to
~/.bash_profile the line /usr/bin/dosemu&
that starts dosemu automatically, but what happens is that
the keyboard stays with the shell, not dosemu.
How could I start dosemu automatically. It will not
work if I start it in inittab, because it needs the root
environment to read its .dosemurc
Thanks in advance
Tonyb
--
__ __ _ I N C. http://www.sysdev.org
/ __|\// __|| \ __ __ / snipped-for-privacy@sysdev.org
__ __ _ I N C. http://www.sysdev.org
/ __|\// __|| \ __ __ / snipped-for-privacy@sysdev.org
We've slightly trimmed the long signature. Click to see the full one.
Site Timeline
- » bypass login in && automatically run a specified script
- — Next thread in » Embedded Linux
-
- » Redboot on Zaurus
- — Previous thread in » Embedded Linux
-
- » Crosscompiling for ARM: reloc type R_ARM_ABS32 is not supported for PIC - ...
- — Newest thread in » Embedded Linux
-
- » smd perchè magnetici?
- — The site's Newest Thread. Posted in » Electronics Hobby (Italian)
-