MX-packageinstaller wont start as root and if i run it as a user on the remote machine the authentication window cant be drawn.
If i run synaptic as root, X forwarding from the remote machine, it lists no upgrades.
I know the remote machine needs upgrades to be current because im running an MX linux desktop machine that has different versions of, for instance, the kernel.
So, anyway to upgrade the remote machine over ssh X forwarding without actually being logged in and in front of it with monitor, mouse and keyboard?
Or just being able to remotely upgrade it from the command line during an ssh login without x forwarding would be great too.
Thanks
How do i upgrade a remote machine over ssh X forwarding? [Solved]
Re: How do i upgrade a remote machine over ssh X forwarding? [Solved]
Code: Select all
sudo apt update
Code: Select all
sudo apt upgrade
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB
Re: How do i upgrade a remote machine over ssh X forwarding?
Thanks, i appreciate the quick reply. I was thinking something like that but was afraid that it might lead to trouble with the installer not using official mx linux repos.
Re: How do i upgrade a remote machine over ssh X forwarding?
I have an old MX-16 install where this works:
I don't have a recent MX version available via ssh at the moment to test whether that still works.
Code: Select all
dbus-launch sudo /usr/bin/mx-packageinstaller
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB
Re: How do i upgrade a remote machine over ssh X forwarding?
The first method worked nicely thank you.
Logging in as a user and trying the second method returned this:
"[sudo] password for $USER:
X11 connection rejected because of wrong authentication.
qt.qpa.xcb: could not connect to display localhost:11.0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
Aborted"
Logging in as a user and trying the second method returned this:
"[sudo] password for $USER:
X11 connection rejected because of wrong authentication.
qt.qpa.xcb: could not connect to display localhost:11.0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
Aborted"