############################################################################### # # Xservers # # Common Desktop Environment # # Configuration file for all Xservers started or managed by the Login Manager # # (c) Copyright 1993, 1994, 1995, 1996 Sun Microsystems, Inc. # (c) Copyright 1993, 1994 Hewlett-Packard Company # (c) Copyright 1993, 1994 International Business Machines Corp. # (c) Copyright 1993, 1994 Novell, Inc. # # BEST TO NOT EDIT /usr/dt/config/Xservers directly. # # /usr/dt/config/Xservers is a factory-default file and will # be unconditionally overwritten upon subsequent installation. # Before making changes to the file, should copy it to the configuration # directory, /etc/dt/config. # # @(#)Xservers.src 1.17 99/04/16 # ############################################################################### # # This file should contain an entry to start the X window server on the # local workstation's display. # # If the local display has an associated character device, it should also # be specified in the line. An example is the "console" device in the # example line below. This allows Dtlogin to correctly monitor that device # when [Command Line Login] mode is selected from the login screen. # # :0 local@console /usr/openwin/bin/X :0 # # If no character device is associated directly with the display, then # "none" should be specified. # # :0 local@none /usr/openwin/bin/X :0 # # By default, the ":0" display is associated with the "/dev/console" # character device. If the true console on the system is not the same # as the ":0" graphics display, then the appropriate device or "none" # should be specified for the ":0" display. # # An example need of "none" here would be a Sun system that had been # configured to direct console I/O thru a tty port instead of using # the workstation's display. # # If you want multiple-displays running dtlogin then make sure the # connection number matches the display name, for example. # # :1 local@none /usr/openwin/bin/X :1 # # This means the X-server is started on connection number "1" and the # display is connecting to the X-server on "1" through display name # "LocalHost:1". # # If you have some X terminals connected which do not support XDMCP, # you can add them here as well. Using XDMCP is recommended over # entries in this file and should be used whenever possible. # # Example Syntax, the items between "< >" are optional: # # :0 local@console /usr/openwin/bin/X :0 # :1 local@none /usr/openwin/bin/X :1 # XTermName:0 foreign # # A "*" in the first field of the entry for a local server # will be expanded to ":0" by Dtlogin. This # syntax is valid only within this file. # # * Local local@console /usr/openwin/bin/Xsun :0 # # If the display type of "local_uid" is used, a user name such as "root" # must follow in next field. In this example, by placing "root" here, # Login will start a local Xserver under the user id of "root". On Sun # system's this will give Xserver the ability to raise interactive # scheduling priority of a client with mouse/keyboard focus to increase # performance of the application. # # :0 Local local_uid@console root /usr/openwin/bin/Xsun :0 # # In limited situations, the Xserver should not be run under a "root" id # for security reasons. Examples are usually specific to Xserver # extensions. # # On Sun Xservers one example involves the Display Postscript extension. # If the DPS extension is granted access (via Xserver option line) to read # and write Unix files via the "-dpsfileops" option (see Xsun man page) it # should not be run under a "root" user id. For increased security, # could instead run it as the "nobody" user. # # :0 Local local_uid@console nobody /usr/openwin/bin/Xsun :0 -dpsfileops # # Another example of interest here for Sun's Xserver is how to start on # two or more screens. A two screen example follows. # # :0 Local local_uid@console root /usr/openwin/bin/X -dev /dev/fb0 -dev /dev/fb1# See the Xsun.1 and Xserver.1 man pages for additional options of # interest. # ################################################################################ :0 Local /usr/openwin/bin/Xsun :0 -nobanner -dev /dev/fb0 defdepth 24