X2go Access Denied Authentication That Can Continue Keyboard

Lab 1 -- First access of your account

Objectives:
  • Learn how to log on to the server.
  • Customize your account.
Sections:
  1. Introduction
  2. Customizing Your Account with PuTTy
  3. Logging On to the Server using X2Go Client
  4. Wrap-Up

ON DOING CLOSED LABS: Read everything! Careful reading of the closed lab instructions is a must. You simply cannot delve into a lab and start typing. Unlike a verbose textbook where you can often skim over material, labs are much shorter and almost everything written is important. Read the material and, only where and when directed, enter commands. Be patient, both with yourself and with the lab material---remember, you are a beginner at this stuff and it will take a while to become proficient.


Introduction

In today's lab, we will learn how to log on to our account on ranger using two terminal software, PuTTy and X2Go client, and we will do a one-time customization of the account to make it easier to work with.

Customizing Your Account with PuTTy

The computer system you will use for CSCI 1170 is named ranger. (Actually, ranger is an umbrella name for several actual machines, such as ranger1 or ranger2. Because it doesn't matter which particular ranger machine you are using, we'll just say ranger.) Ranger runs the UNIX operating system, an extremely powerful and popular system. (There are different "dialects" of UNIX, such as Mac OS X or HP-UX. The UNIX dialect running on ranger is called Linux .)

Unlike a small personal computer that you physically handle to use, ranger is a server that we will use via a network connection. This lab will demonstrate two methods of connecting to ranger; PuTTy and X2Go client. X2Go client uses remote X Window System connections. PuTTy provides a text-based terminal not X-based.

As part of this lab, you will also do a one-time customization of your course computer account for future labs.

DIRECTIONS: Follow the instructions and perform the actions indicated as they appear in the text. To do this lab, you will first need to have been given your C-number (and corresponding password) by your course instructor.

Step 1: Log on to ranger using PuTTy

To connect to ranger from the personal computer you are sitting at, you need to use a terminal software. For this step, we will use a terminal software found on the CS lab machines called PuTTy. Locate the ranger PuTTy icon in the desktop as shown in the following figure. You should double click on the ranger PuTTy icon. Be sure you have the correct PuTTy icon (there are several), and double-click the icon to activate the PuTTy terminal client program.

NOTE: If you get a "WARNING - POTENTIAL SECURITY BREACH" message, ignore it and hit "Yes" to continue. You will then see a login window like the following (except the color scheme may be different--for example, you may have a white background):

Your instructor has given you a course account, that is, a pair of codes (username and password) that you will use to access ranger. Enter your course account's 8 character login username; for example, c1055913. When it prompt for "Password:", enter your course account's password; for example aB2W45. You won't see anything while you type your password. Just hit the enter key when you are done typing. Note: UNIX is case-sensitive, that is, it distinguishes between upper and lower case letters. It is important to type the information exactly as indicated. If you make any typing error, you will get an error message as following:
Access denied Using keyboard-interactive authentication. Password:
If you made typing error on password, you can re-enter the Password information. However, if you have entered an incorrect username, you must close the window by clicking on the closed button (the red X button on the right top corner of the window), and restart the PuTTy(ranger) window. If you are unsuccessful after several attempts, check to be sure the Caps Lock key is not locked on the keyboard. If it is, unlock it and try again. Otherwise, ask the lab assistant for help.
Once you successfully log on to the server, you may get a screen as below:

Step 2: Customize your account

Much of UNIX is "command driven"; that's a fancy way of saying that to get most things done, you type out command instructions inside a Terminal window instead of clicking on icons. UNIX is case-sensitive, that is, it distinguishes between upper and lower case letters. It is important to type the commands exactly as indicated. Failing to put in a space where required is an error; however when a space is required, the amount of space (i.e., the number of blanks) is usually not critical. The Computer Science department has created software that will customize your account so that it is suitable to use for this course. The following customization should only be done once. You will never need to customize this account again.

The general form of the customization command is as follows:

$ ~cs/customize 1170

