[Xastir] New Xastir virtual machine with Xubuntu 8.04 available.
Dick Repasky
dick.repasky at gmail.com
Thu Jun 12 18:16:41 EDT 2008
Curt, WE7U wrote:
> On Wed, 11 Jun 2008, Dick Repasky wrote:
>
>>> I'd _love_ to see the runlevel stuff described above combined with
>>> the VM Lee just did (and Tom tweaked). That'd be a heck of a nice
>>> system for beginners and for EOC/SAR/Public Event operators.
>>>
>> I'm game for contributing the mods and maintaining them.
>
> 'splain. Let me know what your ideas are, whether adding them to
> the Xastir sources somewhere as helper scripts for such a
> configuration, or contributing them to Lee & Tom for their possible
> future inclusion in a VMWare application appliance.
>
I think in terms of contributing them to Lee & Tom for inclusion. I think that
they may be out of place somewhere in the Xastir source tree, especially as
helper scripts, because you can't just run them and get something done. Also,
they are unfortunately restricted to Ubuntu because Ubuntu uses its own init
package called upstart.
Here is a description of the runlevel mods. Note that what would otherwise be
lines in inittab are files in /etc/event.d in Ubuntu.
runlevel 2 - rustic VC login
runlevel 3 - simplest - no login - autolaunch - no window manager
- auto shutdown
runlevel 4 - intermediate - no login - autolaunch - window manager
- auto shutdown
runlevel 5 - gdm login - autolaunch - window manager
/etc/event.d/xastir - handles launch of X as user in runlevels 3 and 4 and
VM shutdown after xastir exit
/home/xastiru/.setenv - sets environment variables that would otherwise be set
by /bin/login. Invoked from within /etc/event.d/xastir.
We can put this elsewhere if you prefer.
/home/xastiru/.Xsession - tests current runlevel and launches Xastir, and window
manager as appropriate for the runlevel
/etc/rc.[234]d/S30gdm - deleted
/etc/event.d/rc-default - modified to honor runlevel specified in kernel boot
parameters. Ubuntu upstart honors only single for
single user mode.
package rungetty required to run X from init
All of the above works. The complication that will need to be tested is what
happens to Xastir's window when the size of the VM window is modified as Tom
described for VMware tools. I don't know how it should work. It could be trouble.
On the subject of automounting usb drives, copying and unmounting, I'll have to
look into whether Tom et al. are running hal. If they are, I may scrap what I
have and work with hal. I have been trying to avoid hal and work entirely with
udev.
Dick
More information about the Xastir
mailing list