Skip to content

Unable to start x server #11

@suyashmahar

Description

@suyashmahar

I run into the following error on starting loweagent using ./loweagent -e X

[INFO]{config}: Config loaded successfully
[INFO]{main}: Determining program mode from exec param: X
[INFO]{main}: Main program name is X
[INFO]{main}: App config identified
[INFO]{main}: Device handler configured
[INFO]{checkexposer}: Ensuring LoWeExposer handled devices...
[INFO]{fb}: Path: /dev/fb0
[INFO]{tty}: Path: /dev/tty0
[INFO]{tty}: Path: /dev/tty99
[INFO]{mice}: Path: /dev/input/evmice
[INFO]{kbd}: Path: /dev/input/evkbd
[INFO]{checkexposer}: Connecting to LoWeExposer on port no. 12345
[INFO]{fb}: Path: /dev/fb0
[INFO]{tty}: Path: /dev/tty0
[INFO]{tty}: Path: /dev/tty99
[INFO]{mice}: Path: /dev/input/evmice
[INFO]{kbd}: Path: /dev/input/evkbd
[INFO]{main}: Checking the availability of all devices...
[INFO]{fb}: Path: /dev/fb0
[INFO]{fb}: Device check ok
[INFO]{tty}: Path: /dev/tty0
[INFO]{tty}: Path: /dev/tty99
[INFO]{tty}: Device check ok
[INFO]{mice}: Path: /dev/input/evmice
[INFO]{mice}: Device check ok
[INFO]{kbd}: Path: /dev/input/evkbd
[INFO]{kbd}: Device check ok
[INFO]{main}: Waiting for process to start...
[INFO]{main}: X will be started
[INFO]{main}: PID: 8812
[INFO]{starter}: Starting X
[INFO]{main}: Spinning...