With your mouse, click on the arrow next to "Select teacher's userid." and highlight the appropriate userid (your lab instructor will tell you which one). The command above should now have your teacher's userid on the end of the line.
  1. In the PuTTy Terminal window, at the $ prompt, enter the customize line exactly as show above. (Do NOT enter the dollar sign as part of your command. It is meant to represent the prompt provided by the system.)

    As an example, if you have CSCI 1170 with Dr. Untch you type:

                                  ~cs/customize  1170  untch            
  2. The customization will ask you for your first (personal/nickname) name and last (family) name. Use mixed-case in entering your names; for example, enter "John" and not "john" or "JOHN". Next you will be asked for your PipelineMT user name. (You will NOT be asked for your PipelineMT password.) Lastly you must enter the 3-digit course section number.
  3. If there are any errors, please review what you have done and start over at step 1. Otherwise, close the terminal window by typing "exit" at the command-line.
  4. Now open up a PuTTy Terminal window again. If your prompt now is of the form "ranger$ ", everything is OK. If not, please check with the instructor as to what might have gone wrong. You should see a window similar to the following figure.

  5. Once you are done, you will need to log off ranger by typing "exit" at the command-line.

Logging On to the Server using X2Go Client

We used PuTTy to customize our account. From now on, we will be using a different terminal software, called X2Go client, to access ranger. Unlike in any specific version of Windows where there is typically only one standard desktop environment, there are several possible UNIX Desktop environments. The one we will be using this semester is called Xfce. Although we will again connect to ranger , we will do it a bit differently---instead of using PuTTy, we will use a program installed on the lab PC you are using that is called the X2Go Client. To connect to ranger via the X2Go Client, double-click the mouse on the ranger X2Go icon that looks like this one in the upper right-hand corner of the screen shot below:

Make sure the icon has the label ranger X2Go ! When you double-click on the icon, you should get an X2Go login window. Unfortunately the screen resolution left from the previous user might be the wrong value. Dismiss the login window by pressing Escape and you'll get the following selection window.

The third drop-down item under ranger2 should say "Display 1". If it doesn't, open the menu and select that entry. Be sure the rest of the values in that window say the same things as in the sample image above. When everything is set, click the window and you'll again get an X2Go login window like the following:


Use your course account information to access ranger. Inside the Login text box area enter your course account's C-number (that is, the 8 character login username you were assigned; for example, c1003534). In the Password text box area, enter your course account's password; for example 74ab2w45. Your password will not be displayed but will echo as a row of dots or asterisks, so be careful in your typing.

After filling in the requested information, click the ok button and after a few seconds, a full-screen window should appear (as depicted below). We call this the UNIX Desktop window. (Actually, because you are on an upgraded system, YOUR desktop may look slightly different.)

Note: If you are unsuccessful after several attempts, check to be sure the Caps Lock key is not locked on the keyboard. If it is, unlock it and try again. Otherwise, ask the lab assistant for help. It may take a few seconds for the UNIX Desktop to appear and your window may temporarily be dark before finally fully displaying. If you cannot get the UNIX Desktop window to appear, then ask a lab assistant for help.


Getting a Terminal Window:

Once you have an active UNIX Desktop, you will open up a terminal window.

There are several ways to open up a terminal window. The suggested methods for this lab is double click on the terminal icon in the desktop as shown in the figure.

Alternatively, if the terminal icon is missing, you can move your mouse to the top menu bar where the pull down selections for Applications Menu located at the top left corner and select the Terminal Emulator .

You should now have a terminal window on your UNIX Desktop. (See picture below.) You can move windows and arrange them as you like. To move a window, click the left mouse button on the title bar of the window, hold it down and drag the window into position. To make a window active, click the mouse on that window.

Log Off:

Once you are done, you will need to log off ranger and close your UNIX Desktop . To log out, click the green (running person) Quit icon on the far right of the menu bar.

In the resulting window, select the Log Out item.

As an alternate way to log out, move your mouse to the top menu bar where the pull down selections for Applications menu are located. [Top left of the bar.] Select the Log Out option and proceed to log out.

When logging out of X2Go leave the option to "Save session for future logins" unchecked. It seems to work much better if that box is unchecked and the session is not saved.


Wrap-Up

In this lab, you learn
  • how to log on to your account on ranger using a terminal software called PuTTy,
  • how to customize your account using PuTTy,
  • how to log on to your account on ranger using a terminal software called X2Go client which provides a X-based desktop window,
  • how to use a terminal in a X2Go client session,
  • and how to log off from a X2Go client session.

Congratulations! You have finished Lab 1.

ketchamtherevized1981.blogspot.com

Source: https://www.cs.mtsu.edu/~cs1170/manual/lab1C/

0 Response to "X2go Access Denied Authentication That Can Continue Keyboard"

Postar um comentário

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel