LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-23-2022, 05:04 AM   #1
martin.zeman17@gmail.com
LQ Newbie
 
Registered: May 2022
Location: Veltrusy, Czechia
Posts: 1

Rep: Reputation: 0
What is recommended way to configure Ubuntu for multiple users without monitor and keyboard


Hi,

We want to configure rather powerfull home machine (32 GB RAM, Core i7-10700K) so that 3 users can connect to it from their laptops and simulaneously running their own GUI and tasks. We want to buy RTX 3090 GPU and share it for machine learning, Blender and hopefully even gaming. We want to move the computer outside of rooms where it can produce heat and noise, so no keyboard and monitor will be attached to it. So far we suceeded with installing Ubuntu 22 with proprietary Nvidia (for CUDA) driver on Wayland (for fractional scaling). We have troubles with remote access.

1. VNC . Remmina client can connect to Gnome remote desktop sharing.
1A: It works only for one user at a time.
1B: Scaling of native 4K resolution to FHD on some laptops does not seem optimal.
1C: No sound is transferred.

2. X Forwarding.
2A: Running an app with ssh -X is so slow that a warning messsage is displayed. After hitting Wait button every app always freezes.
2B: Some applications do not work at all (many various erros in terminal).

Do you have any pointers to issues 1A, 1B, 1C, 2A, 2B? Coul some of them be a Wayland related issue? Is there some third options how to achieve our goal? We are rather new to Linux and want to ditch Windows.

Thank you!
Martin Zeman
 
Old 05-23-2022, 08:00 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,403
Blog Entries: 28

Rep: Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166
I don't have any personal experience with this, but a web search for "ubuntu thin client server" will turn up a number of articles and tutorials.

A search for "Linux thin client server" will likely turn up many more. This Wikipedia article looks like a good starting point.
 
Old 05-24-2022, 12:52 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
First of all, you should ask a forum admin to change your username. It's not good to have your email address publicly visible like that.

I think most of what you want to achieve is just a normal Linux setup with remote access (ssh) for multiple users.
I'm not sure how running a graphical session on a headless setup works, but I'm sure it's possible.
I recommend you stick to Xorg for now, simply because more people will be able to help you, there's more articles (X is not wayland!).
You will need a separate account and Xorg session for each user.
Once that is working, I guess ssh -X should work simultaneously for all 3.

This should provide you with search terms and first steps. (e.g. the search term "linux xorg headless" brings me to this article). Let us know how it goes.

Now the rant:
Frankly, I doubt the whole endeavour.
What can you win with remote GUI access? I daresay 99% of it can be achieved with "normal" remote access, and the added 1% are not worth the tenfold bandwidth.

Quote:
Originally Posted by martin.zeman17@gmail.com View Post
We want to configure rather powerfull home machine (32 GB RAM, Core i7-10700K) so that 3 users can connect to it from their laptops and simulaneously running their own GUI and tasks. We want to buy RTX 3090 GPU and share it for machine learning, Blender and hopefully even gaming. We want to move the computer outside of rooms where it can produce heat and noise, so no keyboard and monitor will be attached to it. So far we suceeded with installing Ubuntu 22 with proprietary Nvidia (for CUDA) driver on Wayland (for fractional scaling). We have troubles with remote access.

1. VNC . Remmina client can connect to Gnome remote desktop sharing.
1A: It works only for one user at a time.
1B: Scaling of native 4K resolution to FHD on some laptops does not seem optimal.
1C: No sound is transferred.

2. X Forwarding.
2A: Running an app with ssh -X is so slow that a warning messsage is displayed. After hitting Wait button every app always freezes.
2B: Some applications do not work at all (many various erros in terminal).

Do you have any pointers to issues 1A, 1B, 1C, 2A, 2B? Coul some of them be a Wayland related issue? Is there some third options how to achieve our goal? We are rather new to Linux and want to ditch Windows.
 
1 members found this post helpful.
Old 05-24-2022, 01:00 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,116

Rep: Reputation: 7369Reputation: 7369Reputation: 7369Reputation: 7369Reputation: 7369Reputation: 7369Reputation: 7369Reputation: 7369Reputation: 7369Reputation: 7369Reputation: 7369
you don't even need a video card for that server (see headless setup), you will use the video on the laptops (but obviously you can do that if you wish).
From the other hand without details we cannot help you to troubleshoot your setup. This issue can be network or router related, but also can be just a configuration issue.
 
1 members found this post helpful.
Old 05-24-2022, 01:08 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
TBF he specified he needs the GPUs for computing stuff (CUDA etc.) only.
But it's an important point to make nevertheless.
 
Old 05-24-2022, 01:19 AM   #6
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,905
Blog Entries: 1

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
ISTR, and you may find by searching, that remote desktop computing may be a Wayland weakness, or even absent. There are many things Wayland users can't do well, or at all.

Worth reading before investing too much in Wayland:
https://www.dedoimedo.com/computers/wayland-2021.html
https://www.phoronix.com/scan.php?pa...-Wayland-State
 
