Pengwin
Pengwin copied to clipboard
Unable to launch xinit / gnome-session
Describe the bug Cannot open /dev/tty0 (Input/output error) when launching xinit
To Reproduce Steps to reproduce the behavior:
-
Start X(410) server
-
Set display mode mode to floating desktop
-
start WLinux terminal
$ sudo apt install gnome-shell
$ sudo apt install xinit
$ xinit
Expected behavior A new x-session should be started
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Error output
X.Org X Server 1.20.3
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.0-8-amd64 x86_64 Debian
Current Operating System: Linux WS-608 4.4.0-17134-Microsoft #345-Microsoft Wed Sep 19 17:47:00 PST 2018 x86_64
Kernel command line: BOOT_IMAGE=/kernel init=/init ro
Build Date: 25 October 2018 06:15:23PM
xorg-server 2:1.20.3-1 (https://www.debian.org/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: "/var/log/Xorg.0.log", Time: Thu Dec 6 09:25:27 2018
(==) 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 "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
after 7 requests (7 known processed) with 0 events remaining.
Basic Troubleshooting Checklist
[ x ] I have searched Google for the error message. [ x ] I have checked official WSL troubleshooting documentation: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#confirm-wsl-is-enabled. [ x ] I have searched the official Microsoft WSL issues page: https://github.com/Microsoft/WSL/issues. [ x ] I have searched the WLinux issues page: https://github.com/WhitewaterFoundry/WLinux/issues. [ x ] I have reset WLinux: Settings->Apps->Apps & features->WLinux->Advanced Options->Reset. [ x ] I have disabled and re-enabled WSL in Windows Features. [ x ] I have run Windows 10 updates and restarted.
What other troubleshooting have you attempted?
Insert here:
1.1.27.0
Find: Settings->Apps->Apps & features->WLinux->Advanced Options->Version.
Insert here:
OS Name: Microsoft Windows 10 Pro OS Version: 10.0.17134 N/A Build 17134 OS Manufacturer: Microsoft Corporation OS Configuration: Member Workstation OS Build Type: Multiprocessor Free BIOS Version: Dell Inc. 1.6.0, 8/27/2018
Run 'systeminfo | findstr /C:"OS"' in Command Prompt and insert here:
For help on retrieving: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#check-your-build-number
Can you please post /var/log/Xorg.0.log?
[ 44425.743]
X.Org X Server 1.20.3
X Protocol Version 11, Revision 0
[ 44425.744] Build Operating System: Linux 4.9.0-8-amd64 x86_64 Debian
[ 44425.745] Current Operating System: Linux WS-608 4.4.0-17134-Microsoft #345-Microsoft Wed Sep 19 17:47:00 PST 2018 x86_64
[ 44425.745] Kernel command line: BOOT_IMAGE=/kernel init=/init ro
[ 44425.746] Build Date: 25 October 2018 06:15:23PM
[ 44425.747] xorg-server 2:1.20.3-1 (https://www.debian.org/support)
[ 44425.747] Current version of pixman: 0.34.0
[ 44425.748] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 44425.749] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 44425.751] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Dec 6 09:25:27 2018
[ 44425.753] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 44425.754] (==) No Layout section. Using the first Screen section.
[ 44425.754] (==) No screen section available. Using defaults.
[ 44425.754] (**) |-->Screen "Default Screen Section" (0)
[ 44425.754] (**) | |-->Monitor "<default monitor>"
[ 44425.754] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 44425.754] (==) Automatically adding devices
[ 44425.754] (==) Automatically enabling devices
[ 44425.754] (==) Automatically adding GPU devices
[ 44425.754] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 44425.754] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 44425.754] Entry deleted from font path.
[ 44425.754] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 44425.754] Entry deleted from font path.
[ 44425.754] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 44425.754] Entry deleted from font path.
[ 44425.754] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[ 44425.754] Entry deleted from font path.
[ 44425.754] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 44425.754] Entry deleted from font path.
[ 44425.754] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 44425.754] Entry deleted from font path.
[ 44425.754] (==) FontPath set to:
/usr/share/fonts/X11/misc,
built-ins
[ 44425.754] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 44425.754] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 44425.754] (II) Loader magic: 0x7f8579c24e20
[ 44425.754] (II) Module ABI versions:
[ 44425.754] X.Org ANSI C Emulation: 0.4
[ 44425.754] X.Org Video Driver: 24.0
[ 44425.754] X.Org XInput driver : 24.1
[ 44425.754] X.Org Server Extension : 10.0
[ 44425.755] (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)
[ 44425.755] (II) no primary bus or device found
[ 44425.755] (II) LoadModule: "glx"
[ 44425.755] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 44425.759] (II) Module glx: vendor="X.Org Foundation"
[ 44425.759] compiled for 1.20.3, module version = 1.0.0
[ 44425.759] ABI class: X.Org Server Extension, version 10.0
[ 44425.759] (==) Matched modesetting as autoconfigured driver 0
[ 44425.759] (==) Matched fbdev as autoconfigured driver 1
[ 44425.759] (==) Matched vesa as autoconfigured driver 2
[ 44425.759] (==) Assigned the driver to the xf86ConfigLayout
[ 44425.759] (II) LoadModule: "modesetting"
[ 44425.760] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 44425.760] (II) Module modesetting: vendor="X.Org Foundation"
[ 44425.760] compiled for 1.20.3, module version = 1.20.3
[ 44425.760] Module class: X.Org Video Driver
[ 44425.760] ABI class: X.Org Video Driver, version 24.0
[ 44425.760] (II) LoadModule: "fbdev"
[ 44425.760] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 44425.760] (II) Module fbdev: vendor="X.Org Foundation"
[ 44425.760] compiled for 1.20.0, module version = 0.5.0
[ 44425.760] Module class: X.Org Video Driver
[ 44425.761] ABI class: X.Org Video Driver, version 24.0
[ 44425.761] (II) LoadModule: "vesa"
[ 44425.761] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 44425.761] (II) Module vesa: vendor="X.Org Foundation"
[ 44425.761] compiled for 1.20.1, module version = 2.4.0
[ 44425.761] Module class: X.Org Video Driver
[ 44425.761] ABI class: X.Org Video Driver, version 24.0
[ 44425.761] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 44425.761] (II) FBDEV: driver for framebuffer: fbdev
[ 44425.761] (II) VESA: driver for VESA chipsets: vesa
[ 44425.761] (EE)
Fatal server error:
[ 44425.763] (EE) parse_vt_settings: Cannot open /dev/tty0 (Input/output error)
[ 44425.764] (EE)
[ 44425.765] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 44425.767] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 44425.768] (EE)
[ 44425.770] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[ 44425.770] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[ 44425.770] (EE) Server terminated with error (1). Closing log file.
Update:
Xfce4 is partly supported!
sudo apt install xfce4 gnome-terminal
xfce4-session
Desktop, panels and settings seems to be working fine, I can also launch gnome-terminal within xfce4. Default web browser gives "input/output error" dialog
Update 2:
Following the instructions in https://www.reddit.com/r/bashonubuntuonwindows/comments/9lpc0o/ubuntu_1804_dbus_fix_instructions_with/ I was able to start dbus service and run dbus-uuidgen.
Builtin browser in Xfxe4 is still crashing, Firefox seems to work fine, can even play video (without sound)
Cannot Execute the file manager. Results in input/output error. Running dmesg yields
[ 0.021603] Microsoft 4.4.0-17763.194-Microsoft 4.4.35
[ 0.230162] <3>init: (3) ERROR: CreateProcessParseCommon:839: Failed to translate C:\Users\{USER}\AppData\Local\Packages\WhitewaterFoundryLtd.Co.16571368D6CFF_kd1vv0z0vy70w\LocalState\rootfs\home\ast
Just an update here. You can execute the file manager from the terminal by issuing the command
dbus-run-session thunar
I have tried a similar approach to other things such as the web browser without any success.
Gnome now works when systemd is enabled