System Administration. Terminals and the X Window System

Similar documents
Outline. Computer Center, CS, NCTU. X Window System. Steps of exercise. Introduction Architecture X11 Implemetation The Window Manager

VNC, Transparently. The first installment of a series on secure, transparent and ubiquitous desktops with VNC and OpenSSH, Part 1 of 2.

University of Pennsylvania Zachary Goldberg. CIS c. More Kernel Bits. 10/03/09 Slide 1

Linux Graphical Interface

System Administration. Startup Process

RHCE BOOT CAMP. System Administration

NETW 110 Lab 3 Post-Installation Configuration Page 1

Remote GUI access to a Linux computer using Tightvnc

Installing Red Hat Enterprise Linux AS 4 Update 3 on the IBM System p5 185 or IBM Intellistation POWER 185

Remote Access to Unix Machines

Full file at

Application Management

HOW LINUX BOOTS. As it turns out, there isn t much to the boot process:

Full file at Chapter 2: Exploring the Desktop

Study Guide Linux Terminals

Instructions: Step 1: Respond to the following: IT131 Linux+

Integrated Lights-Out 3 Virtual Serial Port configuration and operation

The Linux IPL Procedure

RHCE BOOT CAMP. The Boot Process. Wednesday, November 28, 12

Cisco ISE Command-Line Interface

Lab 1: Accessing the Linux Operating System Spring 2009

About 1. Chapter 1: Getting started with centos 2. Remarks 2. Versions 2. Examples 2. Installation or Setup 2

Brief Linux Presentation. July 10th, 2006 Elan Borenstein

Post Ubuntu Install Exercises

Introduction to the Shell

Configuring Local Authentication

Console Redirection on VMware ESX Server Software and Dell PowerEdge Servers

Installing and Configuring Cisco Unified Real-Time Monitoring Tool

Managing the Graphical Environment

Send document comments to

Examples of Cisco APE Scenarios

Ubuntu Practice and Configuration Post Installation Exercises interlab at AIT Bangkok, Thailand

FreeBSD Installation ISOC/AfNOG

Lab 3a Using the vi editor

EKT332 COMPUTER NETWORK

Novell ZENworks Linux Management

Please Register Your One-Net

OPERATING SYSTEMS LINUX

Installation of RHEL 5 for Tenable SecurityCenter Evaluation

NETW 110 Lab 5 Creating and Assigning Users and Groups Page 1

Introduction to Operating Systems. Note Packet # 1. CSN 115 Operating Systems. Genesee Community College. CSN Lab Overview

Installing and Configuring Cisco Unified Real-Time Monitoring Tool

Freescale FAE75 Training Genesi Pegasos II LinuxTraining. Maurie Ommerman June 10, 2004

Enter your Appserv username and password to sign in to the Website

Automatically Logging on a User at Linux System Boot time for Console Management

Fun with XMMS (and friends)

Basic UNIX 4: More on the GUI

2. INSTALLATION OF SUSE

Lab Router Configuration Using Setup Instructor Version 2500

LPI102 EXAM PREPARATION LPIC-1 (LINUX PROFESSIONAL INSTITUTE)

Exercises: Post FreeBSD Install: SANOG VI IP Services Workshop

Q) Q) What is Linux and why is it so popular? Answer - Linux is an operating system that uses UNIX like Operating system...

Using the Command-Line Interface

Remote Connection to the Zoo

You can use the WinSCP program to load or copy (FTP) files from your computer onto the Codd server.

XML Transport and Event Notifications

Lab AAA Authorization and Accounting

Hands-on with Native Linux Containers (LXC) Workbook

Lab Command Line Fundamentals Instructor Version 2500

XML Transport and Event Notifications

Basic UNIX 4: More on the GUI

Accuterm 7 Usage Guide

client and the session behavior

Installing Nagios Log Server with VMware Workstation Player

Version 5.1 October 2003

Real-Time Monitoring Configuration

Prerequisites: Students must be proficient in general computing skills but not necessarily experienced with Linux or Unix. Supported Distributions:

Virtual Desktop: Mac Instructions /4/2018

Practical Session 0 Introduction to Linux

SANOG VI IP Services Workshop: FreeBSD Install

King Fahd University of Petroleum & Minerals. Configuration of Routers and Establishing Routed Networks

NVIDIA Tesla C Installation Guide of C-2075 Driver on Linux

LINUX & SHELL PROGRAMMING 3CS4

Test Lab Introduction to the Test Lab Linux Cluster Environment

RHEL 5 Essentials. Red Hat Enterprise Linux 5 Essentials

FreeBSD Installation

Lab - Remote Desktop in Windows 8

Configuring TACACS+ Finding Feature Information. Prerequisites for TACACS+

Voic Instructions

Support Notes for Red Hat Enterprise Linux ES v.4.6 for HP Integrity Servers

Lab - Remote Desktop in Windows 7 and Vista

OneNote 2016 Tutorial

Microsoft Windows Server Administration Essentials PDF

