Session / Window Managers

Slides:



Advertisements
Similar presentations
Introduction to Linux X-Windows, Desktop Environments Other commonly used programs.
Advertisements

CS 497C – Introduction to UNIX Lecture 37: - X Windows Chin-Chih Chang
Windows Test Review.
Chapter 11: The X Window System Guide To UNIX Using Linux Third Edition.
1. Reasons for logging on as a root •Most people are familiar with Windows systems with regard to administrative privileges. Many user running windows.
A Guide to Unix Using Linux Fourth Edition
Windows 7. Objectives After completing this lesson, you will be able to: oExplain the common functions of an operating system. oIdentify the basic components.
Linux GUI X-Windows System. X-Windows System A stable and extremely powerful GUI system that provides a complete Client/Server framework. The X-org foundation.
Guide to Linux Installation and Administration, 2e1 Chapter 6 Using the Shell and Text Files.
Getting Started with Linux: Novell’s Guide to CompTIA’s Linux+ (Course 3060) Section 2 Use the Linux Desktop.
Chapter 2: Exploring the Desktop The Complete Guide to Linux System Administration.
1 Chapter Overview Creating User and Computer Objects Maintaining User Accounts Creating User Profiles.
Lesson 9 Windows Management
Linux GUI Chapter 5. Graphical User Interface GUI vs. CLI Easier and more intuitive More popular and advanced Needed for graphics, web browsing Linux.
Explore XFCE The easy way, using a live CD By Carl Weisheit.
CIS 116SUNY Ulster Chapter L5 – The GUI Karl Wick.
Hands-On Microsoft Windows Server 2008
SUSE Linux Enterprise Desktop Administration Chapter 2 Use the Linux Desktop.
XP New Perspectives on Windows XP Tutorial 1 Exploring the Basics.
MCTS Guide to Microsoft Windows Server 2008 Applications Infrastructure Configuration (Exam # ) Chapter Four Windows Server 2008 Remote Desktop Services,
Guide to Linux Installation and Administration, 2e1 Chapter 10 Managing System Resources.
XWN740 X-Windows Configuring and Using Session / Window Managers Desktop Environments (Chapter 8: Pages )‏
Chapter Eleven The X Window System. 2 Lesson A Starting and Navigating an X Window System.
Introduction to KE EMu
Introduction to KE EMu Unit objectives: Introduction to Windows Use the keyboard and mouse Use the desktop Open, move and resize a.
CIS Lesson 7 X. Understanding X Overview One of the original open source projects Developed at MIT Criticisms of X Handles fonts poorly Security.
A desktop environment typically consists of icons, windows, toolbars, folders, wallpapers and desktop widgets(text box, button)
Explore GNOME The easy way, using a live CD By Carl Weisheit.
PhotoShop Creative Suite 3 Chapter 1 The Work Area.
Lesson 2: Working with Windows Programs. Introducing Windows  Windows is your operating system. Some of the important roles Windows plays are:  Manages.
Basic UNIX 4: More on the GUI ● How X works ● Window and desktop managers ● File managers ● Common tasks ● System administration tools Iowa State University.
Basic UNIX 4: More on the GUI
The Visible PC. Computing Parts Hardware – stuff you can touch and would hurt if you dropped it on your foot Operating System – controls the hardware.
XWN740 X-Windows Configuring and Using Introduction to X-Windows (X Power Tools - Chapter 1)
The New User Interface MEDITECH Training & Education.
Dive Into® Visual Basic 2010 Express
Visual Basic .NET BASICS
Windows Basics Computers 1.
Getting Started with Application Software
You will get a menu as displayed on screen.
Microsoft Visual Basic 2005 BASICS
Chapter 1: An Introduction to Visual Basic 2015
PhotoShop Creative Suite 3
X-term Tutorial.
New Perspectives on Microsoft Windows 10
XWN740 X-Windows Configuring and Using Remote Access
Instructor’s Guide to Teaching SolidWorks Software Lesson 1
XWN740 X-Windows Configuring and Using X Utility Programs
Chapter 1: An Introduction to Visual Basic 2015
Chapter 6: Interfaces and interactions
Computing Fundamentals Module Lesson 7 — The Windows Operating System
Unit 8 NT1330 Client-Server Networking II Date: 8/2/2016
Microsoft Office Illustrated Introductory, Windows XP Edition
Microsoft Windows 2000 Professional
Lesson 9 Windows Management
Microsoft Word - Formatting Pages
Windows Basics Computers 1.
Chapter 2: System Structures
Windows xp PART 1 DR.WAFAA SHRIEF.
Windows 7                      .
X Windows.
Exploring the Basics of Windows XP
Review: Applying Computer Basics
Linux Operations and Administration
Chapter 14 The User View of Operating Systems
Chapter 1: Digital Communication Tools
February 16th, 2004 Class Meeting 5
Windows Operating System
XWN740 X-Windows Configuring and Using X Utility Programs
Windows Basics Computers 1.
Presentation transcript:

Session / Window Managers XWN740 X-Windows Configuring and Using Session / Window Managers Desktop Environments (Chapter 8: Pages 118-132)

Agenda Session / Window Managers Desktop Environments: Session Managers Virtual Desktops Desktop Environments Window Managers Running Windows Manager Alone

X Windows Layers X Windows comes in layers. Some layers are required - some are optional... A DISPLAY MANAGER allows selection of user (possibly type of Desktop Environment) and to provide authentication Some Display Managers are started in /etc/inittab file, others are started by startup scripts

X Windows Layers We will now focus on the remaining 3 levels: Session Manager Window Manager Desktop Environment We can mix and match these layers to provide the clients / employer with a customized graphical environment.

Session Managers A session manager (SM) is responsible for saving and restoring the session state; this allows the user to log out and later log in, and to find—more or less—the same programs running. The state information can include the window position, open files, cursor position, and so forth. If the session manager finds that no previous session has been saved, a default session can be started.

Session Managers A protocol named X Session Management Protocol (XSMP) specifies how applications and session managers interact. Of particular importance is that the window manager is able to communicate with the session manager, as the window manager is responsible for the placement of windows and the existence of icons.

Session Managers At the beginning of a session, the SM starts clients that have a saved state. To enable communication with the session manager, clients are passed a connection string in the SESSION_MANAGER environment variable. This takes one of two forms: tcp/hostname:port local/hostname:path

Session Managers When an XSMP-aware client starts, it connects to the SM and introduces itself. The SM assigns a unique ID number, and the client informs the SM of the command line that will start it with the same ID number. It's also possible for clients to ask to be restarted if they terminate unexpectedly, or to save their state and ask to be restarted in the next session even if they are not running at the end of the current session.

Session Managers KDE and GNOME each provide session managers. The standard X distribution also provides a session manager, known as xsm, but it is NOT commonly used...

Window Manager msaul linux > A Window Manager manages window placement and provides window decorations. This includes window title bars, borders, and controls for common operations such as resizing, maximizing, minimizing, moving, and closing windows. There are different window Managers available to the X Windows system that provide flexibility in terms of function versus system performance (also referred to as “overhead”).

Window Manager Metacity (Motif) Window Manager (mwm) Examples of Window Managers include: Metacity (Motif) Window Manager (mwm) Enlightenment (enlightenment) Tab Window Manager (twm) Virtual Tab Window Manager (vtwm) Window Maker (wmaker) Ice Window Manager (icewm) Note: Each window manager has its own set of rules and format for window decorations...

Virtual Desktops Many of the current window managers provide virtual desktop or workspace capability—the ability to access a desktop space that is a multiple of the screen size. For example, a window manager configured with four virtual desktops would permit you to move with the mouse or keyboard from one of the four desktops to another. Windows managed on multiple virtual desktops do not take significantly more resources than windows managed on a single desktop

Virtual Desktops There are two different ways to create virtual desktops: Mapping Windows are mapped (made visible) or unmapped (hidden) according to whether the desktop they are "on" is the current desktop. Positioning Windows are positioned relative to the current desktop; if they are on a desktop to the right of the current desktop, then they are positioned to the right of the visible screen area, off the screen.

Virtual Desktops When the virtual desktop illusion is created by window positions, it is possible to have the current desktop positioned between virtual desktops, so that parts of two or more virtual desktops are visible simultaneously. It's also possible to have windows span virtual desktops.

Desktop Environments As mentioned in previous lessons, the role of the Desktop environment is to provide the user with additional features while running an X Windows session. There features that may include menus to start programs, trays or panels to indicate currently running programs, icons that represent files or programs on the desktop background, docked applets, and other useful tools and utilities.

Desktop Environments There are many Desktop environments that are available for download and installation including: Gnome KDE Xfce Workbench Enlightenment Windowmaker Most commonly used... There is sometimes confusion between a window manager and a desktop environment. Some desktop environments consist of a window manager, or bundle a suite of programs including the window manager...

Starting SM, WM, DE By now, you should realize that rules for starting DM, SM, WM, DE (Desktop Environment) are started from a configuration file and/or a script file. The location of these files usually depends on the Linux distribution you are currently using, and the type of Desktop / Window Manager that is installed... Refer to X Power Tools Chapter 8 sections 8.4, 8.5, and 8.6 for examples involving Gnome, KDE, & Xfce

Window Manger Only Useful for keeping overhead down for performance (for example: a KIOSK) A script can be used to specify the type of MW and which clients to then start. Refer to X Power Tools Chapter 8 section 8.7 for and example of creating a customized shells script and running startx with this script...