CypherpunkArmory / UserLAnd

Main UserLAnd Repository
Other
3.55k stars 392 forks source link

Bug report - [Ubuntu pro desktop environment full black screen with vncserver] #1784

Open Saikatsaha1996 opened 1 year ago

Saikatsaha1996 commented 1 year ago

Today i installed Ubuntu pro Desktop environment in my device but unfortunately when i am trying to start session with vnc .. black screen.. but session is running..

Describe the bug

Session running in background but all unable to launch with black screen

I added vnc log

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

Xvnc TigerVNC 1.12.0 - built 2022-03-25 17:06
Copyright (C) 1999-2021 TigerVNC Team and many others (see README.rst)
See https://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12101003, X.Org

Mon Jun  5 13:41:24 2023
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on local interface(s), port 5901
 vncext:      created VNC server for screen 0
3NI3X0 New Xtigervnc server 'localhost:1 (userland)' on port 5901 for display :1.
3NI3X0 Use xtigervncviewer -SecurityTypes VncAuth -passwd /home/userland/.vnc/passwd :1 to connect to the VNC server.
** Message: 13:41:24.733: main.vala:101: Session is (null)
** Message: 13:41:24.734: main.vala:102: DE is (null)
** Message: 13:41:24.735: main.vala:106: No session set, fallback to LXDE session
** Message: 13:41:24.735: main.vala:112: No desktop environnement set, fallback to LXDE
[mi] mieq: warning: overriding existing handler (nil) with 0x3000152ca0 for event 2
[mi] mieq: warning: overriding existing handler (nil) with 0x3000152ca0 for event 3
** Message: 13:41:25.373: main.vala:133: log directory: /home/userland/.cache/lxsession/LXDE
** Message: 13:41:25.373: main.vala:134: log path: /home/userland/.cache/lxsession/LXDE/run.log

Mon Jun  5 13:41:29 2023
 Connections: accepted: 127.0.0.1::47172
 SConnection: Client needs protocol version 3.8
 SConnection: Client requests security type VncAuth(2)
 VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888
 VNCSConnST:  Client pixel format depth 24 (32bpp) little-endian bgr888

Mon Jun  5 13:42:26 2023
 VNCSConnST:  closing 127.0.0.1::47172: Server shutdown
 EncodeManager: Framebuffer updates: 2
 EncodeManager:   Raw:
 EncodeManager:     Solid: 36 rects, 2.304 Mpixels
 EncodeManager:            8.78947 MiB (1:1 ratio)
 EncodeManager:   Total: 36 rects, 2.304 Mpixels
 EncodeManager:          8.78947 MiB (1:1 ratio)
 ComparingUpdateTracker: 0 pixels in / 0 pixels out
 ComparingUpdateTracker: (1:nan ratio)
The X session exited with status 1!
Killing Xtigervnc process ID 9095... success!
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

Xvnc TigerVNC 1.12.0 - built 2022-03-25 17:06
Copyright (C) 1999-2021 TigerVNC Team and many others (see README.rst)
See https://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12101003, X.Org

Mon Jun  5 13:43:41 2023
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on local interface(s), port 5901
 vncext:      created VNC server for screen 0
3NI3X0 New Xtigervnc server 'localhost:1 (userland)' on port 5901 for display :1.
3NI3X0 Use xtigervncviewer -SecurityTypes VncAuth -passwd /home/userland/.vnc/passwd :1 to connect to the VNC server.
** Message: 13:43:41.713: main.vala:101: Session is (null)
** Message: 13:43:41.713: main.vala:102: DE is (null)
** Message: 13:43:41.713: main.vala:106: No session set, fallback to LXDE session
** Message: 13:43:41.714: main.vala:112: No desktop environnement set, fallback to LXDE
[mi] mieq: warning: overriding existing handler (nil) with 0x3000152ca0 for event 2
[mi] mieq: warning: overriding existing handler (nil) with 0x3000152ca0 for event 3
** Message: 13:43:41.757: main.vala:133: log directory: /home/userland/.cache/lxsession/LXDE
** Message: 13:43:41.758: main.vala:134: log path: /home/userland/.cache/lxsession/LXDE/run.log

Mon Jun  5 13:44:01 2023
 Connections: accepted: 127.0.0.1::47196
 SConnection: Client needs protocol version 3.8
 SConnection: Client requests security type VncAuth(2)
 VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888
 VNCSConnST:  Client pixel format depth 24 (32bpp) little-endian bgr888

Mon Jun  5 13:45:01 2023
 VNCSConnST:  closing 127.0.0.1::47196: Server shutdown
 EncodeManager: Framebuffer updates: 2
 EncodeManager:   Raw:
 EncodeManager:     Solid: 36 rects, 2.304 Mpixels
 EncodeManager:            8.78947 MiB (1:1 ratio)
 EncodeManager:   Total: 36 rects, 2.304 Mpixels
 EncodeManager:          8.78947 MiB (1:1 ratio)
 ComparingUpdateTracker: 0 pixels in / 0 pixels out
 ComparingUpdateTracker: (1:nan ratio)
The X session exited with status 1!
Killing Xtigervnc process ID 10146... success!

Running log

** Message: 13:43:41.758: environement.vala:58: Exporting primary_variable
** Message: 13:43:41.759: environement.vala:59: desktop_environnement XDG_CURRENT_DESKTOP
** Message: 13:43:41.759: environement.vala:150: confir_dirs is null, export : /etc/xdg
** Message: 13:43:41.759: environement.vala:184: Exporting XDG_CONFIG_DIRS
** Message: 13:43:41.759: environement.vala:191: data_dirs is null, export : /usr/local/share:/usr/share:/usr/share/gdm:/var/lib/menu-xdg
** Message: 13:43:41.759: environement.vala:225: Exporting XDG_DATA_DIRS
** Message: 13:43:41.760: utils.vala:79: Config system location : /etc/xdg/lxsession/LXDE
** Message: 13:43:41.760: utils.vala:85: System system path location : /etc/xdg/lxsession/LXDE/desktop.conf
** Message: 13:43:41.760: utils.vala:89: Final file used : /etc/xdg/lxsession/LXDE/desktop.conf
** Message: 13:43:41.761: settings.vala:540: Key file does not have key ?iGtk/ColorScheme? in group ?GTK?
** Message: 13:43:41.761: settings.vala:540: Key file does not have key ?windows_manager/command? in group ?Session?
** Message: 13:43:41.761: settings.vala:540: Key file does not have key ?panel/command? in group ?Session?
** Message: 13:43:41.761: settings.vala:540: Key file does not have key ?dock/command? in group ?Session?
** Message: 13:43:41.762: settings.vala:540: Key file does not have key ?file_manager/command? in group ?Session?
** Message: 13:43:41.762: settings.vala:540: Key file does not have key ?desktop_manager/command? in group ?Session?
** Message: 13:43:41.762: settings.vala:540: Key file does not have key ?launcher_manager/command? in group ?Session?
** Message: 13:43:41.762: settings.vala:540: Key file does not have key ?composite_manager/command? in group ?Session?
** Message: 13:43:41.762: settings.vala:540: Key file does not have key ?im1/command? in group ?Session?
** Message: 13:43:41.763: settings.vala:540: Key file does not have key ?im2/command? in group ?Session?
** Message: 13:43:41.763: settings.vala:540: Key file does not have key ?widget1/command? in group ?Session?
** Message: 13:43:41.763: settings.vala:540: Key file does not have key ?notification/command? in group ?Session?
** Message: 13:43:41.763: settings.vala:540: Key file does not have key ?keybindings/command? in group ?Session?
** Message: 13:43:41.763: settings.vala:540: Key file does not have key ?im_manager/command? in group ?Session?
** Message: 13:43:41.764: settings.vala:540: Key file does not have key ?screensaver/command? in group ?Session?                                                                 ** Message: 13:43:41.764: settings.vala:540: Key file does not have key ?power_manager/command? in group ?Session?                                                               ** Message: 13:43:41.764: settings.vala:540: Key file does not have key ?audio_manager/command? in group ?Session?
** Message: 13:43:41.764: settings.vala:540: Key file does not have key ?workspace_manager/command? in group ?Session?                                                           ** Message: 13:43:41.765: settings.vala:540: Key file does not have key ?screenshot_manager/command? in group ?Session?
** Message: 13:43:41.765: settings.vala:540: Key file does not have key ?message_manager/command? in group ?Session?
** Message: 13:43:41.765: settings.vala:540: Key file does not have key ?upgrade_manager/command? in group ?Session?
** Message: 13:43:41.765: settings.vala:540: Key file does not have key ?updates_manager/command? in group ?Session?
** Message: 13:43:41.765: settings.vala:540: Key file does not have key ?updates_manager/timeout? in group ?Session?
** Message: 13:43:41.765: settings.vala:540: Key file does not have key ?crash_manager/command? in group ?Session?
** Message: 13:43:41.766: settings.vala:540: Key file does not have key ?crash_manager/dev_mode? in group ?Session?                                                              ** Message: 13:43:41.766: settings.vala:540: Key file does not have key ?crash_manager/timeout? in group ?Session?
** Message: 13:43:41.766: settings.vala:540: Key file does not have key ?upstart_user_session? in group ?Session?                                                                ** Message: 13:43:41.766: settings.vala:540: Key file does not have key ?proxy_manager/http? in group ?Session?
** Message: 13:43:41.766: settings.vala:540: Key file does not have key ?a11y/command? in group ?Session?                                                                        ** Message: 13:43:41.767: settings.vala:540: Key file does not have key ?xrandr/command? in group ?Session?
** Message: 13:43:41.767: settings.vala:540: Key file does not have key ?network_gui/command? in group ?Session?
** Message: 13:43:41.767: settings.vala:540: Key file does not have key ?webbrowser/command? in group ?Session?
** Message: 13:43:41.767: settings.vala:540: Key file does not have key ?email/command? in group ?Session?
** Message: 13:43:41.767: settings.vala:540: Key file does not have key ?pdf_reader/command? in group ?Session?
** Message: 13:43:41.767: settings.vala:540: Key file does not have key ?video_player/command? in group ?Session?
** Message: 13:43:41.768: settings.vala:540: Key file does not have key ?audio_player/command? in group ?Session?
** Message: 13:43:41.768: settings.vala:540: Key file does not have key ?image_display/command? in group ?Session?
** Message: 13:43:41.768: settings.vala:540: Key file does not have key ?text_editor/command? in group ?Session?
** Message: 13:43:41.768: settings.vala:540: Key file does not have key ?archive/command? in group ?Session?
** Message: 13:43:41.768: settings.vala:540: Key file does not have key ?charmap/command? in group ?Session?
** Message: 13:43:41.769: settings.vala:540: Key file does not have key ?calculator/command? in group ?Session?
** Message: 13:43:41.769: settings.vala:540: Key file does not have key ?spreadsheet/command? in group ?Session?
** Message: 13:43:41.769: settings.vala:540: Key file does not have key ?bittorent/command? in group ?Session?
** Message: 13:43:41.769: settings.vala:540: Key file does not have key ?document/command? in group ?Session?
** Message: 13:43:41.769: settings.vala:540: Key file does not have key ?webcam/command? in group ?Session?
** Message: 13:43:41.769: settings.vala:540: Key file does not have key ?burn/command? in group ?Session?
** Message: 13:43:41.770: settings.vala:540: Key file does not have key ?notes/command? in group ?Session?
** Message: 13:43:41.770: settings.vala:540: Key file does not have key ?disk_utility/command? in group ?Session?
** Message: 13:43:41.770: settings.vala:540: Key file does not have key ?tasks/command? in group ?Session?
** Message: 13:43:41.770: settings.vala:540: Key file does not have group ?Keymap?
** Message: 13:43:41.770: settings.vala:540: Key file does not have key ?laptop_mode? in group ?State?
** Message: 13:43:41.771: settings.vala:540: Key file does not have key ?gnome? in group ?Dbus?
** Message: 13:43:41.771: settings.vala:540: Key file does not have key ?type? in group ?Environment?
** Message: 13:43:41.771: settings.vala:540: Key file does not have key ?ubuntu_menuproxy? in group ?Environment?
** Message: 13:43:41.771: settings.vala:540: Key file does not have key ?toolkit_integration? in group ?Environment?
** Message: 13:43:41.771: settings.vala:540: Key file does not have key ?gtk/overlay_scrollbar_disable? in group ?Environment?
** Message: 13:43:41.771: settings.vala:540: Key file does not have key ?qt/force_theme? in group ?Environment?
** Message: 13:43:41.772: settings.vala:540: Key file does not have key ?qt/platform? in group ?Environment?
** Message: 13:43:41.773: settings.vala:462: Monitoring: /etc/xdg/lxsession/LXDE/desktop.conf
** Message: 13:43:41.773: settings.vala:470: Desktop file is not in config home, monitoring creation of it
** Message: 13:43:41.773: settings.vala:485: Monitoring home path: /home/userland/.config/lxsession/LXDE/desktop.conf
** Message: 13:43:41.773: settings.vala:373: Settings default for Session, windows_manager, command : openbox
** Message: 13:43:41.774: settings.vala:373: Settings default for Session, windows_manager, session : LXDE
** Message: 13:43:41.774: settings.vala:373: Settings default for Session, launcher_manager, command : lxpanelctl
** Message: 13:43:41.774: environement.vala:79: Exporting variable
** Message: 13:43:41.774: environement.vala:80: desktop_environnement XDG_CURRENT_DESKTOP
** Message: 13:43:41.774: environement.vala:177: custom_config :
** Message: 13:43:41.774: environement.vala:178: config_dirs :/etc/xdg
** Message: 13:43:41.775: environement.vala:179: confir_dirs not null, export : /etc/xdg
** Message: 13:43:41.775: environement.vala:184: Exporting XDG_CONFIG_DIRS
** Message: 13:43:41.775: environement.vala:218: custom_data :
** Message: 13:43:41.775: environement.vala:219: data_dirs :/usr/local/share:/usr/share:/usr/share/gdm:/var/lib/menu-xdg
** Message: 13:43:41.776: environement.vala:220: data_dirs not null, export : /usr/local/share:/usr/share:/usr/share/gdm:/var/lib/menu-xdg
** Message: 13:43:41.776: environement.vala:225: Exporting XDG_DATA_DIRS
** Message: 13:43:41.776: utils.vala:79: Config system location : /etc/xdg/lxsession/LXDE
** Message: 13:43:41.776: utils.vala:85: System system path location : /etc/xdg/lxsession/LXDE/desktop.conf
** Message: 13:43:41.776: utils.vala:89: Final file used : /etc/xdg/lxsession/LXDE/desktop.conf
** Message: 13:43:41.777: environement.vala:254: No entry in [Environment_variable]. Key file does not have group ?Environment_variable?

