
Then in shell user prompt: chmod 0600 ~/.smbcredentialsįinally you have to edit "/etc/fstab" followion teese instructions: Paste the following information: username=USERNAME Then you have to edit the file ".smbcredentials" with the command: vi ~/.smbcredentials To add user to the admin rights group: usermod -aG sudo newuserĪnd this set new user password: sudo passwd newuserįor FSx mounting the following is needed: sudo apt-get install cifs-utils

Then, to set password for ubuntu account: sudo /etc/init.d/ssh reload Hit esc to get out of insert mode :wq! to save Hit i for insert Set Password Authentication yes Transfer nomachine package to instance via WinSCP sudo dpkg -i nomachine_6.10.12_1_b I set mine up with NoMachine and with mounting to AWS FSx Windows SMB share. Then exeucte this command gpg -ignore-time-conflict -no-options -no-default-keyring -secret-keyring /etc/apt/secring.gpg -trustdb-name /etc/apt/trustdb.gpg -keyring /etc/apt/trusted.gpg -primary-keyring /etc/apt/trusted.gpg -keyserver hkp://:80 -recv F3A662B57D580D3A2E98E5152A8E3034D018A4CE | sudo apt-key add Gpgkeys: HTTP fetch error 7: couldn't connect to host

Gpg: requesting key D018A4CE from hkp server Say No to password sudo vi /etc/ssh/sshd_config and set PasswordAuthentication to yesĭownload and Install the setup NX client on the respective OS from here Sudo -E apt-get install -y ubuntu-desktop But for quick installation let me give you the commands to execute. I have just set up the remote desktop of Ubuntu on Windows.
