pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: startx doesn't start: can't find screens



Restarting this thread, I've tried all I can, checked and modified /etc/ttys, 
checked the Xservers file, and X, recently built/rebuilt from pkgsrc, won't 
start, no screens found.

It seems to not matter what I have for ttyE4, or if that line is omitted 
entirely.

X server looking for nonexisting font paths commented out in xorg.conf because 
modular-xorg-server is built to look for fonts on the wrong preconfigured paths 
undermines my confidence.

I looked at corresponding files in NetBSD 6.1_STABLE and FreeBSD-current amd64 
to compare but couldn't find anything to make X work in NetBSD.

FreeBSD ports' modular-xorg meta-package does not include xdm, in contrast to 
NetBSD pkgsrc version, though xdm is available in FreeBSD ports.

My /etc/ttys is

#
#       from: @(#)ttys  5.1 (Berkeley) 4/17/89
#       $NetBSD: ttys,v 1.6 2012/06/13 20:49:12 martin Exp $
#
# name  getty                           type    status          comments
#
console "/usr/libexec/getty Pc"         vt100   on secure
constty "/usr/libexec/getty Pc"         vt100   off secure
#ttyE0  "/usr/libexec/getty Pc"         wsvt25  off secure
ttyE1   "/usr/libexec/getty Pc"         wsvt25  on secure
ttyE2   "/usr/libexec/getty Pc"         wsvt25  on secure
ttyE3   "/usr/libexec/getty Pc"         xterm   on secure
#ttyE4  "/usr/libexec/getty Pc"         vt220 on secure
ttyE4   "/usr/libexec/getty Pc"         vt220 off secure
#ttyE4  "/usr/libexec/getty Pc"         pcvt off secure
#ttyE4  "/usr/pkg/bin/xdm -nodaemon"  unknown off secure
#ttyE4   "/usr/pkg/bin/xdm -nodaemon"  xterm   off secure
tty00   "/usr/libexec/getty std.9600"   unknown off secure
tty01   "/usr/libexec/getty std.9600"   unknown off secure
tty02   "/usr/libexec/getty std.9600"   unknown off secure
tty03   "/usr/libexec/getty std.9600"   unknown off secure
tty04   "/usr/libexec/getty std.9600"   unknown off secure
tty05   "/usr/libexec/getty std.9600"   unknown off secure
tty06   "/usr/libexec/getty std.9600"   unknown off secure
tty07   "/usr/libexec/getty std.9600"   unknown off secure

and latest /var/log/Xorg.0.log is

