Skip to content

u/VirusABC

In this archive from Jul 2021 to Jul 2023

1
posts
37
comments
0
media
129
score

Based on the error message, maybe switching from SDDM to another display manager would solve your problem? Personally I use ThinLinc (a NoMachine alternative) and its documentation alerts about some display managers that will not work with the ThinLinc server application (SDDM was on the list if I'm not wrong). In my case, switching SDDM to LightDM got remote access with ThinLinc working. I'm not sure if ThinLinc updated in order to work with Wayland environments, but I think that it is still X11 only.

1 points

you want to streamception (stream your stream) to be able to play your xbox remotely? Steamlink is able to not only stream your Steam game, but it also can stream your full desktop... maybe you can try to add your Xbox app as one of your Steam games or just close the "Big Screen" to reach full desktop and open your Xbox App. Remember that it will add latency to your connection that neither your Xbox neither SteamLink are aware of, so, maybe it will not be the better experience... I guess that you'll have to try it for yourself (I'm not sure if it will work, but maybe it is a way).

1 points

If the machines that you're trying to reach are running Linux (I guess that they are since your personal laptop is running Ubuntu), then I'd recommend ThinLinc. It saved me during covid lockdown when I had to work from home and I had to share a linux laptop with my wife and nephew. Our wi-fi network by that time had very poor signal in some rooms, still I could work remotely as if I was sitting right in front of the remote machine. It will not depend on your local monitor being connected and will prevent your kid to move your mouse/hit your keyboard and mess with your active session, because it creates an independent remote session for each connected user.

It is very simple to setup for accessing machines on same network. Just one recommendation: Snap software have some problems when using remotely (unless your remote access is just mirroring the local screen). So, if you see some applications not working remotely, try switching for a non-snap alternative (Firefox for example on Ubuntu is Snap by default.)

1 points

We use the good old SSH server on a machine as a remote access server. We have an IP address to spare with that :D (obviously it has some hardening to prevent attacks)

1 points

Assuming that you already has VNC working except for your 3D Application, If your 3D Application is using OpenGL (not Vulkan), you may try VirtualGL to make use of your GPU through VNC (VirtualGL should work together TurboVNC or TigerVNC). If this helps you, you can also try VirtualGL with ThinLinc, which is based on VNC, but has better responsiveness, picture quality and also features sound redirection.

If you want to stick with mirroring local display, maybe Moonlight/Sunshine will be a better option to you.

1 points

Nomachine's free version only mirrors the remote screen and for the same reason only allows one user at a time. The paid version seems to have the "headless multiple user" feature, but I never tested that to see how it compares.

ThinLinc's free version instead allows for up to 10 simultaneously connected sessions and works headless. The con of ThinLinc comparing to Nomachine is that the virtual session can have OpenGL hardware acceleration from server's GPU if you use VirtualGL, but you can't get GPU acceleration for Vulkan software (at least for now).

1 points

Maybe ThinLinc will do the work for you. The only problem is that Snap software will get you mad when you try to run them from any remote desktop software that creates a virtual desktop session. But if you can switch from snap to flatpak, it should run fine. Here's a guide for installing it on Ubuntu, it's pretty simple (despite that default Snap software won´t work and you would have to install the Flatpak version)

https://averagelinuxuser.com/thinlinc/

1 points

I guess that there are two main ways of configuring VNC: one that shares local screen (and needs a local screen/dummyplug/virtualmonitor) and another that creates an independent virtual screen for each remote VNC user, that should work better for headless servers.

I used VNC in the past in the second method, but since I was using openSUSE, Yast simplified all the configuration for me... The screen resolution matched what my client asked for. Maybe there's a tutorial for your distro regarding these VNC methods...

