General > General Technical Chat
Accessing a "headless" linux "server" from a webbrowser on a LAN?
<< < (3/3)
The Soulman:

--- Quote from: zilp on January 03, 2024, 09:41:34 pm ---
--- Quote from: The Soulman on January 03, 2024, 09:17:03 pm ---VNC it is, will have to investigate further on what hardware and OS to use, pi or pc/thinclient (rpi4 or 5 with dual rs232 hat look tempting because how easy it is to create a boot-able image with pi-imager and the small form factor and easy to power).

I want to do some remote data-logging were I don't want or need to touch the setup for weeks and can remotely (via lan not wan) login to the desktop to see how things are going.

--- End quote ---

Then don't use VNC. Seriously, the idea that you want to access "the desktop" is a very Windows-centric approach, that is not how you use unixoid servers, you typically use such servers via SSH access to the shell, "the desktop" is not a central component of the system like it is on Windows.

I mean, unless you have to use some specific software that is necessarily GUI-based, of course, but it seems to me like you are trying to apply Windows patterns to Linux, and chances are that that'll just cause you pain.

--- End quote ---

As mentioned in my first post my primary use for it are gui based data-logging programs such as test-controller and pico-log and attached to various pieces of test equipment, as opposed to a full windows desktop machine cluttering up the bench and running that 24/7 (between updates and the auto re-numbering of virtual comm-ports etc..). I already use a (windows) laptop for 99% of all the other things so why not use that to access a small headless computer when required.

https://www.eevblog.com/forum/testgear/program-that-can-log-from-many-multimeters/

I grew up with windows 3.1 and later 95, only used dos for installing and loading (gui based) programs.
On windows 10 I've started using the command line for some things because the (graphical) user interface is broken in some spots.  :palm:
Another reason to start to move away from windows..
But yeah I do prefer a graphical user interface for most if not all computing tasks.  :)

 
The Soulman:

--- Quote from: shapirus on January 03, 2024, 10:06:56 pm ---take a look at https://www.home-assistant.io/

--- End quote ---

Cool, but I'm not sure if that does what I want?
Mind you I despise anything that is claiming to be "smart" I've purchased my first "smart"-phone only months ago and would like to change the name "smart" to cheeky.
The Soulman:

--- Quote from: mendip_discovery on January 03, 2024, 10:11:27 pm ---So I would use a Pi and install,
https://github.com/PhilippCo/meas_rpi
By a member on here.

Raspberry offer a headless install option and it is fairly easy to use.

Use Python or Jupyter to do the logging and then use the data the way you want. I even have grafana running on a Pi show my data. All I do is access via SSH aka command prompt when I need to do nerdy stuff otherwise it's in a browser window. There is plenty of documentation and assistance out there.

--- End quote ---

Do I understand correctly that it only supports the NI usb-gbib NS adapter (clone..) and LXI-enabled instruments?

I plan to use a few meters with serial output (owon xdm2041) and at least one via gpib (keithley 192 with arduino based ar488 adapter https://www.eevblog.com/forum/projects/ar488-arduino-based-gpib-adapter/).
shapirus:

--- Quote from: The Soulman on January 03, 2024, 10:49:58 pm ---
--- Quote from: shapirus on January 03, 2024, 10:06:56 pm ---take a look at https://www.home-assistant.io/

--- End quote ---

Cool, but I'm not sure if that does what I want?
--- End quote ---
I'm not sure either, that's just some food for thought.

It obviously won't work as a drop-in replacement for a remote desktop or VNC session. However, the approach of having a server with a web interface via which data from multiple sensors and devices can be accessed is worth considering. I believe it can be done with home assistant. And don't be confused by the buzzwords, cloud offerings etc. It's all FOSS and can be self-hosted. Large community (so docs, tutorials etc.) as well.
SiliconWizard:
If you want a web interface, you can have a look at cockpit: https://cockpit-project.org/
Navigation
Message Index
Previous page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod