Prev | Current Page 71 | Next

Chris Tyler

"X Power Tools"

If an X server is already running
on display :0, for example, you could specify that display :1 should be used for the
new server:
$ startx -- :1
Or you can specify both the client to be started and some server options:
$ startx /usr/bin/xterm -bg yellow -geometry 180x50 -- :1 -config /etc/testconfig
When specifying a client for startx, the client command pathname
must begin with a single dot or a slash; otherwise, it will be treated as
an argument to the default client (typically xterm). Likewise, you can
specify the pathname of the X server on the righthand side of the double-
dash by using a pathname that starts with a dot or slash; if you
omit the dot or slash, the value is treated as an argument to the standard
X server (which is specified in ~/.xserverrc on a user-by-user basis
or /etc/X11/xinit/xserverrc as the system-wide default). For example,
Xorg would be interpreted as an argument to the standard X server,
while ./Xorg or /usr/local/test/Xorg would be interpreted as the name of
an alternate X server.
To start multiple clients, create a shell script and specify that shell
script on the startx command line.
startx is usually used without any arguments. It will start an X server with a default
set of clients.


Pages:
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83