![]() |
![]() |
|||
|
|
||||
| Català | Castellano | |||
|
|
|
|
UNIXLast modified: 14-06-2002
From a graphical terminal (X-Terminal)Via the X-terminals , you can initiate a graphical session on the LCFIB Unix servers. When initiating a graphical terminal, a menu appears showing the various machines on which we can open a session. The first step is to choose the machine we want to work on from this "chooser" menu. To do this, either double-click on the name of the machine, or select it and click OK. Bear in mind that this step may not be necessary if the X-Terminal is configured to work on a single machine. Once the desired machine is selected, a dialogue will appear, showing the name of the X-Terminal (from which we are establishing the connection) and the username and password fields. Once the password is authenticated, a graphical session will open, with a few initial windows. From here onwards, the behaviour of the terminal depends on the window manager that is running. Usually, you can access the menus by clicking one of the mouse buttons on the desktop. From a PCMost of the PCs in the computer rooms offer the possibility of working in Linux. If this is the case, we can start a graphical session on a Unix system that runs on the PC itself. There is a personal area of disk space available on the PC network file server, plus the possibility of connecting to the LCFIB Unix servers that are used for teaching purposes. Connection to these servers may be established via the ssh (Secure Shell) protocol In order to use Linux, first load the following PC initialisation instructions. Once loaded, a dialogue will appear with the name of the PC, which asks for your username and password (as is the case with the X-Terminals). This is the same as the PC network file server password. Once authenticated, a graphical session similar to that of an X-Terminal will load. More information on this matter is available in the document: LCFIB Linux system description. Via telnetWe can connect to all LCFIB Unix servers via the telnet protocol. It is recommended that you use this option only if there is no other, such as Secure Shell. We would normally use the following telnet command:
$ telnet name_of_server
When connected to a session, a prompt will appear to ask for our user name:
login:
We must type our user name for the machine we are connected to. All user names follow a standard format except for accounts for certain subjects (GEOC, DVLSI, GC, MGC, VRC, ASSO and DAC):
login: d5078643
When we press return, the following prompt will appear:
password:
This dialogue is asking for our password, which will not be displayed on screen for security reasons. If there is an error, the system will show a message to this effect, and will ask for our user name and password again. Once you have entered your user name and password correctly, the system will show the command line prompt, and you may begin working. Note: Read the initial system messages and remember that UNIX is case sensitive. Your folder will initially contain the following files:
Via Secure ShellSecure Shell is a remote login mechanism. It allows interactive sessions on UNIX servers to run from both UNIX and Windows machines. Although its basic functions are the same as telnet, it holds many advantages over it:
The basic command syntax for ssh on Unix (and Linux) is:
$ ssh -l user_name remote_server
Next, if it is the first time we are connecting to this server, it asks for confirmation, in order to accept the computer's identity. It will then ask for our password. Once authenticated, the interactive session is started on the server, in the same way as telnet. | ||
| Copyright © Facultat d'Informàtica de Barcelona - webmaster |