LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-17-2023, 02:40 AM   #1
stylus3530
LQ Newbie
 
Registered: Mar 2018
Posts: 15

Rep: Reputation: Disabled
Which Linux should we use for Display PC


Hi

We have an old system (i3 - 2100, 4GB, 256 GB HD) that we want to continue using.

We want to make this a system that runs on Linux, the system should remain on 24/7, so do not go into sleep mode.

The updates to the system should be done at night, but the system must have a password, so after updating it should be able to log in again automatically.

As soon as the system is logged in, a PowerPoint ppsx should automatically be displayed.

It is also that we should also be able to replace this PowerPoint remotely (from Windows 10) with a new one. I suspect that this should work with TIGHTVNCViewer. We would want to reach the system with the computer name and not with its IP number.

Does anyone have an idea, which version of Linux is best to use for this and how we should set it up?

Thanks in advance.

STYLUS3530
 
Old 11-17-2023, 06:00 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,901

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
I guess any linux can do that, if you can install it on that host. System can be updated automatically without the need to log in, also you can configure passwordless auto login after boot. Replacing a file should not be an issue at all.
 
Old 11-17-2023, 06:40 AM   #3
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,327
Blog Entries: 3

Rep: Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726
Quote:
Originally Posted by stylus3530 View Post
We have an old system (i3 - 2100, 4GB, 256 GB HD) that we want to continue using.

We want to make this a system that runs on Linux, the system should remain on 24/7, so do not go into sleep mode.

The updates to the system should be done at night, but the system must have a password, so after updating it should be able to log in again automatically.

As soon as the system is logged in, a PowerPoint ppsx should automatically be displayed.

It is also that we should also be able to replace this PowerPoint remotely (from Windows 10) with a new one. I suspect that this should work with TIGHTVNCViewer. We would want to reach the system with the computer name and not with its IP number.
As already mentioned, pretty much any desktop-oriented distro will do the job. Though you might want to use the bare minimum of graphical overhead, maybe just a Window Manager and not a full Desktop Environment.

There are several ways of autostarting software and, yes, LibreOffice can even read legacy file formats like the diverse circus of ppsx versions.

For remote access, I'd recommend SFTP instead of VNC since you'd have to tunnel VNC over SSH anyway in order to harden it enough to expose it to the open Internet. SFTP is much easier to set up and, depending on the client software, easier to use. There are even good SFTP clients for legacy systems, such as for Vista10 which you have there. Those include FileZilla and WinSCP, which despite the names or brief descriptions support SFTP very well.

From there, it is possible to have a tool such as incron watch the upload directory for new files and re-launch the presentation automatically.

Reaching the system by name rather than IP number depends on several factors. If the system itself has its own externally accessible address, there are a lot of easy options. If the system does not have its own externally accessible IP address, then there are still a lot of options, just more setup needed. Either way, it can be done. Can you explain a little more about the network topology and how the target system is connected to the net?
 
Old 11-21-2023, 01:57 AM   #4
stylus3530
LQ Newbie
 
Registered: Mar 2018
Posts: 15

Original Poster
Rep: Reputation: Disabled
Hello

First of all sorry for the late response, but I was out for a while due to illness.

Indeed, a minimum graphical environment is sufficient. I am most familiar with Ubuntu, but that was some time ago.
I suspect that it might be easier for me to get back into it with a version of Ubuntu, but which one is actually the best for my purposes?

As for SFTP, I'll have to read up a bit, because I haven't used it yet.

As for having the upload folder checked, that isn't really necessary, as as soon as I change the ppsx I would just restart the computer.

We intend to replace the old Windows 8 license of this system with Linux. The computer used to have its own name(Windows 8) and we could always reach it thru VNC.
A fixed IP for this PC is no problem, but it is in another office/network.

Thanks in advance

STYLUS3530
 
Old 11-21-2023, 02:36 AM   #5
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,327
Blog Entries: 3

Rep: Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726
Quote:
Originally Posted by stylus3530 View Post
I suspect that it might be easier for me to get back into it with a version of Ubuntu, but which one is actually the best for my purposes?
Any of the Ubuntus would be ok, they can all be customized. The lightest out of the gate would be Lubuntu. Though as mentioned you might consider swapping out the Desktop Environment for a plain Window Manager. Openbox and FVWM-crystal are two examples of the latter.
 
Old 11-21-2023, 04:17 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,729

Rep: Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919
If the remote network has a dynamic public IP address you can use a free dynamic dns service like noip to provide a URL. A small program runs on a computer or the router if capable that updates the ip address when it changes.

Using ssh would be the better method using keys and disabling password authentication. You need to be able to forward the ssh port in the router to the display PC. I agree that sftp would be the simplest. I do something similar with PuTTy command line tools with a batch script to upload a file from Windows and then run a bash script on the server but using incron would be easier.

Running vnc over ssh or even a VPN for better security if you really need to is suggested.
 
Old 11-21-2023, 10:33 AM   #7
stylus3530
LQ Newbie
 
Registered: Mar 2018
Posts: 15

Original Poster
Rep: Reputation: Disabled
@ Turbocapitalist & michaelk

