Run your main keyboard's MIDI Out to the second board's MIDI In port.
Now you're controlling it from the main keys. Run a cable from the
second keyboard's MIDI Thru to the MIDI In on your computer's MIDI
interface, then use ALSA seq or JACK-MIDI to connect to your softsynth
of choice. Let me know if that doesn't work.