A successful story in setting up NoMachine with Nvidia driver on AWS

Forum / NoMachine for Linux / A successful story in setting up NoMachine with Nvidia driver on AWS

Tagged: , ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #27712
    eric-duveau
    Participant

    Hi

    I would like to share my experience in installing a “shadow pc” with Ubuntu 18.04 as guest OS.

    You’re interested in this I will tell you more.

    Here is my successful recipe :

    On the AWS server:

    sudo apt update

    wait two minutes after the end of the update

    sudo apt install pulseaudio pavucontrol ubuntu-desktop mate mesa-utils glmark2 libopenal1
    sudo passwd ubuntu
    sudo apt upgrade

    On my PC on Ubuntu 20.04:

    get the lastest version of NoMachine on the web site

    cd /directory/where/the/package/was/downloaded
    sudo apt install ./nomachine_6.10.12_1_amd64.deb

    scp -i .pem nomachine_6.10.12_1_amd64.deb ubuntu@:/tmp

    On the AWS server:

    sudo apt install /tmp/nomachine_6.10.12_1_amd64.deb
    sudo reboot
    
    sudo apt install lightdm
    sudo reboot
    
    sudo systemctl get-default
    sudo systemctl isolate graphical.target
    ps aux | grep X | grep -v grep
    glxinfo | grep -i "opengl.*version"
    nvidia-xconfig --preserve-busid --enable-all-gpus
    sudo systemctl isolate multi-user.target
    sudo systemctl isolate graphical.target
    sudo reboot 

    Here you should have a fully functional Ubuntu gaming PC

    glxinfo | grep -i "opengl.*version"
    ubuntu@ip-172-31-10-147:~$ glxgears

    Running synchronized to the vertical refresh. The framerate should be approximately the same as the monitor refresh rate.

    12969 frames in 5.0 seconds = 2592.448 FPS
    13946 frames in 5.0 seconds = 2788.973 FPS
    13696 frames in 5.0 seconds = 2739.193 FPS

    glmark2 Score: 2399

    #27729
    brotech
    Participant

    This step:
    “get the latest version of NoMachine on the web site”

    can be done using the command as:

    wget https://download.nomachine.com/free/linux/64/deb -O nomachine.deb

    it will download the most recent deb package.

    #27732
    eric-duveau
    Participant

    Just after :

    > sudo apt install /tmp/nomachine_6.10.12_1_amd64.deb

    Don’t forget to install the nvidia proprietary drivers

    > sudo ubuntu-drivers autoinstall

    #27756
    eric-duveau
    Participant

    @brotech Thanks

    #28650
    brotech
    Participant

    Hello,
    the url to download recent package has been changed, now it is:

    https://www.nomachine.com/free/linux/64/deb
    

    Replaced ‘download’ by ‘www’. So, full command now is:

    wget https://www.nomachine.com/free/linux/64/deb -O nomachine.deb
    
Viewing 5 posts - 1 through 5 (of 5 total)

This topic was marked as solved, you can't post.