[  3857.261] 
X.Org X Server 1.12.4
Release Date: 2012-08-27
[  3857.262] X Protocol Version 11, Revision 0
[  3857.262] Build Operating System: NetBSD-6.99.43-x86_64 The NetBSD Foundation
[  3857.262] Current Operating System: NetBSD amelia2 6.99.44 NetBSD 6.99.44 
(NetBSD-HEAD amd64.nb7-20140619) #0: Thu Jun 19 20:05:58 UTC 2014  
root@amelia2:/BETA1/usr/obj/BETA1/usr/src/sys/arch/amd64/compile/SANDY7-DRMKMS 
amd64
[  3857.262] Build Date: 15 June 2014  01:04:25PM
[  3857.262]  
[  3857.262] Current version of pixman: 0.32.4
[  3857.262]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  3857.262] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  3857.262] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jun 27 01:40:37 
2014
[  3857.284] (==) Using config file: "/usr/pkg/lib/X11/xorg.conf"
[  3857.286] (==) Using system config directory "/usr/pkg/share/X11/xorg.conf.d"
[  3857.293] (==) ServerLayout "X.org Configured"
[  3857.293] (**) |-->Screen "Screen0" (0)
[  3857.293] (**) |   |-->Monitor "Monitor0"
[  3857.297] (**) |   |-->Device "Card0"
[  3857.297] (**) |-->Input Device "Mouse0"
[  3857.297] (**) |-->Input Device "Keyboard0"
[  3857.297] (==) Not automatically adding devices
[  3857.297] (==) Not automatically enabling devices
[  3857.316] (WW) `fonts.dir' not found (or not valid) in 
"/usr/pkg/share/fonts/X11/cyrillic".
[  3857.316]    Entry deleted from font path.
[  3857.316]    (Run 'mkfontdir' on "/usr/pkg/share/fonts/X11/cyrillic").
[  3857.316] (WW) The directory "/usr/pkg/share/fonts/X11/OTF" does not exist.
[  3857.316]    Entry deleted from font path.
[  3857.316] (WW) `fonts.dir' not found (or not valid) in 
"/usr/pkg/share/fonts/X11/cyrillic".
[  3857.316]    Entry deleted from font path.
[  3857.316]    (Run 'mkfontdir' on "/usr/pkg/share/fonts/X11/cyrillic").
[  3857.316] (WW) The directory "/usr/pkg/lib/X11/fonts/misc" does not exist.
[  3857.316]    Entry deleted from font path.
[  3857.316] (WW) The directory "/usr/pkg/lib/X11/fonts/TTF" does not exist.
[  3857.316]    Entry deleted from font path.
[  3857.316] (WW) The directory "/usr/pkg/lib/X11/fonts/OTF" does not exist.
[  3857.317]    Entry deleted from font path.
[  3857.317] (WW) The directory "/usr/pkg/lib/X11/fonts/Type1" does not exist.
[  3857.317]    Entry deleted from font path.
[  3857.317] (WW) The directory "/usr/pkg/lib/X11/fonts/100dpi" does not exist.
[  3857.317]    Entry deleted from font path.
[  3857.317] (WW) The directory "/usr/pkg/lib/X11/fonts/75dpi" does not exist.
[  3857.317]    Entry deleted from font path.
[  3857.317] (WW) The directory "/usr/pkg/lib/X11/fonts/cyrillic" does not 
exist.
[  3857.317]    Entry deleted from font path.
[  3857.317] (**) FontPath set to:
        /usr/pkg/share/fonts/X11/misc,
        /usr/pkg/share/fonts/X11/TTF,
        /usr/pkg/share/fonts/X11/Type1,
        /usr/pkg/share/fonts/X11/100dpi,
        /usr/pkg/share/fonts/X11/75dpi,
        /usr/pkg/share/fonts/X11/misc,
        /usr/pkg/share/fonts/X11/TTF,
        /usr/pkg/share/fonts/X11/Type1,
        /usr/pkg/share/fonts/X11/100dpi,
        /usr/pkg/share/fonts/X11/75dpi