** (lxsession:10147): WARNING **: 13:43:41.782: process.vala:49: Failed to close file descriptor for child process (Invalid argument)

** (lxsession:10147): WARNING **: 13:43:41.782: process.vala:50: Error when launching xprop
** Message: 13:43:41.783: utils.vala:79: Config system location : /etc/xdg/lxsession/LXDE
** Message: 13:43:41.783: utils.vala:85: System system path location : /etc/xdg/lxsession/LXDE/conffiles.conf
** Message: 13:43:41.783: utils.vala:89: Final file used : /etc/xdg/lxsession/LXDE/conffiles.conf
** Message: 13:43:41.783: options.vala:164: Activate xsettings_manager build-in
** Message: 13:43:41.784: utils.vala:79: Config system location : /etc/xdg/lxsession/LXDE
** Message: 13:43:41.784: utils.vala:85: System system path location : /etc/xdg/lxsession/LXDE/desktop.conf
** Message: 13:43:41.784: utils.vala:89: Final file used : /etc/xdg/lxsession/LXDE/desktop.conf

** (lxsession:10147): WARNING **: 13:43:41.804: app.vala:415: Failed to close file descriptor for child process (Invalid argument)
** Message: 13:43:41.806: app.vala:721: polkit separate
** Message: 13:43:41.807: app.vala:721: polkit separate

