1. X11 forward

Mac OS X

https://uisapp2.iu.edu/confluence-prd/pages/viewpage.action?pageId=280461906

Install XQuartz on your Mac, which is the official X server software for Mac

https://www.xquartz.org/

Run Applications > Utilities > XQuartz.app

In this xterm windows, ssh into the linux system of your choice using the -X argument (secure X11 forwarding). For example, to log into hulk.soic.indiana.edu you would run something like:

ssh -Y username@remotehost

Linux

ssh into the linux system of your choice using the -Y argument (secure X11 Forwarding). For example, to log into hulk.soic.indiana.edu you would run something like:

ssh -Y username@remotehost

2. FULL DESKTOP

1.rdp client on ubuntu :vinagre

2.set up rdp server on remote ubuntu machine :

https://aws.amazon.com/cn/premiumsupport/knowledge-center/connect-to-linux-desktop-from-windows/

install updates, an upgrade, and install additional packages

sudo apt-get update
sudo apt-get upgrade

install sshserver

sudo apt-get install openssh-server

edit the sshd_config file on your Linux instance to allow password authentication

sudo vim /etc/ssh/sshd_config
#set password authentication yes

edit the sshd_config file on your Linux instance to allow password authentication

Restart the SSH daemon to make this change take effect

sudo /etc/init.d/ssh restart

Install Ubuntu desktop functionality on your Linux instance, the last command can take up to 15 minutes to complete.

export DEBIAN_FRONTEND=noninteractive
sudo -E apt-get update
sudo -E apt-get install -y ubuntu-desktop

Install XRDP and other xfce4 resources

sudo apt-get install xfce4 xrdp
sudo apt-get install xfce4 xfce4-goodies

Make xfce4 the default window manager for RDP connections

echo xfce4-session > ~/.xsession

Copy .xsession to the /etc/skel folder so that xfce4 is set as the default window manager for any new user accounts that are created.

sudo cp /home/ubuntu/.xsession /etc/skel
#for root user 
#cp /root/.xsession /etc/skel/

Open the xrdp.ini file to allow changing of the host port you will connect to.

sudo vim /etc/xrdp/xrdp.ini

Look for the section [xrdp1] and change the following text

port=-1
- to -
port=ask-1

Restart xrdp.

sudo service xrdp restart

results matching ""

    No results matching ""