<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I'll give this a try. VNC is already enabled on the RP. I just needed a work around because I didn't know if there was a computer on that subnet with VNC available.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Marc<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Brad Sawatzky <brads@jlab.org><br>
<b>Sent:</b> Monday, December 21, 2020 2:43 PM<br>
<b>To:</b> Marc Mcmullen <mcmullen@jlab.org><br>
<b>Cc:</b> dsg-halla_gas@jlab.org <dsg-halla_gas@jlab.org>; Chuck Long <mlong@jlab.org><br>
<b>Subject:</b> [EXTERNAL] Re: [Dsg-halla_gas] Login instructions and remote monitoring</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi Marc,<br>
<br>
I not on vacation yet, but am (unfortunately) tied up in meetings all<br>
afternoon. Happy to chat Tuesday if you like. I'll summarize my<br>
approach below, FWIW.<br>
<br>
The way I've done this in the past is to have the VNC server only bound<br>
to 'localhost'. This is very easy under linux, MacOS/Windows need to<br>
Linux:<br>
vncviewer -via user@host :1<br>
<br>
Windows/MacOS:<br>
- 'SSVNC' : client with automatic tunneling built in<br>
- Or open a terminal and establish the tunnel manually<br>
$ ssh -L 5901:localhost:5901 user@host<br>
- Then run the VNC client and connect to 'localhost:5901'<br>
$ open 'vnc://localhost:5901' (MacOS terminal, for example)<br>
<br>
The tunnel removes the valid security risks with 'raw' VNC access, and<br>
allows people to still connect across VLANs firewalling.<br>
<br>
-- Brad<br>
<br>
On Mon, 21 Dec 2020, Marc Mcmullen wrote:<br>
<br>
> Hi Brad,<br>
> I have experimented with VNC, but there are some hoops to get around. Do you<br>
> have a few minutes to chat? Not sure if you are on vacation.<br>
> Thanks,<br>
> Marc<br>
> <br>
> ----------------------------------------------------------------------------<br>
> <br>
<br>
<br>
<br>
> From: Brad Sawatzky <brads@jlab.org><br>
> Sent: Monday, December 21, 2020 2:18 PM<br>
> To: Marc Mcmullen <mcmullen@jlab.org><br>
> Cc: dsg-halla_gas@jlab.org <dsg-halla_gas@jlab.org>; Chuck Long<br>
> <mlong@jlab.org><br>
> Subject: [EXTERNAL] Re: [Dsg-halla_gas] Login instructions and remote<br>
> monitoring<br>
> <br>
> Hi Marc,<br>
> <br>
> I would recommend running the GEM readout in a VNC session. That would<br>
> allow multiple people to view the screen at a time. It would also allow<br>
> for full remote operation of the GUI. (That is, the software will run<br>
> persistently within the VNC session, even if a remote user starts it,<br>
> and will not die if the remote connection drops or someone else wants to<br>
> view the GUI).<br>
> <br>
> -- Brad<br>
> <br>
> Oe Fri, 18 Dec 2020, Marc Mcmullen wrote:<br>
> <br>
> > Hi,<br>
> > DSG has installed the GEM Gas Flow Readout single board computer<br>
> (Raspberry<br>
> > Pi). The software installed is prototype and will be updated in 2021.<br>
> > Here are some important notes on monitoring:<br>
> ><br>
> > 1. It is best practice to remotely login using the instructions attached<br>
> to<br>
> > this email to monitor the gas flow, even if you are local (at the<br>
> lab).<br>
> > If you are at the gas distribution rack, please observe the flow by<br>
> > looking at the Flow Meter Panel in the rack.<br>
> ><br>
> > 1. logging in and running the display on the local Raspberry Pi monitor<br>
> > will prevent viewing the display remotely<br>
> > 2. If the display is left on locally, the CSS program will have to be<br>
> > "killed" or the Raspberry pi will have to be rebooted (~ 2 minutes)<br>
> and<br>
> > all software must be restarted (~ 2 minutes) per the instructions (on<br>
> > the desktop of the Raspberry Pi and in this email)<br>
> ><br>
> > 2. To remote monitor follow the instructions attached to this email. DSG<br>
> > has already started the monitoring program, if it is not running:<br>
> ><br>
> > 1. restart the software by following the attached instructions (also on<br>
> > the desktop of the Raspberry pi)<br>
> > 2. send an email to the group and someone will restart the software<br>
> ><br>
> > 3. Only one person can remotely log into the Raspberry Pi at a time,<br>
> > logging in will disconnect someone who is already logged in, so please<br>
> > coordinate with each other via email and disconnect by closing the<br>
> > Remote Desktop window when you are finished monitoring<br>
> ><br>
> > In future updates, DSG plans to make a web distribution for the prototype<br>
> > software, allowing multiple users to monitor the CSS screen.<br>
> > Finally, EPICS will be used to monitor gas flow during hall operations.<br>
> > Regards,<br>
> > Marc<br>
> <br>
-- <br>
Brad Sawatzky, PhD <brads@jlab.org> -<>- Jefferson Lab / Hall C / C111<br>
Ph: 757-269-5947 -<>- Fax: 757-269-5235 -<>- Pager: brads-page@jlab.org<br>
The most exciting phrase to hear in science, the one that heralds new<br>
discoveries, is not "Eureka!" but "That's funny..." -- Isaac Asimov<br>
</div>
</span></font></div>
</body>
</html>