Open main menu

CDOT Wiki β

Changes

OPS235 Lab 7 - CentOS7

146 bytes added, 08:46, 7 July 2015
no edit summary
# For this section, you will be using your '''centos1''' and '''centos2''' VMs.
# From your '''centos2 '''VM issue the ssh'' command to connect to your '''centos1''' VM using the following command:<br /><b><code><span style="color:#3366CC;font-size:1.2em;">ssh -X -C user@centos1</span></code></b> &nbsp; (Where 'user' is your learn account on centos1)<br>(The '''-X''' option enables the forwarding of X window information, and the '''-C''' option enables compression for better performance).<br><br># Once connected the connection is properly established, run the '''gedit''' application. (Gnome Text Editor)# The ''gedit '' window will display on your '''centos2 ''' VM, but it in reality, this application is running on your '''centos1.''' VM!
# Enter some text and save a file with '''gedit'''.
# Exit the '''gedit''' application.
# Where In which VM was the file saved?
# Experiment with running other GUI applications through '''ssh'''.
13,420
edits