############################################################################ # NoMachine (remote desktop) # # https://www.nomachine.com # https://www.nomachine.com/getting-started-with-nomachine # # VERSION: 2019.05.08.0001 # ############################################################################ ############################################################################ # On the server ############################################################################ #============================================================================ # On your server - Linux system (assume CentOS/RHEL). #============================================================================ # # Install pkgs (some are optional, but this all works). # yum -y install xorg-x11-server-Xvfb.x86_64 xorg-x11-fonts-Type1 yum -y groupinstall "GNOME Desktop" "Server with GUI" "System Administration Tools" "System Management" #this maybe a downloaded RPM, instead of via the repo, adjust as needed. yum -y install nomachine || \ yum -y install nomachine_6.6.8_5_x86_64.rpm # Extras (ones I want/like) yum -y install \ meld kompare diffuse tkdiff ansible tree redhat-lsb-core bind-utils \ VirtualBox mlnx-ofa_kernel-4.3-OFED \ gnome-backgrounds.noarch \ f22-backgrounds-mate.noarch f22-backgrounds-gnome.noarch \ kdeartwork-wallpapers.noarch kde-wallpapers.noarch \ /usr/NX/bin/nxserver --help | more #/etc/NX #/usr/NX #start a server/desktop PATH=$PATH:/usr/NX/bin sudo systemctl status nxserver #connect via GUI #should see a session sudo /usr/NX/bin/nxserver --list sudo /usr/NX/bin/nxserver --install sudo /usr/NX/bin/nxserver --start sudo /usr/NX/bin/nxserver --list sudo /usr/NX/bin/nxserver --list [username] sudo /usr/NX/bin/nxserver --status sudo /usr/NX/bin/nxserver --history [username] sudo /usr/NX/bin/nxserver --terminate NAME sudo /usr/NX/bin/nxserver --kill NAME PATH=$PATH:/usr/NX/bin nxserver --startsession nxserver --startsession --virtual --type unix-default nxserver --startsession --virtual --type unix-gnome nxserver --startsession --virtual --type unix-console #--application=xterm --rootless=1 --geometry="1024x768" ############################################################################ # On your dekstop (this example uses Windows) ############################################################################ # # You must have nomachine installed on this system too. # #TODO: test this out....TODO... #windows: in a cygwin|putty session #nomachine: default port is 4000 ssh -L 4000:localhost:4000 mbaker@mygateway #windows: then run #/cygdrive/c/"Program Files (x86)"/NoMachine/bin/nxplayer.exe localhost #============================================================================== # # OPTIONAL: RESIZE display size/resolution # # On the VNC Server node: xrandr xrandr -s ####x#### # Some examples xrandr -s 1680x1050 xrandr -s 1280x800 xrandr -s 1440x900 # Then, on the client vncviewer # Then setup screen options #==============================================================================