How to configure PS2 Linux to automatically boot and let you launch
applications without the keyboard or mouse. My acount is "vince", so where
you see that, replace with your login.
Set up the Run-Time Environment to auto-boot.
edit /mnt/mc00/p2lboot.opt to have 'timeout=7' or another number of seconds
autologin . This program will automatcially start X Windows for you
without a login prompt. You may have to do a google search for a mirror, I
usually have problems connecting to that site. Add the following to the top
of /etc/X11/prefdm to start autologin when applicable:
if [ -f /etc/sysconfig/autologin -a -x /usr/local/sbin/autologin ]; then
if /usr/local/sbin/autologin >> /tmp/autlogin.out 2>&1
# If autologin fails (bad permissions, etc.), we get here -
# time to start a real display manager.
This will automatically start a program on the console without a login prompt.
This will remove the mouse cursor from X windows (remember - no mouse!)
Create /etc/X11/xinit/session.d/user with this file. It
lets you use a .Xclients file to start X programs with xinit. Change your
~/.xinit.d/session file to just say "user" (without quotes).
Shell scripts to put in your ~/bin directory. Make them executable.
startx-wrapper - Makes sure no console apps are running before starting X
runconsole - Waits for a command on a fifo to run on the console
runmenu - Runs the launcher program in a loop
runonconsole - launch a rom on the console
runnofrendo - wrapper to nofrendo
Some config files to install. Check all for references to vince!
~/.Xclients (chmod +x!)
Config sudo (run visudo) to run some programs without a password:
vince ALL=(ALL) NOPASSWD:/sbin/shutdown
vince ALL=(ALL) NOPASSWD:/usr/bin/switchto
Set up /etc/inittab:
Make sure you're in runlevel 5,
Change tty2 to start rungetty
2:2345:respawn:/sbin/rungetty -u vince -g vince tty2 /home/vince/bin/runconsole
At the bottom of /etc/X11/XGSConfig, uncomment the Ps2Pad config session to
use the pad as a mouse. Turning off unclutter will help here. I turn it
off before starting an app that needs the mouse, then back on when I exit
When I switch to the console and run nofrendo, X usually dies. These
scripts will create temp files to prevent it from re-starting while the
program is running.