User Tools

Site Tools


device_controll

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
device_controll [2026/05/09 12:37] – [Using local web interace (Firefox) to display instrument information] aridevice_controll [2026/05/09 12:46] (current) – [Using local web interace (Firefox) to display instrument information] ari
Line 38: Line 38:
  
   - Make sure server and VPN are on. Then start XLaunch and check “Disable access control” to ensure a remote     server can connect to the application. Why do we do we need XLanuch?: Linux programs like Firefox (the graphical user interface) don't know how to draw themselves on WindowsShell. VcXsrv (XLaunch) acts as a translator that listens for Linux "drawing instructions" and turns them into a Windows window.   - Make sure server and VPN are on. Then start XLaunch and check “Disable access control” to ensure a remote     server can connect to the application. Why do we do we need XLanuch?: Linux programs like Firefox (the graphical user interface) don't know how to draw themselves on WindowsShell. VcXsrv (XLaunch) acts as a translator that listens for Linux "drawing instructions" and turns them into a Windows window.
-  - +  - Type in Shell: $env:DISPLAY = "127.0.0.1:0.0" => This tells Shell to where it needs to direct the graphical user interace (the firefox page) which in this case is the XLaunch. 127.0.0.1:0.0 is the universal IP address for local host (the computer I am working on) 
 +  - Type in Shell ssh -Y damic2@10.65.117.44 => This connects us with the server. Important: Don’t forget the -Y => This is necessary since ssh can only handle text but we want image / video formats (Firefox), the -Y creates a “video tunnel” inside the connection 
 +  - Finally type firefox& into Shell => This opens the firefox window and we can now view the instrument data 
  
 +Instead of Windows Shell, we can also use PuTTY for faster responses. In this case: 
 +  - Input 10.65.117.44 into IP address
 +  - Under SSH register select "Enable compression"
 +  - In SSH => X11 => Select "Enable X11 forwarding" 
  
device_controll.1778323070.txt.gz · Last modified: by ari