Bring Up a X Desktop on the Local System

If you have at least 256MB of RAM installed, you may want to bring up a X desktop. The following lists the commands necessary to generate a X configuration for your system and then start up X:

[root@probe root]# setup_x
Starting xfs:                                              [  OK  ]
Could not find existing X configuration
Writing temporary config file to /tmp/@913.0xf86config
Trying to start X server
Waiting for X server to start...log located in /var/log/XFree86.setup.log
1...2...3...4...5....X server started successfully.
Writing configuration to /etc/X11/XF86Config
Removing old /etc/X11/X
Creating /etc/X11/X symlink
X Setup Finished.
 
You may want to review: /etc/X11/XF86Config
 
Use the following command to start up X:
 
  startx
[root@probe root]# startx

XFree86 Version 4.3.0 (Red Hat Linux 9 release: 4.3.0-2.90.55)
Release Date: 15 August 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.21-2.ELsmp i686 [ELF] 
Build Date: 12 February 2004
Build Host: porky.devel.redhat.com
 
	Before reporting any problems, please make sure you are using the most
	recent XFree86 packages available from Red Hat by checking for updates
	at http://rhn.redhat.com/errata or by using the Red Hat Network up2date
	tool.  If you still encounter problems, please file bug reports in the
	XFree86.org bugzilla at http://bugs.xfree86.org and/or Red Hat
	bugzilla at http://bugzilla.redhat.com

Module Loader present
OS Kernel: Linux version 2.4.20-30.9 (bhcompile@porky.devel.redhat.com) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Wed Feb 4 20:44:26 EST 2004 
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Sat Apr 24 15:00:45 2004
(==) Using config file: "/etc/X11/XF86Config"

It should be noted that the setup_x will detect your hardware and display a graphical selection panel allowing you to specify your X desktop resolution and color depth. It will then exit after writing the appropriate information to /etc/X11/XF86Config. You will then be able to bring up X with the startx command.

The following screen shot shows ethereal, etherape and ipsc running on a Network Security Toolkit probe running X:

Figure 5.2. X Screenshot (Linux Desktop)

X Screenshot (Linux Desktop)

The VTWM window manager is used when running a X desktop. You can launch X based applications by right clicking on the desktop to pull up a menu, or by typing the name of the program you want to run in a xterm window.

The VTWM provides virtual desktop space. So, you will only see a portion of the available desktop displayed on your screen. You should see a small black rectangle within a larger blue rectangle at the bottom right corner of your screen. If you drag the small black rectangle around, you can change what portion of the desktop is visible at any point in time.