** (lxsession:10147): WARNING **: 13:43:41.814: app.vala:86: Failed to close file descriptor for child process (Invalid argument)

** (lxsession:10147): WARNING **: 13:43:41.815: app.vala:87: Error when launching lxpolkit
** Message: 13:43:41.816: utils.vala:79: Config system location : /etc/xdg/lxsession/LXDE
** Message: 13:43:41.817: utils.vala:85: System system path location : /etc/xdg/lxsession/LXDE/autostart
** Message: 13:43:41.818: utils.vala:89: Final file used : /etc/xdg/lxsession/LXDE/autostart
** Message: 13:43:41.819: autostart.vala:42: Autostart path : /etc/xdg/lxsession/LXDE/autostart

** (lxsession:10147): WARNING **: 13:43:41.825: app.vala:86: Failed to close file descriptor for child process (Invalid argument)

** (lxsession:10147): WARNING **: 13:43:41.825: app.vala:87: Error when launching lxpanel

** (lxsession:10147): WARNING **: 13:43:41.829: app.vala:86: Failed to close file descriptor for child process (Invalid argument)

** (lxsession:10147): WARNING **: 13:43:41.829: app.vala:87: Error when launching pcmanfm

** (lxsession:10147): WARNING **: 13:43:41.832: app.vala:86: Failed to close file descriptor for child process (Invalid argument)

** (lxsession:10147): WARNING **: 13:43:41.833: app.vala:87: Error when launching xscreensaver

** (lxsession:10147): WARNING **: 13:43:41.835: process.vala:49: Failed to close file descriptor for child process (Invalid argument)

** (lxsession:10147): WARNING **: 13:43:41.836: process.vala:50: Error when launching lxsession-xdg-autostart
** Message: 13:43:41.837: options.vala:107: Create build-in Clipboard
** Message: 13:43:41.840: main.vala:442: Check keymap_mode (null)

** (lxsession:10147): WARNING **: 13:43:41.843: app.vala:86: Failed to close file descriptor for child process (Invalid argument)

** (lxsession:10147): WARNING **: 13:43:41.843: app.vala:87: Error when launching /usr/bin/ssh-agent

** (lxsession:10147): WARNING **: 13:43:41.869: main.vala:499: Could not acquire name

lxsession: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.

Steps to reproduce the behavior:

1) install Ubuntu pro distro

2) then just run session with vnc server

Screenshots

Screenshot_2023-06-05-19-11-44-89_e789fac88d2036294cc94e5cbb2dc180

Device Information

Device: realme GT 2 Android Version: android 13 UserLAnd Version 3.1.8 Whether the device is rooted. Non rooted Whether the device is running colour os 13 & realme UI 4.0

Please add any other context you think might help us resolve your issue.

mio-19 commented 12 months ago

A similar issue: https://github.com/proot-me/proot/issues/357