- Joined
- Nov 16, 2002
- Location
- Neenah, WI
Decided to throw something together quick, this How-To is at a very early stage, so excuse the incompleteness. I will update it with screenshots and ensure all steps are correct at some point this coming week, but figured some of you may want to mess with it in the meantime. I did a lot of it from memory, so bear with me lol
Download the Desktop iso for Ubuntu 22.04 from https://releases.ubuntu.com/22.04/
Download and run rufus https://rufus.ie/en/ NOTE: Kyle has informed me that BalenaEtcher is an easier boot creator, I'll use this when I go through the install this week and update**
Plug in usb drive
Open Rufus, select the iso, ensure the usb drive you’re using is selected.
Click START
On the machine your installing linux on, boot to the USB drive. Note: these may not be in the right order, will update soon.
Select 'Try or Install Ubuntu':
Select 'Install Ubuntu':
Click 'Continue':
Enter wireless key if you’re connecting through wifi
Select 'Minimal Installation' and click 'Continue':
If there is only one hard drive / nvme / ssd, click 'Install Now'. If you are dual booting / there are multiple drives, select something else and configure hard drive. I don't have screenshots of this at the moment, I will grab some and update this next time I run into it:
Click Continue:
Enter info in the Who are you? screen. Select 'Log in Automatically' and click 'Continue':
Let Ubuntu Install:
Click 'Restart Now':
It will prompt you to remove the install USB drive and hit 'Enter' to finish rebooting.
Clcik Skip on connect your online accounts screen:
Click 'Skip for Now' and 'Next' on the Enable Ubuntu Pro screen:
Click 'Next':
'Next':
Ready to go should show, you can hit 'Done'. If the 'Software Updater' pops up, click 'Install Now':
Click 'Install Now':
Click that you do not want to upgrade to Ubuntu 24.
Open Ubuntu Software, click 'Updates', click 'Update All':
Note, Snap Store will not update
I usually install NoMachine at this point so I can do everything else from my main computer. For install instructions, see the section about NoMachine below.
Install nVidia Drivers:
Click ‘Show Applications’ button:
Open ‘Software & Updates’:
Click ‘Additional Drivers’:
Select 'Using NVIDIA Server Driver metapackage from nvidia-driver-535-server (proprietary)' and click 'Apply Changes'. To use NVIDEA xServer config for fan control, select 550:
(Note: I need to do further testing, but I’m quite certain performance is better with 535 drivers vs 545, however, 550 may be just as fast but I need to verify.)
Reboot.
Install python2.7:
Open terminal and type the following (you may need to type Y for yes at some points):
sudo apt update
when that is complete, type:
sudo apt install python2
Type y and hit enter to continue:
when that’s complete, verify the version by typing:
python2 –V
It should display something like “Python 2.7.18”:
Reboot
Install F@H:
Open ‘Ubuntu Software’:
Search for folding and install (fcole90’s snap)
Click on Folding@Home:
Click 'Install':
If your gpu slots show disabled do the following (you will likely need to do this every time you reboot, as your gpu slots will likely be disabled):
Close FAHControl if you have it open.
Click ‘Show Applications’ button:
Open ‘System Monitor’:
Click ‘Processes’ if it’s not already selected.
Click the menu and select ‘All Processes’ (you will only need to do this the first time):
Find FAHClient in the list, if you have FAH cores, then it should be working already, if not, right click and click ‘Kill’:
FAHClient should disappear then show up again, and you’ll see the core(s) and corewrapper(s) pop up in the list too.
Now open F@H control and everything should be working.
Other quality of life stuff:
Set time
Open Settings from applications, then click 'Privacy':
Click 'Screen', set 'Blank Screen Delay' to 'Never' and turn off 'Automatic Screen Lock':
Remote Desktop:
For remote desktop, nomachine was the easiest to get running.
https://www.nomachine.com/
Install on ubuntu machine and your windows machine. It works well.
How to install on ubuntu:
Go to https://www.nomachine.com
Click Download:
Select amd64 debian package:
Click 'Download':
Open destination folder:
Right click and click 'Open with other application'
Select 'Software Installer' and click 'Select:
Click 'Install':
Now to connect to the remote machine, Open NoMachine on your windows machine, it should find the Ubuntu computer. Double click on it.
Input your connection info, select 'Save this password in the connection file' and 'Always login using this method on this server':
Click 'OK' and you should be connected now!
You will need a monitor connected for remote desktop to work properly. You can force install a usb driver on windows but it's tempormental if you reboot or connect a monitor and needs to be done through the command prompt. Never messed with it in ubuntu as it was a big enough pita for windows.
We solved this by getting HDMI monitor emulators. These work great. When need to work on the computer directly, I just unplug and plug in monitor, and when done, swap back. You can leave them in when connecting a monitor but the mouse gets lost on the 'second screen' sometimes so i just swap.
Here are the ones we bought:
nVidia overclocking:
Note: only works with one video card, if you have 2, it will only allow you access to 1.
Here’s how to install GreenWithEnvy:
https://www.omgubuntu.co.uk/2023/10/greenwithenvy-ubuntu-install-nvidia-gpu
Run the following in Terminal:
sudo apt install flatpak
Then:
flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Then:
flatpak install flathub com.leinardi.gwe
Then:
sudo nvidia-xconfig --cool-bits=12
Now reboot. You should be able to open GreenWithEnvy now.
Nvidia X Server settings – Enable Fan Control
If you’re running multiple GPUs and want to be able to control fans on all of them without doing it through the Terminal, here’s how:
https://askubuntu.com/questions/1411667/unable-to-control-nvidia-fan-speed
Edit the file: /./etc/X11/Xwrapper.config:
Steps:
NOTE: These are case sensative
cd /./etc/X11/
sudo -s [because you need root access]
gedit Xwrapper.config &
add the line needs_root_rights=yes before allowed_users=console.
Therefore the Xwrapper.config file will be:
# Xwrapper.config (Debian X Window System server wrapper configuration file)
#
# This file was generated by the post-installation script of the
# xserver-xorg-legacy package using values from the debconf database.
#
# See the Xwrapper.config(5) manual page for more information.
#
# This file is automatically updated on upgrades of the xserver-xorg-legacy
# package *only* if it has not been modified since the last upgrade of that
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command as root:
# dpkg-reconfigure xserver-xorg-legacy
needs_root_rights=yes
allowed_users=console
Reboot
Now you can open NVIDIA X Server from applications screen:
Click Thermal Settings, then “Enable GPU Fan Settings” and you can move the sliders:
*Note: this worked for me, but after I rebooted recently, I can no longer change fan settings, I will update this when I figure out why.
Update:
A workaround is to launch x settings via the terminal as root:
sudo nvidia-settings
This will allow you to make changes to fan settings and overclock. I believe you do need coolbits set to 12 (see greenwithenvy install section). I will flush this out further in the future, hoping greenwithenvy won't be required.
Other Useful Stuff
List Nvidia driver / hardware info:
Open Terminal and type:
nvidia-smi
Run fah as root
If FAHClient is not running (and you’ve selected ‘All Processes’ in System Monitor), here’s how to launch F@H as root (it must be run as root or it will not work). You shouldn't need to do this outside of rare circumstances.
Sudo fah-client-fcole90
One last note, when changing directories in Terminal, it is case sensative. I hate to admit it, but this tripped me up a few times lol.
For Temp Monitoring open Ubuntu Software, search and install 'psensor'
E
Download the Desktop iso for Ubuntu 22.04 from https://releases.ubuntu.com/22.04/
Download and run rufus https://rufus.ie/en/ NOTE: Kyle has informed me that BalenaEtcher is an easier boot creator, I'll use this when I go through the install this week and update**
Plug in usb drive
Open Rufus, select the iso, ensure the usb drive you’re using is selected.
Click START
On the machine your installing linux on, boot to the USB drive. Note: these may not be in the right order, will update soon.
Select 'Try or Install Ubuntu':
Select 'Install Ubuntu':
Click 'Continue':
Enter wireless key if you’re connecting through wifi
Select 'Minimal Installation' and click 'Continue':
If there is only one hard drive / nvme / ssd, click 'Install Now'. If you are dual booting / there are multiple drives, select something else and configure hard drive. I don't have screenshots of this at the moment, I will grab some and update this next time I run into it:
Click Continue:
Enter info in the Who are you? screen. Select 'Log in Automatically' and click 'Continue':
Let Ubuntu Install:
Click 'Restart Now':
It will prompt you to remove the install USB drive and hit 'Enter' to finish rebooting.
Clcik Skip on connect your online accounts screen:
Click 'Skip for Now' and 'Next' on the Enable Ubuntu Pro screen:
Click 'Next':
'Next':
Ready to go should show, you can hit 'Done'. If the 'Software Updater' pops up, click 'Install Now':
Click 'Install Now':
Click that you do not want to upgrade to Ubuntu 24.
Open Ubuntu Software, click 'Updates', click 'Update All':
Note, Snap Store will not update
I usually install NoMachine at this point so I can do everything else from my main computer. For install instructions, see the section about NoMachine below.
Install nVidia Drivers:
Click ‘Show Applications’ button:
Open ‘Software & Updates’:
Click ‘Additional Drivers’:
Select 'Using NVIDIA Server Driver metapackage from nvidia-driver-535-server (proprietary)' and click 'Apply Changes'. To use NVIDEA xServer config for fan control, select 550:
(Note: I need to do further testing, but I’m quite certain performance is better with 535 drivers vs 545, however, 550 may be just as fast but I need to verify.)
Reboot.
Install python2.7:
Open terminal and type the following (you may need to type Y for yes at some points):
sudo apt update
when that is complete, type:
sudo apt install python2
Type y and hit enter to continue:
when that’s complete, verify the version by typing:
python2 –V
It should display something like “Python 2.7.18”:
Reboot
Install F@H:
Open ‘Ubuntu Software’:
Search for folding and install (fcole90’s snap)
Click on Folding@Home:
Click 'Install':
If your gpu slots show disabled do the following (you will likely need to do this every time you reboot, as your gpu slots will likely be disabled):
Close FAHControl if you have it open.
Click ‘Show Applications’ button:
Open ‘System Monitor’:
Click ‘Processes’ if it’s not already selected.
Click the menu and select ‘All Processes’ (you will only need to do this the first time):
Find FAHClient in the list, if you have FAH cores, then it should be working already, if not, right click and click ‘Kill’:
FAHClient should disappear then show up again, and you’ll see the core(s) and corewrapper(s) pop up in the list too.
Now open F@H control and everything should be working.
Other quality of life stuff:
Set time
Open Settings from applications, then click 'Privacy':
Click 'Screen', set 'Blank Screen Delay' to 'Never' and turn off 'Automatic Screen Lock':
Remote Desktop:
For remote desktop, nomachine was the easiest to get running.
https://www.nomachine.com/
Install on ubuntu machine and your windows machine. It works well.
How to install on ubuntu:
Go to https://www.nomachine.com
Click Download:
Select amd64 debian package:
Click 'Download':
Open destination folder:
Right click and click 'Open with other application'
Select 'Software Installer' and click 'Select:
Click 'Install':
Now to connect to the remote machine, Open NoMachine on your windows machine, it should find the Ubuntu computer. Double click on it.
Input your connection info, select 'Save this password in the connection file' and 'Always login using this method on this server':
Click 'OK' and you should be connected now!
You will need a monitor connected for remote desktop to work properly. You can force install a usb driver on windows but it's tempormental if you reboot or connect a monitor and needs to be done through the command prompt. Never messed with it in ubuntu as it was a big enough pita for windows.
We solved this by getting HDMI monitor emulators. These work great. When need to work on the computer directly, I just unplug and plug in monitor, and when done, swap back. You can leave them in when connecting a monitor but the mouse gets lost on the 'second screen' sometimes so i just swap.
Here are the ones we bought:
nVidia overclocking:
Note: only works with one video card, if you have 2, it will only allow you access to 1.
Here’s how to install GreenWithEnvy:
https://www.omgubuntu.co.uk/2023/10/greenwithenvy-ubuntu-install-nvidia-gpu
Run the following in Terminal:
sudo apt install flatpak
Then:
flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Then:
flatpak install flathub com.leinardi.gwe
Then:
sudo nvidia-xconfig --cool-bits=12
Now reboot. You should be able to open GreenWithEnvy now.
Nvidia X Server settings – Enable Fan Control
If you’re running multiple GPUs and want to be able to control fans on all of them without doing it through the Terminal, here’s how:
https://askubuntu.com/questions/1411667/unable-to-control-nvidia-fan-speed
Edit the file: /./etc/X11/Xwrapper.config:
Steps:
NOTE: These are case sensative
cd /./etc/X11/
sudo -s [because you need root access]
gedit Xwrapper.config &
add the line needs_root_rights=yes before allowed_users=console.
Therefore the Xwrapper.config file will be:
# Xwrapper.config (Debian X Window System server wrapper configuration file)
#
# This file was generated by the post-installation script of the
# xserver-xorg-legacy package using values from the debconf database.
#
# See the Xwrapper.config(5) manual page for more information.
#
# This file is automatically updated on upgrades of the xserver-xorg-legacy
# package *only* if it has not been modified since the last upgrade of that
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command as root:
# dpkg-reconfigure xserver-xorg-legacy
needs_root_rights=yes
allowed_users=console
Reboot
Now you can open NVIDIA X Server from applications screen:
Click Thermal Settings, then “Enable GPU Fan Settings” and you can move the sliders:
*Note: this worked for me, but after I rebooted recently, I can no longer change fan settings, I will update this when I figure out why.
Update:
A workaround is to launch x settings via the terminal as root:
sudo nvidia-settings
This will allow you to make changes to fan settings and overclock. I believe you do need coolbits set to 12 (see greenwithenvy install section). I will flush this out further in the future, hoping greenwithenvy won't be required.
Other Useful Stuff
List Nvidia driver / hardware info:
Open Terminal and type:
nvidia-smi
Run fah as root
If FAHClient is not running (and you’ve selected ‘All Processes’ in System Monitor), here’s how to launch F@H as root (it must be run as root or it will not work). You shouldn't need to do this outside of rare circumstances.
Sudo fah-client-fcole90
One last note, when changing directories in Terminal, it is case sensative. I hate to admit it, but this tripped me up a few times lol.
Post magically merged:
For Temp Monitoring open Ubuntu Software, search and install 'psensor'
E
Attachments
Last edited: