Hi,
Definitely not a raspberry pi thing.
I use a raspberry pi at home as a terminal and start auth/fgui from my
startup script just as you are retuing to do.
Try replicating my environment:
Attached are my scripts:
startup - what I call riostart
logwin - starts first terminal window
put these scripts into $home/bin/rc and chmod them to 755
to make them executable.
I have this line in my $home/lib/profile where it starts rio:
exec rio -s -i startup
To test this you can open a window in rio and type
exec rio -s -i startup
and you will get a child rio in this window.
fgui will be running but hidden until its needed,
you can manually unhide it but it doesn't refresh its window
until it wants to prompt the user so its just a blank window
To see fgui just select it from the menu on B3 of the mouse.
you should also get stats, faces, and a clock.
you probably won't get a radio as the PI doesn't have an audio driver
by default yet and you would need to install my radio tuner package
first anyway.
-Steve#!/bin/rc
rfork e
scr=(`{cat /dev/draw/new >[2]/dev/null || status=''})
height=$scr(12)
y1=`{echo 'int(' $height '*' 0.12 ')' | hoc}
y2=`{echo 'int(' $height '*' 0.3 ')' | hoc}
y3=`{echo 'int(' $height '*' 0.7 ')' | hoc}
width=$scr(11)
x1=`{echo 'int(' $width '*' 0.1 ')' | hoc}
x2=`{echo $x1 + 1 | hoc}
x3=`{echo 'int(' $x2 + '(' $width '*' 0.5 '))' | hoc}
x4=`{echo $x3 + 1 | hoc}
x6=`{echo $width - $y1 | hoc}
x5=`{echo $x6 - 1 | hoc}
x7=`{echo $width - 1 | hoc}
if(~ $service terminal)
auth/fgui &
if(~ $service terminal && ! ~ $#cpu 0)
window -r 0 0 $x1 $y1 stats -lmei $sysname $cpu
if not
window -r 0 0 $x1 $y1 stats -lmei
window -r $x2 0 $x3 $y1 faces -i
if(cat /dev/volume >[2] /dev/null)
window -r $x4 0 $x5 $y1 audio/tuner
window -r $x6 0 $x7 $y1 clock
window -r $x2 $y2 $x3 $y3 logwin#!/bin/rc
fortune
calendar -y
news
echo
exec rc -i