What is an operating system (OS or O/S)?

XDMCP Operations. Section Network and Host System Operations. HDS ViewStation System Administrator s Guide. 3.

FAST TRACK. On-Line Application Instructions

First-Time Login Procedure on XWin32

Downloading and installing Db2 Developer Community Edition on Red Hat Enterprise Linux Roger E. Sanders Yujing Ke Published on October 24, 2018

Compiling C/C++ programs

How to setup NX client for graphical connections to servers

Exam Questions

Using RDP with Azure Linux Virtual Machines

NEC Express5800 Series. StorView Ver. 3. Installation Guide for N F. [Linux Server Edition] A

Novell Linux Point of Service 9 Patch Release Readme July 26, 2005

Instructions for installing the Print to PrintShop printer on a Mac

Overview of the Cisco NCS Command-Line Interface

RedHat. Rh202. Redhat Certified Technician on Redhat Enterprise Linux 4 (Labs)

Exam Questions Demo LPI. Exam Questions LPIC-1 Exam 102, Part 2 of 2, version 4.

Introduction to Operating Systems Prof. Chester Rebeiro Department of Computer Science and Engineering Indian Institute of Technology, Madras

Temple University Computer Science Programming Under the Linux Operating System January 2017

Transcription:

System Administration Terminals and the X Window System

Terminals: Then and Now "In the old days": real serial terminals Common now: "Virtual Terminal" on monitor In both cases, a tty "TeleTYpe" a text terminal

Terminal Types vt100 ansi each uses different 'control sequences' to do things like erase characters, move the cursor around, etc

Termcap termcap: TERMinal CAPabilities database: an generic interface to different terminal types allows programs to say "move cursor here" and translates that into the actual control sequences the end terminal requires contains information about screen size, color capability, etc.

How terminals are started From inittab: mingetty runs to listen on a virtual terminal, displays login prompt: 1:2345:respawn:/sbin/mingetty tty1 Type in username, that is sent to login program login prompts for password, verifies that password, finds the user's default shell, and executes that User now has shell

How terminals are started When user exits shell, login exits and then mingetty exits Init respawns mingetty, starting the process over again

X Window System X is a framework for a graphical user interfaces, developed initially at MIT. A common implementation on Linux systems, is XFree86, an open source implementation of the X Window System A newer implemenation is the X.org implementation this is what Red Hat EL 4 and 5 use

Starting X startx XDM and variants

Startx startx is used for manually starting X11. It is typically run when your machine doesn't default to starting with X11 on. It is also useful when configuring X you can configure X, run startx to try it, and make changes as necessary

XDM and Variants xdm (the X Display Manager) and related programs (kdm, gdm, the KDE and Gnome versions, respectively, of xdm) start X and provide a graphical login screen. This is what starts up when you start Red Hat Enterprise Linux in runlevel 5

Which display manager will run? /etc/sysconfig/desktop contains prefered display manager DISPLAYMANAGER= XDM If that line does not exist, it simply defaults to a particular display manager (currently, gdm)

Window Managers X simply provides a protocol for drawing simple objects: lines, boxes, circles, etc. It has no concept of the menus, title bars, tool bars, etc., that we expect in a graphical user environment Window Managers offer an interface between X and programs, offering those common items and allowing for a common look

Window Managers Some display managers offer more, and are called "Desktop Environments", which provide higher level things like file managers, interprogram communications, etc.

KDE The K Desktop Environment, a project of the KDE e.v., a German non profit foundation

Gnome The desktop environment of the GNOME project, part of the GNU project of the Free Software Foundation

Which Window Manager runs? Depends on which display manager you run. gdm and kdm both offer popup menus that allow you to change the which window manager opens

prefdm (RHEL5) /etc/x11/prefdm is called by init when starting a graphical runlevel Prefdm takes the information in /etc/sysconfig/desktop (if it exists) and runs the appropriate display manager If X stops for some reason, init will respawn prefdm

Xsession (RHEL4) /etc/x11/xdm/xsession is called by all three window managers to start the 'Default' window manager. This file looks in $HOME/.xsession $HOME/.Xclients If those files exist, they are executed.

Xsession So you could start gnome session or startkde, which start the default gnome or kde window managers: exec gnome-session exec startkde or even something more arcane exec twm

/etc/sysconfig/desktop If neither of those files exist, it looks in /etc/sysconfig/desktop for a line that looks like DESKTOP=GNOME DESKTOP=KDE which in turn starts gnome session or startkde

Configuring X Configuration for XFree86 is in the /etc/x11/xorg.conf file, which is a wonderfully long and complicated file. The X Window System is a very flexible system, allowing for heavy customization of nearly every aspect of the system. With that flexibility comes a lot of complexity.

Configuring X Fortunately, you typically configure X at installation time If you have to reconfigure afterwards, you can run /usr/bin/system-config-display which does a decent job of detecting cards and monitors and fixing things More complicated setups are left as an exercise to the reader