<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div dir="ltr" data-setdir="false">I'm trying to run Xwayland within weston without Xorg running, I just want to be able to run Weston/Wayland and be able to run X11 apps within.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">The trouble I am having is Xwayland won't run any X11 apps outside of just running Weston within X11.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I'm a little confused about how to go about this and if I should be using <span>/usr/bin/Xwayland or the xwayland.so?</span></div><div dir="ltr" data-setdir="false"><span><br></span></div><div dir="ltr" data-setdir="false"><span>Here is what happens when I use weston-launch from VT2 without <span>/usr/bin/Xwayland:</span></span></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><div>[13:06:36.209] weston 6.0.1<br> https://wayland.freedesktop.org<br> Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/<br> Build: 6.0.1<br>[13:06:36.209] Command line: /usr/bin/weston --log=weston-launch.log --xwayland<br>[13:06:36.209] OS: Linux, 4.16.0-1-powerpc64, #1 SMP Debian 4.16.5-1 (2018-04-29), ppc64<br>[13:06:36.209] Starting with no config file.<br>[13:06:36.210] Output repaint window is 7 ms maximum.<br>[13:06:36.210] Loading module '/usr/lib/powerpc64-linux-gnu/libweston-6/drm-backend.so'<br>[13:06:36.218] initializing drm backend<br>[13:06:36.223] logind: session control granted<br>[13:06:36.228] using /dev/dri/card0<br>[13:06:36.228] DRM: supports universal planes<br>[13:06:36.228] DRM: does not support atomic modesetting<br>[13:06:36.228] DRM: does not support picture aspect ratio<br>[13:06:36.228] Loading module '/usr/lib/powerpc64-linux-gnu/libweston-6/gl-renderer.so'<br>[13:06:36.440] EGL client extensions: EGL_EXT_device_base<br> EGL_EXT_device_enumeration EGL_EXT_device_query<br> EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses<br> EGL_EXT_client_extensions EGL_KHR_debug<br> EGL_EXT_platform_wayland EGL_EXT_platform_x11<br> EGL_MESA_platform_gbm EGL_MESA_platform_surfaceless<br>[13:06:36.442] EGL version: 1.4<br>[13:06:36.442] EGL vendor: Mesa Project<br>[13:06:36.442] EGL client APIs: OpenGL OpenGL_ES <br>[13:06:36.442] EGL extensions: EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import<br> EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_create_context<br> EGL_KHR_create_context_no_error EGL_KHR_fence_sync<br> EGL_KHR_get_all_proc_addresses EGL_KHR_gl_renderbuffer_image<br> EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image<br> EGL_KHR_gl_texture_cubemap_image EGL_KHR_image<br> EGL_KHR_image_base EGL_KHR_image_pixmap<br> EGL_KHR_no_config_context EGL_KHR_reusable_sync<br> EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float<br> EGL_KHR_wait_sync EGL_MESA_configless_context<br> EGL_MESA_drm_image EGL_MESA_image_dma_buf_export<br> EGL_WL_bind_wayland_display<br>[13:06:36.442] warning: Disabling render GPU timeline and explicit synchronization due to missing EGL_ANDROID_native_fence_sync extension<br>[13:06:36.442] EGL_KHR_surfaceless_context available<br>[13:06:36.447] GL version: OpenGL ES 2.0 Mesa 19.1.4<br>[13:06:36.448] GLSL version: OpenGL ES GLSL ES 1.0.16<br>[13:06:36.448] GL vendor: nouveau<br>[13:06:36.448] GL renderer: NV43<br>[13:06:36.448] GL extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays<br> GL_EXT_texture_filter_anisotropic<br> GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1<br> GL_EXT_texture_format_BGRA8888 GL_OES_depth24<br> GL_OES_element_index_uint GL_OES_fbo_render_mipmap<br> GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_stencil8<br> GL_OES_texture_3D GL_OES_texture_npot GL_OES_vertex_half_float<br> GL_OES_EGL_image GL_OES_depth_texture<br> GL_OES_packed_depth_stencil GL_NV_conditional_render<br> GL_OES_get_program_binary GL_APPLE_texture_max_level<br> GL_EXT_discard_framebuffer GL_EXT_read_format_bgra<br> GL_EXT_frag_depth GL_NV_fbo_color_attachments<br> GL_OES_EGL_image_external GL_OES_EGL_sync<br> GL_OES_vertex_array_object GL_ANGLE_texture_compression_dxt3<br> GL_ANGLE_texture_compression_dxt5<br> GL_EXT_occlusion_query_boolean GL_EXT_unpack_subimage<br> GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth<br> GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers<br> GL_EXT_map_buffer_range GL_KHR_debug<br> GL_OES_required_internalformat GL_OES_surfaceless_context<br> GL_EXT_separate_shader_objects GL_EXT_draw_elements_base_vertex<br> GL_EXT_texture_border_clamp GL_KHR_context_flush_control<br> GL_OES_draw_elements_base_vertex GL_OES_texture_border_clamp<br> GL_KHR_no_error GL_EXT_disjoint_timer_query<br> GL_EXT_texture_compression_s3tc_srgb<br> GL_KHR_parallel_shader_compile GL_EXT_depth_clamp<br>[13:06:36.448] GL ES 2 renderer features:<br> read-back format: BGRA<br> wl_shm sub-image to texture: yes<br> EGL Wayland extension: yes<br>[13:06:36.463] event0 - Microsoft Microsoft® 2.4GHz Transceiver v7.0: is tagged by udev as: Keyboard<br>[13:06:36.464] event0 - Microsoft Microsoft® 2.4GHz Transceiver v7.0: device is a keyboard<br>[13:06:36.471] event1 - Microsoft Microsoft® 2.4GHz Transceiver v7.0: is tagged by udev as: Keyboard Mouse<br>[13:06:36.472] event1 - Microsoft Microsoft® 2.4GHz Transceiver v7.0: device is a pointer<br>[13:06:36.472] event1 - Microsoft Microsoft® 2.4GHz Transceiver v7.0: device is a keyboard<br>[13:06:36.482] event2 - Microsoft Microsoft® 2.4GHz Transceiver v7.0: is tagged by udev as: Keyboard<br>[13:06:36.482] event2 - Microsoft Microsoft® 2.4GHz Transceiver v7.0: device is a keyboard<br>[13:06:36.492] event3 - HID 05ac:1000: is tagged by udev as: Keyboard<br>[13:06:36.492] event3 - HID 05ac:1000: device is a keyboard<br>[13:06:36.558] event4 - HID 05ac:1000: is tagged by udev as: Mouse<br>[13:06:36.559] event4 - HID 05ac:1000: device is a pointer<br>[13:06:36.572] libinput: configuring device "Microsoft Microsoft® 2.4GHz Transceiver v7.0".<br>[13:06:36.573] libinput: configuring device "Microsoft Microsoft® 2.4GHz Transceiver v7.0".<br>[13:06:36.573] libinput: configuring device "Microsoft Microsoft® 2.4GHz Transceiver v7.0".<br>[13:06:36.573] libinput: configuring device "HID 05ac:1000".<br>[13:06:36.573] libinput: configuring device "HID 05ac:1000".<br>[13:06:36.605] DRM: head 'DVI-I-1' found, connector 38 is connected, EDID make 'DEL', model 'DELL 1704FPT', serial 'Y42994B1AAHK'<br>[13:06:36.647] DRM: head 'DVI-I-2' found, connector 41 is disconnected.<br>[13:06:36.647] Registered plugin API 'weston_drm_output_api_v1' of size 24<br>[13:06:36.647] Registered plugin API 'weston_drm_virtual_output_api_v1' of size 48<br>[13:06:36.648] Chosen EGL config details:<br> RGBA bits: 8 8 8 0<br> swap interval range: 1 - 1<br>[13:06:36.648] Output DVI-I-1 (crtc 35) video modes:<br> 1280x1024@60.0, preferred, current, 108.0 MHz<br> 1280x1024@75.0, 135.0 MHz<br> 1152x864@75.0, 108.0 MHz<br> 1024x768@75.0, 78.8 MHz<br> 1024x768@60.0, 65.0 MHz<br> 800x600@75.0, 49.5 MHz<br> 800x600@60.3, 40.0 MHz<br> 640x480@75.0, 31.5 MHz<br> 640x480@59.9, 25.2 MHz<br> 720x400@70.1, 28.3 MHz<br>[13:06:36.648] associating input device event0 with output DVI-I-1 (none by udev)<br>[13:06:36.648] associating input device event1 with output DVI-I-1 (none by udev)<br>[13:06:36.648] associating input device event2 with output DVI-I-1 (none by udev)<br>[13:06:36.648] associating input device event3 with output DVI-I-1 (none by udev)<br>[13:06:36.648] associating input device event4 with output DVI-I-1 (none by udev)<br>[13:06:36.648] Output 'DVI-I-1' enabled with head(s) DVI-I-1<br>[13:06:36.648] Compositor capabilities:<br> arbitrary surface rotation: yes<br> screen capture uses y-flip: yes<br> presentation clock: CLOCK_MONOTONIC, id 1<br> presentation clock resolution: 0.000000001 s<br>[13:06:36.648] Loading module '/usr/lib/powerpc64-linux-gnu/weston/desktop-shell.so'<br>[13:06:36.650] launching '/usr/lib/powerpc64-linux-gnu/weston-keyboard'<br>[13:06:36.652] Loading module '/usr/lib/powerpc64-linux-gnu/libweston-6/xwayland.so'<br>[13:06:36.688] Registered plugin API 'weston_xwayland_v1' of size 32<br>[13:06:36.688] Registered plugin API 'weston_xwayland_surface_v1' of size 16<br>[13:06:36.688] failed to bind to @/tmp/.X11-unix/X0: Address already in use<br>[13:06:36.688] xserver listening on display :1<br>[13:06:36.688] launching '/usr/lib/powerpc64-linux-gnu/weston-desktop-shell'<br>[13:06:45.955] Spawned Xwayland server, pid 15023<br>[13:06:45.955] exec of '/usr/bin/Xwayland :1 -rootless -listen 54 -listen 55 -wm 56 -terminate' failed: No such file or directory<br><div>[13:06:45.957] xserver crashing too fast: 256</div><div><br></div><div dir="ltr" data-setdir="false">And when I install Xwayland and stop Xorg from running I get:</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><div>Date: 2019-09-03 EDT<br>[13:36:03.974] weston 6.0.1<br> https://wayland.freedesktop.org<br> Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/<br> Build: 6.0.1<br>[13:36:03.975] Command line: /usr/bin/weston --log=wl2.log --xwayland<br>[13:36:03.975] OS: Linux, 4.16.0-1-powerpc64, #1 SMP Debian 4.16.5-1 (2018-04-29), ppc64<br>[13:36:03.994] Starting with no config file.<br>[13:36:04.003] Output repaint window is 7 ms maximum.<br>[13:36:04.046] Loading module '/usr/lib/powerpc64-linux-gnu/libweston-6/drm-backend.so'<br>[13:36:04.137] initializing drm backend<br>[13:36:04.142] logind: session control granted<br>[13:36:04.145] using /dev/dri/card0<br>[13:36:04.146] DRM: supports universal planes<br>[13:36:04.146] DRM: does not support atomic modesetting<br>[13:36:04.146] DRM: does not support picture aspect ratio<br>[13:36:04.162] Loading module '/usr/lib/powerpc64-linux-gnu/libweston-6/gl-renderer.so'<br>[13:36:06.983] EGL client extensions: EGL_EXT_device_base<br> EGL_EXT_device_enumeration EGL_EXT_device_query<br> EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses<br> EGL_EXT_client_extensions EGL_KHR_debug<br> EGL_EXT_platform_wayland EGL_EXT_platform_x11<br> EGL_MESA_platform_gbm EGL_MESA_platform_surfaceless<br>[13:36:06.984] EGL version: 1.4<br>[13:36:06.984] EGL vendor: Mesa Project<br>[13:36:06.984] EGL client APIs: OpenGL OpenGL_ES <br>[13:36:06.984] EGL extensions: EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import<br> EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_create_context<br> EGL_KHR_create_context_no_error EGL_KHR_fence_sync<br> EGL_KHR_get_all_proc_addresses EGL_KHR_gl_renderbuffer_image<br> EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image<br> EGL_KHR_gl_texture_cubemap_image EGL_KHR_image<br> EGL_KHR_image_base EGL_KHR_image_pixmap<br> EGL_KHR_no_config_context EGL_KHR_reusable_sync<br> EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float<br> EGL_KHR_wait_sync EGL_MESA_configless_context<br> EGL_MESA_drm_image EGL_MESA_image_dma_buf_export<br> EGL_WL_bind_wayland_display<br>[13:36:06.985] warning: Disabling render GPU timeline and explicit synchronization due to missing EGL_ANDROID_native_fence_sync extension<br>[13:36:06.985] EGL_KHR_surfaceless_context available<br>[13:36:07.292] GL version: OpenGL ES 2.0 Mesa 19.1.4<br>[13:36:07.292] GLSL version: OpenGL ES GLSL ES 1.0.16<br>[13:36:07.292] GL vendor: nouveau<br>[13:36:07.292] GL renderer: NV43<br>[13:36:07.292] GL extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays<br> GL_EXT_texture_filter_anisotropic<br> GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1<br> GL_EXT_texture_format_BGRA8888 GL_OES_depth24<br> GL_OES_element_index_uint GL_OES_fbo_render_mipmap<br> GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_stencil8<br> GL_OES_texture_3D GL_OES_texture_npot GL_OES_vertex_half_float<br> GL_OES_EGL_image GL_OES_depth_texture<br> GL_OES_packed_depth_stencil GL_NV_conditional_render<br> GL_OES_get_program_binary GL_APPLE_texture_max_level<br> GL_EXT_discard_framebuffer GL_EXT_read_format_bgra<br> GL_EXT_frag_depth GL_NV_fbo_color_attachments<br> GL_OES_EGL_image_external GL_OES_EGL_sync<br> GL_OES_vertex_array_object GL_ANGLE_texture_compression_dxt3<br> GL_ANGLE_texture_compression_dxt5<br> GL_EXT_occlusion_query_boolean GL_EXT_unpack_subimage<br> GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth<br> GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers<br> GL_EXT_map_buffer_range GL_KHR_debug<br> GL_OES_required_internalformat GL_OES_surfaceless_context<br> GL_EXT_separate_shader_objects GL_EXT_draw_elements_base_vertex<br> GL_EXT_texture_border_clamp GL_KHR_context_flush_control<br> GL_OES_draw_elements_base_vertex GL_OES_texture_border_clamp<br> GL_KHR_no_error GL_EXT_disjoint_timer_query<br> GL_EXT_texture_compression_s3tc_srgb<br> GL_KHR_parallel_shader_compile GL_EXT_depth_clamp<br>[13:36:07.292] GL ES 2 renderer features:<br> read-back format: BGRA<br> wl_shm sub-image to texture: yes<br> EGL Wayland extension: yes<br>[13:36:07.344] event0 - Microsoft Microsoft® 2.4GHz Transceiver v7.0: is tagged by udev as: Keyboard<br>[13:36:07.344] event0 - Microsoft Microsoft® 2.4GHz Transceiver v7.0: device is a keyboard<br>[13:36:07.351] event1 - Microsoft Microsoft® 2.4GHz Transceiver v7.0: is tagged by udev as: Keyboard Mouse<br>[13:36:07.352] event1 - Microsoft Microsoft® 2.4GHz Transceiver v7.0: device is a pointer<br>[13:36:07.352] event1 - Microsoft Microsoft® 2.4GHz Transceiver v7.0: device is a keyboard<br>[13:36:07.358] event2 - Microsoft Microsoft® 2.4GHz Transceiver v7.0: is tagged by udev as: Keyboard<br>[13:36:07.359] event2 - Microsoft Microsoft® 2.4GHz Transceiver v7.0: device is a keyboard<br>[13:36:07.365] event3 - HID 05ac:1000: is tagged by udev as: Keyboard<br>[13:36:07.366] event3 - HID 05ac:1000: device is a keyboard<br>[13:36:07.429] event4 - HID 05ac:1000: is tagged by udev as: Mouse<br>[13:36:07.430] event4 - HID 05ac:1000: device is a pointer<br>[13:36:07.588] libinput: configuring device "Microsoft Microsoft® 2.4GHz Transceiver v7.0".<br>[13:36:07.588] libinput: configuring device "Microsoft Microsoft® 2.4GHz Transceiver v7.0".<br>[13:36:07.588] libinput: configuring device "Microsoft Microsoft® 2.4GHz Transceiver v7.0".<br>[13:36:07.588] libinput: configuring device "HID 05ac:1000".<br>[13:36:07.588] libinput: configuring device "HID 05ac:1000".<br>[13:36:07.621] DRM: head 'DVI-I-1' found, connector 38 is connected, EDID make 'DEL', model 'DELL 1704FPT', serial 'Y42994B1AAHK'<br>[13:36:07.661] DRM: head 'DVI-I-2' found, connector 41 is disconnected.<br>[13:36:07.662] Registered plugin API 'weston_drm_output_api_v1' of size 24<br>[13:36:07.662] Registered plugin API 'weston_drm_virtual_output_api_v1' of size 48<br>[13:36:07.662] Chosen EGL config details:<br> RGBA bits: 8 8 8 0<br> swap interval range: 1 - 1<br>[13:36:07.662] Output DVI-I-1 (crtc 35) video modes:<br> 1280x1024@60.0, preferred, current, 108.0 MHz<br> 1280x1024@75.0, 135.0 MHz<br> 1152x864@75.0, 108.0 MHz<br> 1024x768@75.0, 78.8 MHz<br> 1024x768@60.0, 65.0 MHz<br> 800x600@75.0, 49.5 MHz<br> 800x600@60.3, 40.0 MHz<br> 640x480@75.0, 31.5 MHz<br> 640x480@59.9, 25.2 MHz<br> 720x400@70.1, 28.3 MHz<br>[13:36:07.662] associating input device event0 with output DVI-I-1 (none by udev)<br>[13:36:07.662] associating input device event1 with output DVI-I-1 (none by udev)<br>[13:36:07.662] associating input device event2 with output DVI-I-1 (none by udev)<br>[13:36:07.662] associating input device event3 with output DVI-I-1 (none by udev)<br>[13:36:07.662] associating input device event4 with output DVI-I-1 (none by udev)<br>[13:36:07.662] Output 'DVI-I-1' enabled with head(s) DVI-I-1<br>[13:36:07.662] Compositor capabilities:<br> arbitrary surface rotation: yes<br> screen capture uses y-flip: yes<br> presentation clock: CLOCK_MONOTONIC, id 1<br> presentation clock resolution: 0.000000001 s<br>[13:36:07.711] Loading module '/usr/lib/powerpc64-linux-gnu/weston/desktop-shell.so'<br>[13:36:07.771] launching '/usr/lib/powerpc64-linux-gnu/weston-keyboard'<br>[13:36:07.828] Loading module '/usr/lib/powerpc64-linux-gnu/libweston-6/xwayland.so'<br>[13:36:08.092] Registered plugin API 'weston_xwayland_v1' of size 32<br>[13:36:08.092] Registered plugin API 'weston_xwayland_surface_v1' of size 16<br>[13:36:08.093] xserver listening on display :0<br>[13:36:08.093] launching '/usr/lib/powerpc64-linux-gnu/weston-desktop-shell'<br>[13:36:19.992] Spawned Xwayland server, pid 620<br>[13:36:20.722] xserver crashing too fast: 4</div><div><br></div><div><br></div><div dir="ltr" data-setdir="false">Anyone know how I can get this working, why I'm getting the Xserver crashing too fast error?<br></div></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><br></div></div><div><br></div></div></div></body></html>