Difference between revisions of "X Windows"

From wiki.emacinc.com
Jump to: navigation, search
(utilities)
Line 3: Line 3:
 
The X Windows System (also known as X11, X, and X-Windows)  is a windowing system, common on Linux and Unix-like operating systems. X provides the basic framework for a windowed GUI environment. Drawing and moving windows on the display as well as interacting with the keyboard and mouse are handled by X.
 
The X Windows System (also known as X11, X, and X-Windows)  is a windowing system, common on Linux and Unix-like operating systems. X provides the basic framework for a windowed GUI environment. Drawing and moving windows on the display as well as interacting with the keyboard and mouse are handled by X.
 
== Utilities ==
 
== Utilities ==
 +
The following list is a collection of common X utilities included on the Standard EMAC OE builds.
 +
<cl>
 +
* <u>xdpyinfo</u>
 +
:Xdpyinfo is a utility for displaying information about the X server.
 +
* <u>xinit</u>
 +
:Xinit is the utility that is used to start the X server .
 +
* <u>xkbcomp</u>
 +
:Xkbcomp is a keymap compiler that is most commonly used to create a <code>.xkm</code> keymap file to be read by X servers or utilities.
 +
* <u>xmodmap</u>
 +
:Xmodmap is a utility that is used for modifying keymaps.
 +
* <u>xrandr</u>
 +
:Xrandr is used to set the size, orientation and/or reflection of the outputs for a screen.
 +
* <u>xsreensaver</u>
 +
:The xscreensaver program waits until the keyboard and mouse have been idle for a period, and then runs a graphics demo chosen at random.
 +
* <u>xset</u>
 +
:Xset is used to set various user preference options of the display.
 +
* <u>xterm</u>
 +
:The xterm program is a terminal emulator for the X Window System.
 +
* <u>xtscal</u>
 +
:Xtscal calibrates the touchscreen on an X system.
 +
* <u>xinput</u>
 +
:Xinput is a utility to list available input devices, query information about a device and change input device settings.
 +
</cl>
 +
 +
 +
Please refer to the <code>man</code> pages for each command to get specific instructions:
 +
<syntaxhighlight lang=console>
 +
developer@ldc:~# man <command>
 +
</syntaxhighlight>
  
 
== SSH X Forwarding ==
 
== SSH X Forwarding ==
Line 11: Line 40:
 
Other than the ''-X'' option, the procedure for logging in is the same as that listed on the [[System_Log_In#SSH | System Login Page]].
 
Other than the ''-X'' option, the procedure for logging in is the same as that listed on the [[System_Log_In#SSH | System Login Page]].
  
To verify that X forwarding is enabled, the following command can be entered:
+
To verify that X forwarding is enabled, the following command may be entered:
 
<syntaxhighlight lang=console>
 
<syntaxhighlight lang=console>
 
user@emac-oe:~# xclock &
 
user@emac-oe:~# xclock &
 
</syntaxhighlight>
 
</syntaxhighlight>
This will open a small analog clock in a window on the host machine.
+
This will open a small analog clock in a window on the host machine. The window can be closed after verifying the correct functionality.
 
== Links ==
 
== Links ==
 
The following are links to detailed documentation relating to the X Windows System.
 
The following are links to detailed documentation relating to the X Windows System.

Revision as of 18:54, 18 December 2013

TODO: {{#todo:Write|Klint Youngmeyer|oe 4,oe 5,ky,inprogress}}

The X Windows System (also known as X11, X, and X-Windows) is a windowing system, common on Linux and Unix-like operating systems. X provides the basic framework for a windowed GUI environment. Drawing and moving windows on the display as well as interacting with the keyboard and mouse are handled by X.

Utilities

The following list is a collection of common X utilities included on the Standard EMAC OE builds.

  • xdpyinfo

    Xdpyinfo is a utility for displaying information about the X server.
  • xinit

    Xinit is the utility that is used to start the X server .
  • xkbcomp

    Xkbcomp is a keymap compiler that is most commonly used to create a .xkm keymap file to be read by X servers or utilities.
  • xmodmap

    Xmodmap is a utility that is used for modifying keymaps.
  • xrandr

    Xrandr is used to set the size, orientation and/or reflection of the outputs for a screen.
  • xsreensaver

    The xscreensaver program waits until the keyboard and mouse have been idle for a period, and then runs a graphics demo chosen at random.
  • xset

    Xset is used to set various user preference options of the display.
  • xterm

    The xterm program is a terminal emulator for the X Window System.
  • xtscal

    Xtscal calibrates the touchscreen on an X system.
  • xinput

    Xinput is a utility to list available input devices, query information about a device and change input device settings.


Please refer to the man pages for each command to get specific instructions:

developer@ldc:~# man <command>

SSH X Forwarding

While using SSH to access a system running the X Windows System, it is possible to have any X windows generated by the remote system appear on the local machine. To connect to the system at the IP address 10.0.2.41 with X forwarding, enter the following command:

developer@ldc:~# ssh -X user@10.0.2.41

Other than the -X option, the procedure for logging in is the same as that listed on the System Login Page.

To verify that X forwarding is enabled, the following command may be entered:

user@emac-oe:~# xclock &

This will open a small analog clock in a window on the host machine. The window can be closed after verifying the correct functionality.

Links

The following are links to detailed documentation relating to the X Windows System.

General

Toolkits

X Development

See Also

Framebuffer