Workshop


The Workshop is designed to help you anticipate possible questions, review what you've learned, and begin learning how to put your knowledge into practice.

Quiz

1:

How would you start the gedit program on a computer called server10, displaying the application on your own desktop, if your login name on server10 is admin36?

2:

How would you tell your desktop environment to allow incoming application window connections from a system called robslabmachine.mycompany.com?

3:

Without using ssh, what sequence of commands would you enter to start emacs in the background but display its application window on a local system called laptop6.mycompany.com?

4:

Why should you use the ssh method of displaying applications remotely rather than the xhost/DISPLAY method whenever possible?

Answers

A1:

ssh -oForwardX11=yes -l admin36 server10 gedit

A2:

xhost robslabmachine.mycompany.com

A3:

DISPLAY=laptop6.mycompany.com:0 export DISPLAY emacs &

A4:

Because the ssh method is considerably more secure, using magic cookie authentication and encrypting data and passwords as they are transmitted across the network.

Activities

1.

Use ssh in a terminal window to log in to a remote Linux computer system.

2.

From the command line on the remote system, start an emacs window.

3.

Use the emacs window to create and save a new text file on the remote system.



    SAMS Teach Yourself Red Hat(r) Fedora(tm) 4 Linux(r) All in One
    Cisco ASA and PIX Firewall Handbook
    ISBN: N/A
    EAN: 2147483647
    Year: 2006
    Pages: 311
    Authors: David Hucaby

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net