Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: Tk Listbox and SSH command

by cavac (Vicar)
on Jan 17, 2023 at 15:12 UTC ( #11149645=note: print w/replies, xml ) Need Help??

in reply to Tk Listbox and SSH command

A little off-topic, but thinking about the possible future of your project: If X11-over-Network turns out to be too slow, you could experiment with starting a virtual X11 with a VNC server, then open a VNC client on the user terminal (you can possibly pipe that all back to the client using the existing SSH session via port forwarding to even make it secure).

Using VNC (or something similar) can be orders of magnitude faster, depending on the use case. VNC sends you a compressed screen update for the parts ofd the screen that have changed (depending on the selected VNC algorithm). On the other hand, worst case case for X11 is that it sends you pixel-by-pixel drawing operations.

As an additional bonus, if you ever need to generate screenshots of all .vcd files, you could just call Net::VNC instead of the external VNC viewer to automatically capture a screenshot of the application.

Also, if you ever want to port your project over to a browser, you could use noVNC to just view that application from within a webpage. In theory then, the operating system of the user wouldn't matter at all anymore, because ALL the software runs on the central server and all the client needs is a web browser that supports websockets. (So, basically, every browser made after about 2015...).

PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11149645]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2023-03-20 23:18 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (59 votes). Check out past polls.