Download LINUX Rute Users Tutorial and Exposition Version
Transcript
43.3. XFree86 43. X Switching to your type commands. session, should reveal a character terminal where you can A better way to specify the display is using the DISPLAY environment variable: ¨ ¥ DISPLAY=localhost:0.0 export DISPLAY § ¦ causes all subsequent applications to display to localhost:0.0, although a -display on the command-line takes first priority. The utilities listed above are pretty ugly and un-intuitive. Try for example xclock, xcalc, and xedit. For fun, try xbill. Also do a ¨ ¥ rpm -qa | grep ’ˆx’ § ¦ Running two X sessions You can start up a second ¨ server on your machine: ¥ /usr/X11R6/bin/X :1 § starts up a second Alt-F8 or Alt-F8. ¦ session in the virtual console 8. You can switch to it using Ctrl- You can also start up a second ¨ server within your current display: ¥ /usr/X11R6/bin/Xnest :1 & § ¦ A smaller server will be started that uses a subwindow as a display device. You can easily create a third server within that, ad infinitum. To get an application to display to this second server, use as before, ¨ DISPLAY=localhost:1.0 export DISPLAY xterm ¥ § ¦ or ¨ ¥ xterm -display localhost:1.0 § ¦ 478