After the server has started, you will see at least one xterm, and perhaps a couple other xclients (clock, calculator, etc) too. This will depend upon your local system.
uwm - Universal Window Manager twm - Tom's Window Manager mwm - Motif Window Manager awm - Ardent Window Manager rtl - Tiled Window Manager
mwm &
You may also be able to add a command as the last line of your .xinitrc file to automatically start the window manager when you start the X server. For example, to start the Motif Window Manager:
exec mwm
xterm &
xhost +othermachine
rsh kanaha xterm -display makena:0 &
telnet kanaha { enter userid and password } setenv DISPLAY makena:0 & xterm &
telnet kanaha { enter userid and password } xterm -display makena:0 &
New Window - open a new xterm Resize - resize window Move - move window Lower - put window below other windows Raise - put window above other windows Shuffle Up - raise window one level Shuffle Down - lower window one level Refresh - refresh window Clients - pop-up list of X clients Restart - restart the window manager Quit - quit the window manager
A sample window frame which surrounds an xterm appears below.
Also selected window functions (move, resize, lower, etc) can be displayed by placing the mouse cursor on the title bar and holding down the middle mouse button.
ALT + F3 - lower window ALT + F4 - close window ALT + F5 - restore window ALT + F7 - move window ALT + F8 - resize window ALT + F9 - minimize window ALT + F10 - maximize window
ALT + left button - lower window ALT + middle button - resize window ALT + right button - move window CTRL + left button - xterm client: options menu CTRL + middle button - xterm client: vt options CTRL + right button - xterm client: vt fonts
-background - background color -bg - background color -foreground - foreground color -fg - foreground color -bordercolor - color of window border -bd - color of window border -borderwidth - border width -bw - border width -font - font for text -fn - font for text -display - display for client -geometry - window size and placement -iconic - start window as an icon -name - name to display on title bar -title - name to display on title bar
255 0 0 Red 0 255 0 Green 0 0 255 Blue 255 240 245 LavenderBlus 255 228 225 MistyRos 240 255 255 azur 224 238 238 azure2 93 205 205 azure3
xterm -bg blue -fg white &
xterm*background: DarkSlateBlue xterm*foreground: LemonChiffon xterm*cursorColor: red xterm*pointerColor: red
#000000 black #FF0000 red #00FF00 green #0000FF blue #00FFFF cyan #5F9F9F cadet blue
You can also use the xlsfonts utility to list all of your system's available fonts.
1 2 3 4 5 6 7 8 9 10 11 12 -adobe-courier-bold-o-normal--10-100-75-75-m-60-iso8859-1 -adobe-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-* 1= foundry 2 = font family 3 = weight 4 = slant 5 = set width 6 = pixels 7 = points (in tenths) 8 = horizontal resolution in d.p.i. 9 = vertical resolution in d.p.i. 10 = spacing 11 = average width (in tenths of a pixel) 12 = character set
xfd -fn Rom14A sample xfd display can be viewed here.
xterm -fn Rom14 &
Mwm*fontList: -ibm--medium-r-medium--20-14-100-100-c-90-* *icon*fontList: fixed aixterm*font: Rom14.500 Vt*.fontList: Rom10 emacs*font: Rom14.500
-geometry width x height +/- xoffset +/- yoffset width = in pixels usually; in characters for xterm height = in pixels usually; in rows for xterm +xoffset = pixels from left edge of screen -xoffset = pixels from right edge of screen +yoffset = pixels from top edge of screen -yoffset = pixels from bottom edge of screen
xclock -geometry 125x125-10+20 &
xterm -geometry 132x40-10+350 &
This concludes the tutorial. Return to the Table of Contents