X.Org X Server 1.19.6
Release Date: 2017-12-20
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.0-138-generic x86_64 Ubuntu
Current Operating System: Linux suyash-pc 4.4.0-17763-Microsoft #194-Microsoft Mon Dec 03 17:58:00 PST 2018 x86_64
Kernel command line: BOOT_IMAGE=/kernel init=/init ro
Build Date: 25 October 2018  04:11:27PM
xorg-server 2:1.19.6-1ubuntu4.2 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.34.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/suyash/.local/share/xorg/Xorg.0.log", Time: Sun Jan 13 00:32:48 2019
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) parse_vt_settings: Cannot open /dev/tty0 (Input/output error)
(EE)
(EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/home/suyash/.local/share/xorg/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.

The x log file output is:

[283112.059]
X.Org X Server 1.19.6
Release Date: 2017-12-20
[283112.060] X Protocol Version 11, Revision 0
[283112.060] Build Operating System: Linux 4.4.0-138-generic x86_64 Ubuntu
[283112.060] Current Operating System: Linux suyash-pc 4.4.0-17763-Microsoft #194-Microsoft Mon Dec 03 17:58:00 PST 2018 x86_64
[283112.061] Kernel command line: BOOT_IMAGE=/kernel init=/init ro
[283112.061] Build Date: 25 October 2018  04:11:27PM
[283112.062] xorg-server 2:1.19.6-1ubuntu4.2 (For technical support please see http://www.ubuntu.com/support)
[283112.191] Current version of pixman: 0.34.0
[283112.233]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[283112.246] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[283112.307] (==) Log file: "/home/suyash/.local/share/xorg/Xorg.0.log", Time: Sun Jan 13 00:32:48 2019
[283112.328] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[283112.333] (==) ServerLayout "Default Layout"
[283112.334] (==) No screen section available. Using defaults.
[283112.334] (**) |-->Screen "Default Screen Section" (0)
[283112.334] (**) |   |-->Monitor "<default monitor>"
[283112.336] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[283112.336] (**) |-->Input Device "Configured Mouse"
[283112.336] (**) |-->Input Device "Configured Keyboard"
[283112.336] (**) Option "AutoAddDevices" "false"
[283112.337] (**) Option "UseSIGIO" "false"
[283112.337] (**) Not automatically adding devices
[283112.337] (==) Automatically enabling devices
[283112.337] (==) Automatically adding GPU devices
[283112.337] (==) Automatically binding GPU devices
[283112.338] (==) Max clients allowed: 256, resource mask: 0x1fffff
[283112.339] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[283112.339]    Entry deleted from font path.
[283112.339] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[283112.340]    Entry deleted from font path.
[283112.340] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[283112.340]    Entry deleted from font path.
[283112.341] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/X11/Type1".
[283112.341]    Entry deleted from font path.
[283112.341]    (Run 'mkfontdir' on "/usr/share/fonts/X11/Type1").
[283112.341] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[283112.341]    Entry deleted from font path.
[283112.342] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[283112.342]    Entry deleted from font path.
[283112.342] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        built-ins
[283112.343] (==) ModulePath set to "/usr/lib/xorg/modules"
[283112.343] (II) Loader magic: 0x7f4db2e47020
[283112.343] (II) Module ABI versions:
[283112.344]    X.Org ANSI C Emulation: 0.4
[283112.344]    X.Org Video Driver: 23.0
[283112.344]    X.Org XInput driver : 24.1
[283112.344]    X.Org Server Extension : 10.0
[283112.345] (EE) dbus-core: error connecting to system bus: org.freedesktop.DBus.Error.FileNotFound (Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory)
[283112.347] (II) no primary bus or device found
[283112.347] (II) LoadModule: "glx"
[283112.354] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[283112.374] (II) Module glx: vendor="X.Org Foundation"
[283112.374]    compiled for 1.19.6, module version = 1.0.0
[283112.374]    ABI class: X.Org Server Extension, version 10.0
[283112.374] (==) Matched modesetting as autoconfigured driver 0
[283112.374] (==) Matched fbdev as autoconfigured driver 1
[283112.375] (==) Matched vesa as autoconfigured driver 2
[283112.375] (==) Assigned the driver to the xf86ConfigLayout
[283112.375] (II) LoadModule: "modesetting"
[283112.376] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[283112.378] (II) Module modesetting: vendor="X.Org Foundation"
[283112.378]    compiled for 1.19.6, module version = 1.19.6
[283112.378]    Module class: X.Org Video Driver
[283112.378]    ABI class: X.Org Video Driver, version 23.0
[283112.378] (II) LoadModule: "fbdev"
[283112.379] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[283112.380] (II) Module fbdev: vendor="X.Org Foundation"
[283112.381]    compiled for 1.19.3, module version = 0.4.4
[283112.381]    Module class: X.Org Video Driver
[283112.381]    ABI class: X.Org Video Driver, version 23.0
[283112.381] (II) LoadModule: "vesa"
[283112.382] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[283112.384] (II) Module vesa: vendor="X.Org Foundation"
[283112.384]    compiled for 1.19.3, module version = 2.3.4
[283112.385]    Module class: X.Org Video Driver
[283112.385]    ABI class: X.Org Video Driver, version 23.0
[283112.385] (II) LoadModule: "evdev"
[283112.387] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[283112.394] (II) Module evdev: vendor="X.Org Foundation"
[283112.394]    compiled for 1.19.3, module version = 2.10.5
[283112.394]    Module class: X.Org XInput Driver
[283112.394]    ABI class: X.Org XInput driver, version 24.1
[283112.395] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[283112.395] (II) FBDEV: driver for framebuffer: fbdev
[283112.395] (II) VESA: driver for VESA chipsets: vesa
[283112.396] (EE)
Fatal server error:
[283112.399] (EE) parse_vt_settings: Cannot open /dev/tty0 (Input/output error)
[283112.400] (EE)
[283112.402] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[283112.420] (EE) Please also check the log file at "/home/suyash/.local/share/xorg/Xorg.0.log" for additional information.
[283112.423] (EE)
[283112.427] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[283112.428] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[283112.428] (EE) Server terminated with error (1). Closing log file.

I followed the steps for running x programs.
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions