shilei1 发表于 2007-03-13 13:06

关于显示器以前是双屏,拿掉一个后,无法正常显示

机器型号BLAND 2500
root@JILDMCLDW01 # ls -l /dev/fb*      
lrwxrwxrwx   1 root   root          42 Mar 13 12:39 /dev/fb -> /devices/pci@1f,700000/SUNW,XVR-100@2:pfb0
lrwxrwxrwx   1 root   root         8 Oct 12 11:56 /dev/fb0 -> fbs/jfb0
lrwxrwxrwx   1 root   root         8 Oct 12 11:56 /dev/fb1 -> fbs/pfb0
lrwxrwxrwx   1 root   root         9 Oct 12 11:56 /dev/fb2 -> fbs/pfb0a
lrwxrwxrwx   1 root   root         9 Oct 12 11:56 /dev/fb3 -> fbs/pfb0b

/dev/fbs:
total 8
lrwxrwxrwx   1 root   root          47 Oct 12 11:56 jfb0 -> ../../devices/pci@1d,700000/SUNW,XVR-600@2:jfb0
lrwxrwxrwx   1 root   root          47 Oct 12 11:56 pfb0 -> ../../devices/pci@1f,700000/SUNW,XVR-100@2:pfb0
lrwxrwxrwx   1 root   root          48 Oct 12 11:56 pfb0a -> ../../devices/pci@1f,700000/SUNW,XVR-100@2:pfb0a
lrwxrwxrwx   1 root   root          48 Oct 12 11:56 pfb0b -> ../../devices/pci@1f,700000/SUNW,XVR-100@2:pfb0b



root@JILDMCLDW01 # more /usr/dt/config/Xservers
###############################################################################
#
#   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 mode is selected from the login screen.
#
# <HostName>:0 <class> local@console /usr/openwin/bin/X :0 <options>
#
#   If no character device is associated directly with the display, then
#   "none" should be specified.
#
# <HostName>:0 <class> local@none    /usr/openwin/bin/X :0 <options>
#
#   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.
#
# <HostName>:1 local@none /usr/openwin/bin/X :1 <options>
#
#   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:
#
# <HostName>:0 <class> local@console         /usr/openwin/bin/X :0 <options>
# <HostName>:1 <class> local@none            /usr/openwin/bin/X :1 <options>
#XTermName:0 <class> foreign
#
#   A "*" in the first field of the entry for a local server
#   will be expanded to "<hostname>: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/fb2 -/dev /dev/fb3
#   See the Xsun.1 and Xserver.1 man pages for additional options of
#   interest.
#
################################################################################


#   :0Local local_uid@console root /usr/openwin/bin/Xsun :0 -nobann


以前Xservers就是这样配的拿掉后还有一个可以显示,但是启动时的字符界面看不见,启动后有登陆界面,登陆后都正常,后来我重新配置了一下没成功,再改过来的时候连登陆界面都没有了什么也看不见了。应该怎么配置?

shilei1 发表于 2007-03-13 15:17

回答我的问题呀

ztian163 发表于 2013-06-20 14:14

楼主到现在解决了吗 ?总结下帖子啊

nimysun 发表于 2013-06-20 20:10

ztian163 发表于 2013-06-20 14:14 static/image/common/back.gif
楼主到现在解决了吗 ?总结下帖子啊

挖坟贴,关闭
页: [1]
查看完整版本: 关于显示器以前是双屏,拿掉一个后,无法正常显示