But then I found something that is based on VNC, worked a lot better and it was a lot easier to setup: ThinLinc. Is from the maintainers of TigerVNC (one of VNC's fork that is default VNC server on many distros) with a lot of added features, such as sound redirection and encryption. With ThinLinc server running on your server, you will just need to install the client on your machines and use it to connect to your server, no need to have a monitor attached since it creates a virtual desktop that matches client's resolution (and is resizeable to match the client's window. Also works fine if client has multiple monitors.

1 points

You can also try ThinLinc. I've tested it with an AWS VPS and worked fine, as if I was sitting in front of the remote machine. It seems that AUR has a package for the server and ThinLinc has a tar.gz for the client, but I think that there's a flatpak version of the client also (se.cendio.tlclient).

Depending on your VPS network, you will have to configure your HOST_ALIASES parameter on ~/.thinlinc/tlclient.conf (for example: on my AWS VPS I had to set the machine's "local IP" pointing to the Amazon's provided URL for my machine).
Example:
HOST_ALIASES=172.X.Y.Z:22=ec2-blablabla.compute.amazonaws.com:22

Where 172.XYZ was the ip that my VPS reported on "ip a" command.

2 points

Which distro do you prefer to manage? Because with ThinLinc, you can install it in almost any distro and easily provide independent remote desktop session for your team. They'll have a remote desktop session on the distro that you choose. I guess that if you installed it, people you ask you for support, so, get the distro that you like or feel comfortable. You can also install different Desktop Environments, so users would have the option to choose their own desktop environment on login. I guess that for now, the only limitation of ThinLinc is that some desktop manager may not work fine (go with lightdm, it works fine) and the DE has to be X11, I'm not sure if they already have something around wayland.

Just a tip: try to avoid Ubuntu or any other distros that are forcing users to use Snap software, because Snap software are problematic when using remote desktop software. If you want to insist on Ubuntu, switch your snap apps for the flatpak alternatives.

I use openSUSE myself, but Debian or Linux Mint should work fine.

With ThinLinc, you just need to install the ThinLinc Server on the machine that you want to share and the clients install ThinLinc Client and connect to the remote machine. It should be ready and running in few clicks if your clients are on the same network.

If your server machine is behind a NAT and your clients are away from your network, there's an additional setup that they will have to do: create a SSH Tunnel or use some kind of VPN and configure HOST_ALIASES parameter on thinlinc's client configuration file (or registry on windows)

Edit: You didn't mention how many people are going to access your server... ThinLinc is free for up to 10 simultaneously running sessions. If you want more users you have to pay a small fee based on the number of concurrent sessions.

2 points

It does let you log into an existing ThinLinc session, but I'm not sure if it can catch your existing local session remotely, maybe someone at ThinLinc forums can answer this question for you

But I'm also a former x2Go user that moved to ThinLinc and found it to be a lot more stable. I don't think that it is a lot more complicated to install, it seemed pretty straight forward to me. The only thing that I needed to configure and took me a while to figure out was how to use it through a SSH Tunnel, but on LAN it is mostly straight forward.

1 points

Then what you want is... SSH? :D
You may use whatever terminal you want on your distro (or even on Windows or Mac), and when you connect using SSH, the terminal will be the same, showing the output from the remote machine's terminal.

Or maybe you're mistaking terminal with shell. Terminal is the program that you use to access the shell, which is the program that will receive and execute commands. I'm confused now, I thought that you wanted to run a program on your VM (such as firefox) as if it was running on your host machine. But if you want just a terminal, SSH into your VM.

You know that you can run "ssh user@ip command" to make SSH run a single command and exit, right?

1 points

Hi

What do you mean you need different config? Wouldn't be enough that each user has their own user account and set it up the way they want?

I'm not sure if I got it right, but it seems that maybe you want to setup your VNC to give each user an independent user session, but it is set to throw the remote users to the same session. VNC server can be configured to share the local session or create an independent virtual desktop session for each user.

If that's the case, maybe ThinLinc would work for you. ThinLinc is a VNC based remote desktop software that is built to give each user their own independent desktop session or run a single application remotely. It is another tool from the TigerVNC's maintainers. It is not fully opensource, but it is completely free for up to 10 concurrent user sessions. And it has a lot of improvements if you compare it to pure VNC servers, such as more security features, better image quality and also has sound redirection by default. The out-of-box experience would give each user their own independent user desktop session and seems to fit your needs.

1 points

I use X11 forwarding only for some simple and quick tasks that do not require quality or responsiveness (or if I'm desperate :D)

I think that if you really want more quality running applications from a remote machine, you'd better try other remote access software. I use ThinLinc for this, it even allows you to choose between running a single software or an independent full desktop session that is not a just a mirror of what is happening at the remote screen. It works great with minimum bandwidth and even on high latency scenarios. It is free for up to 10 simultaneously connected users and fully featured. I think that NoMachine's free version for example only allows you to mirror remote screen, not starting an independent session (at least I couldn't find this option on the free version yet, it is installed here on my machine). X2Go is based on previous NX libs and will work close to what ThinLinc does, but if you compare picture quality between the three mentioned, ThinLinc wins.

Regarding FPS: when using either X11 Forwarding, ThinLinc, NoMachine or X2Go or other similar, it is normal that you will lose some frames because of the way they draw the frames. Unfortunately, Image quality is the opposite to Frames per second in this case. If you need faster FPS, then you should look for a "gaming oriented" remote access software such ass moonlight/sunshine or steam link... I've made a video once that you can see the difference between better image quality and faster fps - https://youtu.be/aiLB0-Jbwlw?t=1158

1 points

ThinLinc has a client for MacOS and it has nice responsiveness, audio redirection and maybe the best picture quality you can get from a remote desktop. It works fine on headless servers and can host simultaneous multisession users. Keep in mind that some remote access software will only mirror the local session won't run on a completely headless server.

You can even get OpenGL games running with hardware acceleration from host with VirtualGL as I did here: https://youtu.be/aiLB0-Jbwlw

There's just one thing about gaming: ThinLinc aims for the best picture quality, not Frames per second... So, in the video, you see me using Steam Link to improve gaming by balancing faster FPS in exchange for less picture quality.

Another hint: Snap softwares will likely refuse to run under remote access because... snap... And Ubuntu is full of those snap softwares for many things such as Firefox... To fix it, be sure to replace them with their flatpak alternative or manually install a native .deb to get rid of those Snap softwares.

Here's a installation walkthough on Ubuntu if you want to check if it will do the job for you - https://averagelinuxuser.com/thinlinc/ . I've been using it at home and work since 2020 and it was the best remote access experience I got.

2 points

The easiest way for what you need to do I think would be MeshCentral: Create a free account on their free server, get the installer and run on your dad's computer... Then you would be able to interact with it from MeshCentral's website.

Keep in mind that it is not the best image quality and responsiveness, but will be the most straightforward process to get it working without the hassle of configuring network access so you can reach his computer from other networks (over the internet).

If you would need a better responsiveness and better image quality for this, I'd recommend ThinLinc, but you would need to configure some more things to be able to reach his computer when you're away... it is not that hard, I think that ZeroTier and some settings would be enough, but still you would need to deal with this network access.

Sorry for your loss

1 points

I know, VNC isn't known for the best default security measures... But instead, ThinLinc client-server connection is encrypted through SSH and you can also make use of ssh public keys instead of only passwords and even two-factor authentication and One-time passwords as described here - https://community.thinlinc.com/t/how-to-set-up-one-time-password-otp-authentication-in-thinlinc/409

To tell you the truth, I still need to test the zero-tier myself, but it should work. What I do use for now is a SSH tunnel to reach a machine public accessible that can tunnel my thinlinc connection to my server running behind a NAT, but I also tested this SSH Tunnel once with a reverse tunnel and worked (it is possible to create a service that keeps a reverse SSH connection open to somewhere that you can access from all around the globe).

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.