[  3857.317] (**) ModulePath set to "/usr/pkg/lib/xorg/modules"
[  3857.319] (II) Loader magic: 0x7ac060
[  3857.319] (II) Module ABI versions:
[  3857.319]    X.Org ANSI C Emulation: 0.4
[  3857.319]    X.Org Video Driver: 12.1
[  3857.319]    X.Org XInput driver : 16.0
[  3857.319]    X.Org Server Extension : 6.0
[  3857.325] (--) PCI:*(0:0:2:0) 8086:0162:1462:2111 rev 9, Mem @ 
0xf7800000/4194304, 0xe0000000/268435456, I/O @ 0x0000f000/64
[  3857.326] (II) "extmod" will be loaded. This was enabled by default and also 
specified in the config file.
[  3857.326] (II) "dbe" will be loaded. This was enabled by default and also 
specified in the config file.
[  3857.326] (II) "glx" will be loaded. This was enabled by default and also 
specified in the config file.
[  3857.326] (II) "record" will be loaded by default.
[  3857.326] (II) "dri" will be loaded. This was enabled by default and also 
specified in the config file.
[  3857.326] (II) "dri2" will be loaded. This was enabled by default and also 
specified in the config file.
[  3857.326] (II) LoadModule: "dbe"
[  3857.328] (II) Loading /usr/pkg/lib/xorg/modules/extensions/libdbe.so
[  3857.331] (II) Module dbe: vendor="X.Org Foundation"
[  3857.331]    compiled for 1.12.4, module version = 1.0.0
[  3857.331]    Module class: X.Org Server Extension
[  3857.331]    ABI class: X.Org Server Extension, version 6.0
[  3857.331] (II) Loading extension DOUBLE-BUFFER
[  3857.331] (II) LoadModule: "dri"
[  3857.331] (II) Loading /usr/pkg/lib/xorg/modules/extensions/libdri.so
[  3857.340] (II) Module dri: vendor="X.Org Foundation"
[  3857.340]    compiled for 1.12.4, module version = 1.0.0
[  3857.340]    ABI class: X.Org Server Extension, version 6.0
[  3857.342] (II) Loading extension XFree86-DRI
[  3857.342] (II) LoadModule: "dri2"
[  3857.342] (II) Loading /usr/pkg/lib/xorg/modules/extensions/libdri2.so
[  3857.345] (II) Module dri2: vendor="X.Org Foundation"
[  3857.345]    compiled for 1.12.4, module version = 1.2.0
[  3857.345]    ABI class: X.Org Server Extension, version 6.0
[  3857.345] (II) Loading extension DRI2
[  3857.345] (II) LoadModule: "extmod"
[  3857.346] (II) Loading /usr/pkg/lib/xorg/modules/extensions/libextmod.so
[  3857.352] (II) Module extmod: vendor="X.Org Foundation"
[  3857.352]    compiled for 1.12.4, module version = 1.0.0
[  3857.352]    Module class: X.Org Server Extension
[  3857.352]    ABI class: X.Org Server Extension, version 6.0
[  3857.352] (II) Loading extension MIT-SCREEN-SAVER
[  3857.352] (II) Loading extension XFree86-VidModeExtension
[  3857.352] (II) Loading extension XFree86-DGA
[  3857.352] (II) Loading extension DPMS
[  3857.352] (II) Loading extension XVideo
[  3857.354] (II) Loading extension XVideo-MotionCompensation
[  3857.354] (II) Loading extension X-Resource
[  3857.354] (II) LoadModule: "glx"
[  3857.354] (II) Loading /usr/pkg/lib/xorg/modules/extensions/libglx.so
[  3857.365] (II) Module glx: vendor="X.Org Foundation"
[  3857.365]    compiled for 1.12.4, module version = 1.0.0
[  3857.365]    ABI class: X.Org Server Extension, version 6.0
[  3857.366] (==) AIGLX enabled
[  3857.368] (II) Loading extension GLX
[  3857.368] (II) LoadModule: "record"
[  3857.368] (II) Loading /usr/pkg/lib/xorg/modules/extensions/librecord.so
[  3857.371] (II) Module record: vendor="X.Org Foundation"
[  3857.371]    compiled for 1.12.4, module version = 1.13.0
[  3857.371]    Module class: X.Org Server Extension
[  3857.371]    ABI class: X.Org Server Extension, version 6.0
[  3857.371] (II) Loading extension RECORD
[  3857.371] (II) LoadModule: "intel"
[  3857.378] (II) Loading /usr/pkg/lib/xorg/modules/drivers/intel_drv.so
[  3857.396] (II) Module intel: vendor="X.Org Foundation"
[  3857.396]    compiled for 1.12.4, module version = 2.19.0
[  3857.396]    Module class: X.Org Video Driver
[  3857.396]    ABI class: X.Org Video Driver, version 12.1
[  3857.396] (II) LoadModule: "mouse"
[  3857.398] (II) Loading /usr/pkg/lib/xorg/modules/input/mouse_drv.so
[  3857.402] (II) Module mouse: vendor="X.Org Foundation"
[  3857.402]    compiled for 1.12.4, module version = 1.9.0
[  3857.402]    Module class: X.Org XInput Driver
[  3857.402]    ABI class: X.Org XInput driver, version 16.0
[  3857.402] (II) LoadModule: "kbd"
[  3857.403] (II) Loading /usr/pkg/lib/xorg/modules/input/kbd_drv.so
[  3857.406] (II) Module kbd: vendor="X.Org Foundation"
[  3857.406]    compiled for 1.12.4, module version = 1.8.0
[  3857.406]    Module class: X.Org XInput Driver
[  3857.406]    ABI class: X.Org XInput driver, version 16.0
[  3857.406] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
        i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
        E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
        965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
        4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
        Sandybridge Desktop (GT1), Sandybridge Desktop (GT2),
        Sandybridge Desktop (GT2+), Sandybridge Mobile (GT1),
        Sandybridge Mobile (GT2), Sandybridge Mobile (GT2+),
        Sandybridge Server, Ivybridge Mobile (GT1), Ivybridge Mobile (GT2),
        Ivybridge Desktop (GT1), Ivybridge Desktop (GT2), Ivybridge Server,
        Ivybridge Server (GT2)
[  3857.409] (--) Using wscons driver on /dev/ttyE4 in pcvt compatibility mode 
(version 3.32)
[  3857.421] (EE) No devices detected.
[  3857.421] 
Fatal server error:
[  3857.421] no screens found
[  3857.421] 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[  3857.421] Please also check the log file at "/var/log/Xorg.0.log" for 
additional information.
[  3857.421] 
[  3857.512] Server terminated with error (1). Closing log file.

Tom



Home | Main Index | Thread Index | Old Index