remote display and control of programs using svgalib
w3sz "at" comcast.net
Mon Aug 12 04:53:02 2002
I have an application where I want to run from a client machine at a remote
site, via ethernet, an application that uses svgalib and runs on a server.
I have gotten both vncviewer and svncviewer to work over the link, and can
run on the server the kde desktop, programs such as gimp, gedit, netscape,
cdplayer from the remote computer with no problems and full functionality.
When I try to run any svgalib applications, such as their demos (spin,
vgatest for example) or an svgalib application program such as linrad (
http://ham.te.hik.se/homepage/sm5bsz/linuxdsp/linroot.htm ) these programs
start OK but the display occurs only on the server and not on the remote
computer, and keyboard input from the remote is not transmitted to the
svgalib application. ONce the application has been started from the remote
computer, keyboard input is accepted only from the server and video output
is only to the server's display. When I exit the svgalib application by
using the server keyboard commands, then keyboard strokes from the viewer
are again accepted by the server as control is returned to the xterminal
window on the remote viewer client.
My guess is that in order to get keyboard input and display output sent to
the viewer machine under svgalib, I must set the display and keyboard
parameters to be directed to the viewer rather than to the server. My guess
is that this must be done either in some svgalib initialization file, or
possibly in the application source code itself. I would assume that these
files reside on the server. The vncserver calls my client session
P4.rehr.com:1, so I guess that I would have to put this somewhere in in
Has anyone else run into this and is there an easy answer to what to change
and where to find it? I've spent the day wading thru texts and the internet
without a resolution.
Both boxes have RedHat 7.2, svgalib-1.4.3, XFree86-4.2, svncviewer-0.1.1 and
vnc-3.3.3r2_x86_linux_2.0. The machines are a P4 at 1.4 G with 512 MB
(server) and a P200Pro with 128 MB (client) respectively. There are no
performance issues; just the problem with needing to redirect keyboard input
and video output under svgalib.
It would be nice to also be able to redirect the audio from the server to
the viewer machine, but that is a lesser problem because I can easily send
that over alternate channels if necessary.
Thanks in advance.
2 Merrymount Road
Reading, PA 19609-1718