So I downloaded Lubuntu and put it on a USB stick, which really took quite a while. After the installation on the system, I now run a ppsx file to test that it certainly does not go into sleep mode. I will try not to touch the PC until Thursday.

My next step will be what I need to install to be able to remotely place a ppsx file on the desktop of the PC and possibly take over control of the PC from a WINDOWS10 PC

There are of course solutions such as anydesk, teamviewer, ..., but which solution is actually free and ideal for this? Also the solution that here were show, I must check, but it must be a simple way to use it.
 
Old 11-21-2023, 10:46 AM   #8
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,327
Blog Entries: 3

Rep: Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726
Quote:
Originally Posted by stylus3530 View Post
My next step will be what I need to install to be able to remotely place a ppsx file on the desktop of the PC ...
As mentioned, SFTP is one of the best ways to go -- especially if you are connecting from another GNU/Linux machine. It's still at the top of the list when connecting from legacy systems which would use FileZilla or WinSCP.

Quote:
Originally Posted by stylus3530 View Post
... and possibly take over control of the PC from a WINDOWS10 PC
SSH would be the way to do that, if you want to stick with professional options. Plus it is part of the SFTP setup above. SSH allows you to connect to the remote system and work via the shell there, which means you can do anything you could have done while physically sitting at it. The shell is actually more flexible and more powerful than the graphical interface for the system, plus it can be automated with virtually no additional effort.

Both SFTP and SSH need the package OpenSSH-server installed and running on the remote system. One recommendation is to learn SSH key based authentication and then turn off password authentication. For that you'll probably want to look at PuTTY for the client. SSH keys are a little harder with PuTTY but once you know the trick it's not a problem.
 
Old 11-21-2023, 11:57 AM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,729

Rep: Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919
TeamViewer is free for personal use. Technically it will work and does not require port forwarding or a dynamic DNS URL.
You also might want to look at NoMachine and X2Go but as far as I know they use a direct connection and therefore you need to use port forwarding and a dyndns URL (I assume no public static IP address).

I believe that most of the free VNC servers are just remote desktops and no built in file transfer.

The advantage of using remote desktop versus my suggestion would be if something didn't work like a broken ppsx file that you could see in real time. Although once configured it should be simple to use.
 
Old 11-23-2023, 05:49 AM   #10
stylus3530
LQ Newbie
 
Registered: Mar 2018
Posts: 15

Original Poster
Rep: Reputation: Disabled
I went for the NoMachine option, which actually works well, the only problem I have is that both on the Linux machine and on my own Windows 10 machine the Belgian Azerty Keyboard is set as default. However, when I connect from Windows to Linux, my keyboard changes to Qwerty? There's probably a setting somewhere, but that's not really a big deal.

In the meantime, I have ensured that Linux can log in directly without a password. Now I just have to make sure that the ppsx file starts up with the computer. I have already tried to set this in the settings(Session startup), but without success.

I suspect that this can also be configured in a config file somewhere? Also, for example, every evening the computer downloads and installs the updates and of course then restarts the computer, but I still have to find out where this should happen.
 
Old 11-23-2023, 06:04 AM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,729

Rep: Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919
Ubuntu has an unattended-upgrades package that can be installed for automatic updates.

I will have to research a bit for desktop autostart with lubuntu.
 
Old 11-23-2023, 06:13 AM   #12
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,901

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
Quote:
Originally Posted by michaelk View Post
Ubuntu has an unattended-upgrades package that can be installed for automatic updates.

I will have to research a bit for desktop autostart with lubuntu.
I gueess it can be specified: 1. boot into GUI mode, 2. auto login.
If required.
 
Old 11-23-2023, 06:49 AM   #13
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,327
Blog Entries: 3

Rep: Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726
Quote:
Originally Posted by michaelk View Post
I will have to research a bit for desktop autostart with lubuntu.
It's the same as with other Desktop Environments, unless you are going raw framebuffer.
 
Old 11-23-2023, 02:42 PM   #14
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,131
Blog Entries: 21

Rep: Reputation: 3477Reputation: 3477Reputation: 3477Reputation: 3477Reputation: 3477Reputation: 3477Reputation: 3477Reputation: 3477Reputation: 3477Reputation: 3477Reputation: 3477
Curious about this all in one?

Code:
inxi -Fxz
 
Old 11-23-2023, 03:39 PM   #15
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,729

Rep: Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919
It might be as easy as putting a script to run in the directory

~/.config/autostart
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Which IP address of mine is my server address and which should I use for signing in to a NextCloud account? Not-a-dictator Linux - Server 1 01-14-2021 09:08 AM
(OpEd) Why you should not use sshd (directly), and what you should use sundialsvcs Linux - Security 3 09-11-2016 04:33 AM
(Building A Server) I want to use Sync Cloud with a server which OS should I Use? Nokiafinland07 Linux - Server 2 10-23-2013 01:47 AM
which repositories should/should not be enabled? openSUSE 11.4 Birdman48 Linux - Newbie 1 01-02-2012 11:42 AM
LXer: 10 considerations why you should/should not use a virus scanner in linux LXer Syndicated Linux News 0 04-04-2009 09:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration