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

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #27712
    Avatareric.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
    Avatarbrotech
    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
    Avatareric.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
    Avatareric.duveau
    Participant

    @brotech Thanks

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.