Contact us |
X clients
You will launch an xclient application and display it on the Xserver you launched above. To launch an xclient1. Make sure you are still logged in at the 1st virtual console as the super user. 2. Also make sure that you still have X server running in the background on tty 7. Type: [root@localhost root]# ps -x | grep X | grep -v grep 2587 ? S 0:07 X -config /root/xorg.conf.new You should get an output similar to the one above. 3. The “black void” in exercise 2 above is not very useful as it is. You will launch the xterm application and display it on display :0. Type: [root@localhost root]# xterm -display :0 & 4. Now switch to the 7th virtual console to view the output of the above command. Type: <CTRL> <ALT> <F7> 5. Use the mouse to click anywhere in the xterm window you launched above. Launch the xclock application at a location roughly below the xterm application. In the xterm window type: [root@localhost root]# xclock -geometry +300+400 & 6. Not all X clients are as boring looking or bland as xterm and xclock. Try launching your web browser in the X server window. Again click anywhere in the xterm window and then type: [root@localhost root]# mozilla & After a brief delay the mozilla web browser will appear. (If you don’t have mozilla installed, try firefox) 7. To close the browser, click on mozilla’s file menu and select the “Quit” button. 8. Now kill all the X clients you have running and also kill the Xserver hosting them. Type: <CTRL> <ALT> <BACKSPACE>
|
Login... |
||||