[Xastir] more "stupid cygwin/xastir tricks"

Kirk Mefford kc2elo at softhome.net
Tue May 20 15:16:40 EDT 2003


I've been tinkering again.... I was looking for a way to load multiple 
instances of Xastir under windows using different usernames.  Cygwin 
doesn't use the "login" function like it should so it isn't as simple as it 
should be.  Here's one way I got it to work.

I installed "inetd" that comes with cygwin. 
http://www.adamswann.com/library/2001/Cygwin-Inetd.html has a pretty much 
no brainer howto for installing it so I won't go into that.

Once I had inetd loaded I telnet into "localhost" and login using a 
different windows username (if you follow the instructions on the link 
above it will have account information for all users setup in windows)

Once I'm logged in I have a bash shell with a different home directory and 
username.  After ensuring all of the right environment variables are set 
(like DISPLAY and MAGICK_HOME) I type in "run xastir" and close out the 
telnet session and xastir is now running with a different username.

It might not be a pretty way to make things work but.......it works.

I can't think of too many good reasons to run more than one xastir session 
on a single windows machine but it amused me so I thought I'd share.  Maybe 
someone would have a real reason to do so... I was just bored.



More information about the Xastir mailing list