1 members found this post helpful.
Old 05-24-2022, 08:36 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,805

Rep: Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003
Quote:
Originally Posted by martin.zeman17@gmail.com View Post
Hi,
We want to configure rather powerfull home machine (32 GB RAM, Core i7-10700K) so that 3 users can connect to it from their laptops and simulaneously running their own GUI and tasks. We want to buy RTX 3090 GPU and share it for machine learning, Blender and hopefully even gaming. We want to move the computer outside of rooms where it can produce heat and noise, so no keyboard and monitor will be attached to it. So far we suceeded with installing Ubuntu 22 with proprietary Nvidia (for CUDA) driver on Wayland (for fractional scaling). We have troubles with remote access.

1. VNC . Remmina client can connect to Gnome remote desktop sharing.
1A: It works only for one user at a time.
1B: Scaling of native 4K resolution to FHD on some laptops does not seem optimal.
1C: No sound is transferred.

2. X Forwarding.
2A: Running an app with ssh -X is so slow that a warning messsage is displayed. After hitting Wait button every app always freezes.
2B: Some applications do not work at all (many various erros in terminal).

Do you have any pointers to issues 1A, 1B, 1C, 2A, 2B? Coul some of them be a Wayland related issue? Is there some third options how to achieve our goal? We are rather new to Linux and want to ditch Windows.
Confused about what you're actually trying to accomplish and why. Because as I'm reading it, you have three laptops already...but want three people to access ONE PC, to run Blender, machine-learning, and gaming, all at once? And you're surprised that it's slow???

Why can't people run their own tasks on their own laptops?? If you're trying to push 4k video/audio to multiple folks at once from one system, your option is to get a MUCH BIGGER SYSTEM; that's it. You don't say what apps you're trying to run with X forwarding over SSH either, or what the 'many errors' are, so there isn't much we can tell you there...you also don't say anything about what 'machine learning' you're running/doing, or what games. You have one machine and three laptops...use them individually. Have a big job to run? Shove it on the larger machine and let it render...you don't need a full desktop.
 
Old 05-24-2022, 06:24 PM   #8
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,706
Blog Entries: 4

Rep: Reputation: 3949Reputation: 3949Reputation: 3949Reputation: 3949Reputation: 3949Reputation: 3949Reputation: 3949Reputation: 3949Reputation: 3949Reputation: 3949Reputation: 3949
If he aims to use Blender, then the hosting computer will need to have a GPU card since the Blender software directly uses it.

You may wish to also post this question to blenderartists.org for specific technical assistance about this setup with regards to Blender.
 
Old 05-24-2022, 11:49 PM   #9
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,116

Rep: Reputation: 7369Reputation: 7369Reputation: 7369Reputation: 7369Reputation: 7369Reputation: 7369Reputation: 7369Reputation: 7369Reputation: 7369Reputation: 7369Reputation: 7369
Quote:
Originally Posted by sundialsvcs View Post
If he aims to use Blender, then the hosting computer will need to have a GPU card since the Blender software directly uses it.

You may wish to also post this question to blenderartists.org for specific technical assistance about this setup with regards to Blender.
that is ok, but it is not required for the clients (remote desktop). So first I would make a working setup with that 3 laptops (xrdp, vnc and others may work) and also I would install blender on that host.
Using that host for remote gaming is not really suggested.
 
Old 05-25-2022, 02:08 PM   #10
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,805

Rep: Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003
Quote:
Originally Posted by pan64 View Post
that is ok, but it is not required for the clients (remote desktop). So first I would make a working setup with that 3 laptops (xrdp, vnc and others may work) and also I would install blender on that host. Using that host for remote gaming is not really suggested.
Agree with both of the last two posts; no reason that Blender can't be used on laptops to get the basic design done, and fling the file to the big system for rendering.
 
Old 05-26-2022, 11:23 AM   #11
MadeInGermany
Senior Member
 
Registered: Dec 2011
Location: Simplicity
Posts: 2,844

Rep: Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222
I think that Citrix Xen Desktop for Linux can make use of the GPU.
It is payware; you can certainly "enjoy" the Citrix support, on the other hand you'll hardly find an open forum for it.
 
Old 05-27-2022, 01:08 AM   #12
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,374

Rep: Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754
Maybe something like this http://ltsp.org/ ?
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Recommended way to install Linux (Debian) on Arm appliance with NAND and SD card? littlebigman Linux - Software 0 03-24-2015 08:44 PM
Multiple Autologins; Multiple Users; Multiple Sessions mrclisdue Linux - Desktop 1 09-26-2007 05:50 AM
Recommended way to partition. Ubuntu 6.10 glore2002 Linux - Software 5 03-22-2007 11:23 AM
Recommended way to build large project jaristr Programming 13 11-11-2006 04:45 PM
Recommended way to install from source code and yet manageable by package system? Akhran Debian 6 03-12-2006 10:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:15 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