Use emacs --daemon=your-server-name -l “custom-init-file“ to start a new server and emacsclient -nw -s your-server-name to connect to it from the terminal itself. The section on Using Emacs as a server in the manual has more initialization options.
Java Client SDK for Alpaca V2. Look at the section StockMarketDataWebsocket for Websocket API.
Client SDKs to connect to Alpaca V2 realtime (and historical?) stock trades
Good review of VNC on Opensuse. This does NOT talk about KRFB for some reason