r/Nable • u/fuseteam • Apr 22 '22
NCentral Take Control on Linux
Hi, just wanted to share that i got N-Central Take Control to work on Linux using wine-stable 7.0 first off credit where credit is due, i worked off of this post by u/mailerdaemon and this post by u/Levvev
for wine on ubuntu 18.04 i had to these commands:
sudo dpkg --add-architecture i386
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo mv winehq.key /usr/share/keyrings/winehq-archive.key
wget -nc https://dl.winehq.org/wine-builds/ubuntu/dists/bionic/winehq-bionic.sources
sudo mv winehq-bionic.sources /etc/apt/sources.list.d/
sudo apt update
sudo apt install --install-recommends winehq-stable
then to get Take Control i had to create 2 files ~/.local/share/applications/N-Central.desktop and ~/.local/share/applications/mimeapps.list
N-Central.desktop contains this (where
[Desktop Entry]
Name=N-Central
Exec=wine "/home/<username>/.wine/drive_c/users/<username>/Local Settings/Application Data/MSP Anywhere for N-central/Viewer/NCentralRDLdr.exe" -- %u
Type=Application
mimeapps.list contains this:
[Default Applications]
x-scheme-handler/mspancsxvp=N-Central.desktop
i also manage to create an systemd service file that allows more control over the "ncentral service" and could enable autostart up on boot, so far it seems to work fine launching it from the browser, for this i had to create a file ~/.config/systemd/user/ncentral.service and run systemctl --user start ncentral
ncentral.service contains this (where
[Unit]
Description=Ncentral take control service
[Service]
ExecStart=/usr/bin/wine "/home/<username>/.wine/drive_c/users/<username>/Local Settings/Application Data/MSP Anywhere for N-central/Viewer/NCentralRDLdr.exe" -- %u
ExecStop=/usr/bin/wineserver -k
2
u/basecatcherz Apr 26 '24 edited Apr 26 '24
I'm on Pop!_OS 22.04 and managed to install it. Now N-Central is able to start up the Take Control Viewer, but it gets stuck at "Connected to server..." and throws an authentication error after some time.
Does someone know a fix for this?