[Debian-on-mobile-maintainers] Bug#968106: Bug#968106: phosh: Shell doesn't start

Guido Günther agx at sigxcpu.org
Sun Aug 16 18:52:01 BST 2020


Hi Bernhard,
On Sun, Aug 16, 2020 at 05:28:13PM +0200, Bernhard Übelacker wrote:
> Hello Michel Le Bihan,
> found this issue interesting and tried to get more information.
> 
> First the "trap int3" originates from here [1], and seems just
> a consequence of missing packages.
> 
> When installing following packages the user interface
> could successfully start, without changing the VM vga "hardware".
> 
>   systemctl stop phosh
>   apt update
>   apt install --no-install-recommends --no-install-suggests gnome-session-bin libglib2.0-bin gnome-settings-daemon policykit-1 phosh-osk-stub
>   systemctl start phosh

Thanks for investigating. This brings up the issue if phosh should pull
in enough of gnome session to have the session file work and i think it
should. I'll add this to the next upload. We'll go with phosh-osk-stub
for now and do

    squeekboard | phosh-osk-stub

once squeekboard is accepted.

I think we don't need the libglib2.0-bin and policykit-1 dependencies, right?

Cheers,
 -- Guido

> 
> Kind regards,
> Bernhard
> 
> 
> [1]
>     (gdb) bt
>     #0  _g_log_abort (breakpoint=1) at ../../../glib/gmessages.c:554
>     #1  0x00007f161ac595f5 in g_log_default_handler (log_domain=log_domain at entry=0x55b43a8e7164 "phoc-server", log_level=log_level at entry=6, message=message at entry=0x55b43b7dc1d0 "Could not create backend", unused_data=unused_data at entry=0x0) at ../../..    /glib/gmessages.c:3123
>     #2  0x00007f161ac5983c in g_logv (log_domain=0x55b43a8e7164 "phoc-server", log_level=G_LOG_LEVEL_ERROR, format=<optimized out>, args=args at entry=0x7ffdc3657270) at ../../../glib/gmessages.c:1350
>     #3  0x00007f161ac59a1f in g_log (log_domain=log_domain at entry=0x55b43a8e7164 "phoc-server", log_level=log_level at entry=G_LOG_LEVEL_ERROR, format=format at entry=0x55b43a8e7170 "Could not create backend") at ../../../glib/gmessages.c:1415
>     #4  0x000055b43a8d1502 in phoc_server_constructed (object=0x55b43b7d8010) at ../src/server.c:139
>     #5  0x00007f161ad41704 in g_object_new_internal (class=class at entry=0x55b43b7d7b70, params=params at entry=0x0, n_params=n_params at entry=0) at ../../../gobject/gobject.c:1977
>     #6  0x00007f161ad42f0d in g_object_new_with_properties (object_type=94232580553008, n_properties=0, names=names at entry=0x0, values=values at entry=0x0) at ../../../gobject/gobject.c:2105
>     #7  0x00007f161ad43961 in g_object_new (object_type=<optimized out>, first_property_name=first_property_name at entry=0x0) at ../../../gobject/gobject.c:1777
>     #8  0x000055b43a8d17ed in phoc_server_get_default () at ../src/server.c:212
>     #9  0x000055b43a8d0f89 in main (argc=<optimized out>, argv=<optimized out>) at ../src/main.c:131

> 
> # Bullseye/testing amd64 qemu VM 2020-08-16
> 
> 
> apt update
> apt dist-upgrade
> 
> 
> apt install systemd-coredump mmdebstrap squashfs-tools sddm xserver-xorg openbox xterm mc qemu-system-x86
> 
> 
> su -
> mkdir /home/benutzer/test
> cd    /home/benutzer/test
> 
> mmdebstrap --include=linux-image-amd64,live-boot,xserver-xorg-video-all,phosh --arch amd64 sid debian-live-root http://192.168.178.25:9999/debian-11-bullseye-deb.debian.org/
> 
> 
>     root at debian:/home/benutzer/test# mmdebstrap --include=linux-image-amd64,live-boot,xserver-xorg-video-all,phosh --arch amd64 sid debian-live-root http://192.168.178.25:9999/debian-11-bullseye-deb.debian.org/
>     I: automatically chosen mode: root
>     I: chroot architecture amd64 is equal to the host's architecture
>     I: running apt-get update...
>     done
>     I: downloading packages with apt...
>     done
>     I: extracting archives...
>     done
>     I: installing packages...
>     done
>     I: downloading apt...
>     done
>     I: installing apt...
>     done
>     I: installing remaining packages inside the chroot...
>     done
>     I: cleaning package lists and apt cache...
>     done
>     done
> 
> 
> chroot debian-live-root passwd
> chroot debian-live-root useradd -m -s /bin/bash -p $(openssl passwd -1 123456) user
> chroot debian-live-root systemctl enable phosh
> cp debian-live-root/vmlinuz .
> cp debian-live-root/initrd.img .
> mksquashfs debian-live-root root.squashfs -comp lz4
> exit
> 
> cd /home/benutzer/test
> python3 -m http.server -b localhost 8080
> 
> cd /home/benutzer/test
> export DISPLAY=:0
> qemu-system-x86_64 \
>     -machine accel=kvm \
>     -m 2G \
>     -device virtio-net-pci,netdev=net0 \
>     -serial stdio -monitor vc \
>     -netdev user,id=net0,hostfwd=tcp::2222-:22,guestfwd=tcp:10.0.2.252:8080-tcp:localhost:8080,hostname=debian-live \
>     -kernel ./vmlinuz \
>     -initrd ./initrd.img \
>     -append "console=ttyS0 ip=frommedia boot=live nopersistence fetch=http://10.0.2.252:8080/root.squashfs"
> 
>     
> 
> 
> [   28.531593] traps: phoc[354] trap int3 ip:7f45cbc70585 sp:7fff27e0a260 error:0 in libglib-2.0.so.0.6400.4[7f45cbc36000+81000]
> [   33.884796] traps: phoc[373] trap int3 ip:7f136d421585 sp:7ffce5012e30 error:0 in libglib-2.0.so.0.6400.4[7f136d3e7000+81000]
> [   39.221241] traps: phoc[381] trap int3 ip:7f99bb354585 sp:7ffd8b465610 error:0 in libglib-2.0.so.0.6400.4[7f99bb31a000+81000]
> [   44.560172] traps: phoc[389] trap int3 ip:7f0c127e8585 sp:7fff4ec1e510 error:0 in libglib-2.0.so.0.6400.4[7f0c127ae000+81000]
> [   49.897137] traps: phoc[397] trap int3 ip:7fea829a4585 sp:7ffd2f846bc0 error:0 in libglib-2.0.so.0.6400.4[7fea8296a000+81000]
> ...
> [  257.428198] traps: phoc[1618] trap int3 ip:7f61de676585 sp:7fff9ffe6490 error:0 in libglib-2.0.so.0.6400.4[7f61de63c000+81000]
> 
> echo "deb http://192.168.178.25:9999/debian-11-bullseye-debug.deb.debian.org/ sid-debug main contrib non-free" >> /etc/apt/sources.list
> 
> apt update
> apt install systemd-coredump openssh-server drm-info gdb phoc-dbgsym libglib2.0-0-dbgsym
> 
> 
> 
> 
> ssh -p 2222 user at localhost
> 
> journalctl -e
> 
> Aug 16 13:16:34 debian phosh[1624]: /usr/bin/phosh: 12: gnome-session: not found
> Aug 16 13:16:34 debian phoc[1618]: [backend/session/logind.c:218] Failed to activate session: Permission denied
> Aug 16 13:16:34 debian phoc[1618]: [backend/session/direct-ipc.c:30] Do not have root privileges; cannot become DRM master
> Aug 16 13:16:34 debian phoc[1618]: [backend/session/session.c:96] Failed to load session backend
> Aug 16 13:16:34 debian phoc[1618]: [backend/backend.c:195] failed to start a session
> Aug 16 13:16:34 debian phoc[1618]: [backend/backend.c:235] failed to start backend 'drm'
> Aug 16 13:16:34 debian phoc[1618]: Could not create backend
> Aug 16 13:16:34 debian systemd-coredump[1627]: Process 1618 (phoc) of user 1000 dumped core.
>                                                
>                                                Stack trace of thread 1618:
>                                                #0  0x00007f61de676585 n/a (libglib-2.0.so.0 + 0x56585)
>                                                #1  0x00007f61de6775f5 g_log_default_handler (libglib-2.0.so.0 + 0x575f5)
>                                                #2  0x00007f61de67783c g_logv (libglib-2.0.so.0 + 0x5783c)
>                                                #3  0x00007f61de677a1f g_log (libglib-2.0.so.0 + 0x57a1f)
>                                                #4  0x0000560e4f3b2502 n/a (phoc + 0xd502)
>                                                #5  0x00007f61de75f704 n/a (libgobject-2.0.so.0 + 0x19704)
>                                                #6  0x00007f61de760f0d g_object_new_with_properties (libgobject-2.0.so.0 + 0x1af0d)
>                                                #7  0x00007f61de761961 g_object_new (libgobject-2.0.so.0 + 0x1b961)
>                                                #8  0x0000560e4f3b27ed n/a (phoc + 0xd7ed)
>                                                #9  0x0000560e4f3b1f89 n/a (phoc + 0xcf89)
>                                                #10 0x00007f61de135cca __libc_start_main (libc.so.6 + 0x26cca)
>                                                #11 0x0000560e4f3b20da n/a (phoc + 0xd0da)
> 
> root at debian:~# coredumpctl list
> TIME                            PID   UID   GID SIG COREFILE  EXE
> ...
> Sun 2020-08-16 13:16:34 UTC    1618  1000  1000   5 present   /usr/bin/phoc
> ...
> 
> 
> root at debian:~# coredumpctl gdb 1810
>            PID: 1810 (phoc)
>            UID: 1000 (user)
>            GID: 1000 (user)
>         Signal: 5 (TRAP)
>      Timestamp: Sun 2020-08-16 13:17:43 UTC (55s ago)
>   Command Line: /usr/bin/phoc -C /usr/share/phosh/phoc.ini -E bash -lc 'gnome-session --disable-acceleration-check --session=phosh'
>     Executable: /usr/bin/phoc
>  Control Group: /user.slice/user-1000.slice/session-58.scope
>           Unit: session-58.scope
>          Slice: user-1000.slice
>        Session: 58
>      Owner UID: 1000 (user)
>        Boot ID: 891472a515df43459285f54271a579c3
>     Machine ID: 141446880dfa48a29f89a3acbd22ca36
>       Hostname: debian
>        Storage: /var/lib/systemd/coredump/core.phoc.1000.891472a515df43459285f54271a579c3.1810.1597583863000000000000.zst
>        Message: Process 1810 (phoc) of user 1000 dumped core.
>                 
>                 Stack trace of thread 1810:
>                 #0  0x00007f161ac58585 n/a (libglib-2.0.so.0 + 0x56585)
>                 #1  0x00007f161ac595f5 g_log_default_handler (libglib-2.0.so.0 + 0x575f5)
>                 #2  0x00007f161ac5983c g_logv (libglib-2.0.so.0 + 0x5783c)
>                 #3  0x00007f161ac59a1f g_log (libglib-2.0.so.0 + 0x57a1f)
>                 #4  0x000055b43a8d1502 n/a (phoc + 0xd502)
>                 #5  0x00007f161ad41704 n/a (libgobject-2.0.so.0 + 0x19704)
>                 #6  0x00007f161ad42f0d g_object_new_with_properties (libgobject-2.0.so.0 + 0x1af0d)
>                 #7  0x00007f161ad43961 g_object_new (libgobject-2.0.so.0 + 0x1b961)
>                 #8  0x000055b43a8d17ed n/a (phoc + 0xd7ed)
>                 #9  0x000055b43a8d0f89 n/a (phoc + 0xcf89)
>                 #10 0x00007f161a717cca __libc_start_main (libc.so.6 + 0x26cca)
>                 #11 0x000055b43a8d10da n/a (phoc + 0xd0da)
> 
> GNU gdb (Debian 9.2-1) 9.2
> Copyright (C) 2020 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> Type "show copying" and "show warranty" for details.
> This GDB was configured as "x86_64-linux-gnu".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> Find the GDB manual and other documentation resources online at:
>     <http://www.gnu.org/software/gdb/documentation/>.
> 
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from /usr/bin/phoc...
> (No debugging symbols found in /usr/bin/phoc)
> [New LWP 1810]
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> Core was generated by `/usr/bin/phoc -C /usr/share/phosh/phoc.ini -E bash -lc 'gnome-session --disable'.
> Program terminated with signal SIGTRAP, Trace/breakpoint trap.
> #0  0x00007f161ac58585 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
> (gdb) bt
> #0  0x00007f161ac58585 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
> #1  0x00007f161ac595f5 in g_log_default_handler () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
> #2  0x00007f161ac5983c in g_logv () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
> #3  0x00007f161ac59a1f in g_log () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
> #4  0x000055b43a8d1502 in ?? ()
> #5  0x00007f161ad41704 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
> #6  0x00007f161ad42f0d in g_object_new_with_properties () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
> #7  0x00007f161ad43961 in g_object_new () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
> #8  0x000055b43a8d17ed in ?? ()
> #9  0x000055b43a8d0f89 in ?? ()
> #10 0x00007f161a717cca in __libc_start_main (main=0x55b43a8d0d80, argc=5, argv=0x7ffdc36577d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdc36577c8)
>     at ../csu/libc-start.c:308
> #11 0x000055b43a8d10da in ?? ()
> 
> 
> 
> # With debug symbols:
> ...
> Core was generated by `/usr/bin/phoc -C /usr/share/phosh/phoc.ini -E bash -lc 'gnome-session --disable'.
> Program terminated with signal SIGTRAP, Trace/breakpoint trap.
> #0  _g_log_abort (breakpoint=1) at ../../../glib/gmessages.c:554
> 554     ../../../glib/gmessages.c: No such file or directory.
> (gdb) set width 0
> (gdb) set pagination off
> (gdb) bt
> #0  _g_log_abort (breakpoint=1) at ../../../glib/gmessages.c:554
> #1  0x00007f161ac595f5 in g_log_default_handler (log_domain=log_domain at entry=0x55b43a8e7164 "phoc-server", log_level=log_level at entry=6, message=message at entry=0x55b43b7dc1d0 "Could not create backend", unused_data=unused_data at entry=0x0) at ../../../glib/gmessages.c:3123
> #2  0x00007f161ac5983c in g_logv (log_domain=0x55b43a8e7164 "phoc-server", log_level=G_LOG_LEVEL_ERROR, format=<optimized out>, args=args at entry=0x7ffdc3657270) at ../../../glib/gmessages.c:1350
> #3  0x00007f161ac59a1f in g_log (log_domain=log_domain at entry=0x55b43a8e7164 "phoc-server", log_level=log_level at entry=G_LOG_LEVEL_ERROR, format=format at entry=0x55b43a8e7170 "Could not create backend") at ../../../glib/gmessages.c:1415
> #4  0x000055b43a8d1502 in phoc_server_constructed (object=0x55b43b7d8010) at ../src/server.c:139
> #5  0x00007f161ad41704 in g_object_new_internal (class=class at entry=0x55b43b7d7b70, params=params at entry=0x0, n_params=n_params at entry=0) at ../../../gobject/gobject.c:1977
> #6  0x00007f161ad42f0d in g_object_new_with_properties (object_type=94232580553008, n_properties=0, names=names at entry=0x0, values=values at entry=0x0) at ../../../gobject/gobject.c:2105
> #7  0x00007f161ad43961 in g_object_new (object_type=<optimized out>, first_property_name=first_property_name at entry=0x0) at ../../../gobject/gobject.c:1777
> #8  0x000055b43a8d17ed in phoc_server_get_default () at ../src/server.c:212
> #9  0x000055b43a8d0f89 in main (argc=<optimized out>, argv=<optimized out>) at ../src/main.c:131
> 
> 
> 
> 
> 
> root at debian:~# drm_info 
> Node: /dev/dri/card0
> ├───Driver: bochs-drm (bochs dispi vga interface (qemu stdvga)) version 1.0.0 (20130925)
> │   ├───DRM_CLIENT_CAP_STEREO_3D supported
> │   ├───DRM_CLIENT_CAP_UNIVERSAL_PLANES supported
> │   ├───DRM_CLIENT_CAP_ATOMIC supported
> │   ├───DRM_CLIENT_CAP_ASPECT_RATIO supported
> │   ├───DRM_CLIENT_CAP_WRITEBACK_CONNECTORS supported
> │   ├───DRM_CAP_DUMB_BUFFER = 1
> │   ├───DRM_CAP_VBLANK_HIGH_CRTC = 1
> │   ├───DRM_CAP_DUMB_PREFERRED_DEPTH = 24
> │   ├───DRM_CAP_DUMB_PREFER_SHADOW = 0
> │   ├───DRM_CAP_PRIME = 0
> │   ├───DRM_CAP_TIMESTAMP_MONOTONIC = 1
> │   ├───DRM_CAP_ASYNC_PAGE_FLIP = 0
> │   ├───DRM_CAP_CURSOR_WIDTH = 64
> │   ├───DRM_CAP_CURSOR_HEIGHT = 64
> │   ├───DRM_CAP_ADDFB2_MODIFIERS = 0
> │   ├───DRM_CAP_PAGE_FLIP_TARGET = 0
> │   ├───DRM_CAP_CRTC_IN_VBLANK_EVENT = 1
> │   ├───DRM_CAP_SYNCOBJ = 0
> │   └───DRM_CAP_SYNCOBJ_TIMELINE = 0
> ├───Device: PCI 1234:1111
> ├───Framebuffer size
> │   ├───Width: [0, 8192]
> │   └───Height: [0, 8192]
> ├───Connectors
> │   └───Connector 0
> │       ├───Object ID: 31
> │       ├───Type: virtual
> │       ├───Status: connected
> │       ├───Physical size: 260x190 mm
> │       ├───Subpixel: unknown
> │       ├───Encoders: {0}
> │       ├───Modes
> │       │   ├───1024x768 at 74.99 preferred driver nhsync nvsync 
> │       │   ├───1920x1080 at 60.00 driver nhsync nvsync 
> │       │   ├───1920x1080 at 50.00 driver phsync pvsync 16:9 
> │       │   ├───1600x1200 at 60.00 driver phsync pvsync 
> │       │   ├───1680x1050 at 59.95 driver nhsync pvsync 
> │       │   ├───1400x1050 at 59.98 driver nhsync pvsync 
> │       │   ├───1280x1024 at 60.02 driver phsync pvsync 
> │       │   ├───1440x900 at 59.89 driver nhsync pvsync 
> │       │   ├───1280x960 at 60.00 driver phsync pvsync 
> │       │   ├───1360x768 at 60.02 driver phsync pvsync 
> │       │   ├───1280x768 at 59.87 driver nhsync pvsync 
> │       │   ├───1024x768 at 60.00 driver nhsync nvsync 
> │       │   ├───800x600 at 60.32 driver phsync pvsync 
> │       │   ├───640x480 at 60.00 driver nhsync nvsync 4:3 
> │       │   └───640x480 at 59.94 driver nhsync nvsync 
> │       └───Properties
> │           ├───"DPMS": enum {On, Standby, Suspend, Off} = On
> │           ├───"link-status": enum {Good, Bad} = Good
> │           ├───"non-desktop" (immutable): range [0, 1] = 0
> │           ├───"TILE" (immutable): blob = 0
> │           ├───"CRTC_ID" (atomic): object CRTC = 34
> │           └───"EDID" (immutable): blob = 32
> ├───Encoders
> │   └───Encoder 0
> │       ├───Object ID: 35
> │       ├───Type: none
> │       ├───CRTCS: {0}
> │       └───Clones: {}
> ├───CRTCs
> │   └───CRTC 0
> │       ├───Object ID: 34
> │       ├───Mode: 1024x768 at 74.99 preferred driver nhsync nvsync 
> │       └───Properties
> │           ├───"ACTIVE" (atomic): range [0, 1] = 1
> │           ├───"MODE_ID" (atomic): blob = 37
> │           │   └───1024x768 at 74.99 preferred driver nhsync nvsync 
> │           ├───"OUT_FENCE_PTR" (atomic): range [0, UINT64_MAX] = 0
> │           └───"VRR_ENABLED": range [0, 1] = 0
> └───Planes
>     └───Plane 0
>         ├───Object ID: 33
>         ├───CRTCs: {0}
>         ├───Formats:
>         │   ├───XRGB8888 (0x34325258)
>         │   └───BGRX8888 (0x34325842)
>         └───Properties
>             ├───"type" (immutable): enum {Overlay, Primary, Cursor} = Primary
>             ├───"FB_ID" (atomic): object framebuffer = 36
>             │   ├───Object ID: 36
>             │   ├───Size: 1024x768
>             │   ├───Pitch: 4096
>             │   ├───Bits per pixel: 32
>             │   └───Depth: 24
>             ├───"IN_FENCE_FD" (atomic): srange [-1, INT32_MAX] = -1
>             ├───"CRTC_ID" (atomic): object CRTC = 34
>             ├───"CRTC_X" (atomic): srange [INT32_MIN, INT32_MAX] = 0
>             ├───"CRTC_Y" (atomic): srange [INT32_MIN, INT32_MAX] = 0
>             ├───"CRTC_W" (atomic): range [0, INT32_MAX] = 1024
>             ├───"CRTC_H" (atomic): range [0, INT32_MAX] = 768
>             ├───"SRC_X" (atomic): range [0, UINT32_MAX] = 0
>             ├───"SRC_Y" (atomic): range [0, UINT32_MAX] = 0
>             ├───"SRC_W" (atomic): range [0, UINT32_MAX] = 1024
>             └───"SRC_H" (atomic): range [0, UINT32_MAX] = 768
> .
> 
> 
> 
> 
> 
> apt install gnome-session-bin
> 
> Oh no! Something has gone wrong.
> 
> Aug 16 13:28:58 debian phosh[4099]: /usr/bin/gnome-session: 16: gsettings: not found
> Aug 16 13:28:59 debian phosh[4113]: /usr/bin/gnome-session: 16: gsettings: not found
> 
> 
> 
> 
> 
> apt install libglib2.0-bin
> 
> systemctl stop phosh
> systemctl start phosh
> 
> 
> Aug 16 13:33:09 debian phosh[4244]: MESA-LOADER: failed to open bochs-drm (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
> Aug 16 13:33:09 debian phosh[4244]: failed to load driver: bochs-drm
> 
> 
> 
> 
> 
> apt install pciutils
> 
> root at debian:~# lspci -v
> ...
> 00:02.0 VGA compatible controller: Device 1234:1111 (rev 02) (prog-if 00 [VGA controller])
>         Subsystem: Red Hat, Inc. Device 1100
>         Flags: fast devsel
>         Memory at fd000000 (32-bit, prefetchable) [size=16M]
>         Memory at febd0000 (32-bit, non-prefetchable) [size=4K]
>         Expansion ROM at 000c0000 [disabled] [size=128K]
>         Kernel driver in use: bochs-drm
>         Kernel modules: bochs_drm
> ...
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1707118#c5
> vga=<...>
> 
> 
> qemu-system-x86_64 \
>     -machine accel=kvm \
>     -m 2G \
>     -device virtio-net-pci,netdev=net0 \
>     -serial stdio -monitor vc \
>     -netdev user,id=net0,hostfwd=tcp::2222-:22,guestfwd=tcp:10.0.2.252:8080-tcp:localhost:8080,hostname=debian-live \
>     -kernel ./vmlinuz \
>     -initrd ./initrd.img \
>     -append "console=ttyS0 ip=frommedia boot=live nopersistence fetch=http://10.0.2.252:8080/root.squashfs vga=792"
> 
> systemctl stop phosh
> echo "deb http://192.168.178.25:9999/debian-11-bullseye-debug.deb.debian.org/ sid-debug main contrib non-free" >> /etc/apt/sources.list
> apt update
> apt install systemd-coredump openssh-server drm-info mc gdb phoc-dbgsym libglib2.0-0-dbgsym gnome-session-bin libglib2.0-bin pciutils psmisc at-spi2-core
> systemctl start phosh
> 
> 
> 
> 
> 
> qemu-system-x86_64:
>     -vga qxl        MESA-LOADER: failed to open qxl-drm
>     -vga virtio     -> no such message ...
> 
> 
> 
> Aug 16 14:28:27 debian gnome-session-f[1853]: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
> -> apt install at-spi2-core
> 
> 
> 
> 
> 
> Aug 16 14:31:59 debian systemd[1]: Started Phosh, a shell for mobile phones.
> Aug 16 14:31:59 debian systemd[1953]: pam_env(login:session): Unable to open env file: /etc/default/locale: No such file or directory
> Aug 16 14:31:59 debian systemd[1953]: pam_unix(login:session): session opened for user user by (uid=0)
> Aug 16 14:31:59 debian systemd-logind[352]: New session 29 of user user.
> Aug 16 14:31:59 debian systemd[1]: Started Session 29 of user user.
> Aug 16 14:31:59 debian phoc[1953]: [../src/desktop.c:485] Cannot load XWayland XCursor theme
> Aug 16 14:31:59 debian phosh[1953]: Running compositor on wayland display 'wayland-0'
> Aug 16 14:32:00 debian phoc[1953]: [../src/seat.c:1204] Cannot load xcursor theme for output 'Virtual-1' with scale 2.000000
> Aug 16 14:32:00 debian gnome-session[1967]: gnome-session-binary[1967]: WARNING: Could not get session id for session. Check that logind is properly installed and pam_systemd is getting used at >
> Aug 16 14:32:00 debian gnome-session-binary[1967]: WARNING: Could not get session id for session. Check that logind is properly installed and pam_systemd is getting used at login.
> Aug 16 14:32:00 debian gnome-session[1967]: gnome-session-binary[1967]: WARNING: Unable to find required component 'org.gnome.SettingsDaemon.A11ySettings'
> Aug 16 14:32:00 debian gnome-session-binary[1967]: WARNING: Unable to find required component 'org.gnome.SettingsDaemon.A11ySettings'
> Aug 16 14:32:00 debian gnome-session[1967]: gnome-session-binary[1967]: WARNING: Unable to find required component 'org.gnome.SettingsDaemon.Color'
> Aug 16 14:32:00 debian gnome-session-binary[1967]: WARNING: Unable to find required component 'org.gnome.SettingsDaemon.Color'
> Aug 16 14:32:00 debian gnome-session[1967]: gnome-session-binary[1967]: WARNING: Unable to find required component 'org.gnome.SettingsDaemon.Datetime'
> Aug 16 14:32:00 debian gnome-session-binary[1967]: WARNING: Unable to find required component 'org.gnome.SettingsDaemon.Datetime'
> Aug 16 14:32:00 debian gnome-session[1967]: gnome-session-binary[1967]: WARNING: Unable to find required component 'org.gnome.SettingsDaemon.Housekeeping'
> Aug 16 14:32:00 debian gnome-session-binary[1967]: WARNING: Unable to find required component 'org.gnome.SettingsDaemon.Housekeeping'
> Aug 16 14:32:00 debian gnome-session[1967]: gnome-session-binary[1967]: WARNING: Unable to find required component 'org.gnome.SettingsDaemon.Keyboard'
> Aug 16 14:32:00 debian gnome-session-binary[1967]: WARNING: Unable to find required component 'org.gnome.SettingsDaemon.Keyboard'
> Aug 16 14:32:00 debian gnome-session[1967]: gnome-session-binary[1967]: WARNING: Unable to find required component 'org.gnome.SettingsDaemon.Power'
> Aug 16 14:32:00 debian gnome-session-binary[1967]: WARNING: Unable to find required component 'org.gnome.SettingsDaemon.Power'
> Aug 16 14:32:00 debian gnome-session[1967]: gnome-session-binary[1967]: WARNING: Unable to find required component 'org.gnome.SettingsDaemon.PrintNotifications'
> Aug 16 14:32:00 debian gnome-session-binary[1967]: WARNING: Unable to find required component 'org.gnome.SettingsDaemon.PrintNotifications'
> Aug 16 14:32:00 debian gnome-session[1967]: gnome-session-binary[1967]: WARNING: Unable to find required component 'org.gnome.SettingsDaemon.Rfkill'
> Aug 16 14:32:00 debian gnome-session-binary[1967]: WARNING: Unable to find required component 'org.gnome.SettingsDaemon.Rfkill'
> Aug 16 14:32:00 debian gnome-session[1967]: gnome-session-binary[1967]: WARNING: Unable to find required component 'org.gnome.SettingsDaemon.ScreensaverProxy'
> Aug 16 14:32:00 debian gnome-session-binary[1967]: WARNING: Unable to find required component 'org.gnome.SettingsDaemon.ScreensaverProxy'
> Aug 16 14:32:00 debian gnome-session[1967]: gnome-session-binary[1967]: WARNING: Unable to find required component 'org.gnome.SettingsDaemon.Sharing'
> Aug 16 14:32:00 debian gnome-session-binary[1967]: WARNING: Unable to find required component 'org.gnome.SettingsDaemon.Sharing'
> Aug 16 14:32:00 debian gnome-session[1967]: gnome-session-binary[1967]: WARNING: Unable to find required component 'org.gnome.SettingsDaemon.Smartcard'
> Aug 16 14:32:00 debian gnome-session-binary[1967]: WARNING: Unable to find required component 'org.gnome.SettingsDaemon.Smartcard'
> Aug 16 14:32:00 debian gnome-session[1967]: gnome-session-binary[1967]: WARNING: Unable to find required component 'org.gnome.SettingsDaemon.Sound'
> Aug 16 14:32:00 debian gnome-session-binary[1967]: WARNING: Unable to find required component 'org.gnome.SettingsDaemon.Sound'
> Aug 16 14:32:00 debian gnome-session[1967]: gnome-session-binary[1967]: WARNING: Unable to find required component 'sm.puri.OSK0'
> Aug 16 14:32:00 debian gnome-session-binary[1967]: WARNING: Unable to find required component 'sm.puri.OSK0'
> Aug 16 14:32:00 debian gnome-session-binary[1967]: Entering running state
> 
> -> apt install gnome-settings-daemon
> 
> 
> 
> 
> 
> 
> 
> 
> Aug 16 14:34:54 debian systemd-logind[352]: New session 30 of user user.
> Aug 16 14:34:54 debian systemd[1]: Started Session 30 of user user.
> Aug 16 14:34:54 debian phoc[3143]: [../src/desktop.c:485] Cannot load XWayland XCursor theme
> Aug 16 14:34:54 debian phosh[3143]: Running compositor on wayland display 'wayland-0'
> Aug 16 14:34:54 debian phoc[3143]: [../src/seat.c:1204] Cannot load xcursor theme for output 'Virtual-1' with scale 2.000000
> Aug 16 14:34:55 debian gnome-session[3157]: gnome-session-binary[3157]: WARNING: Could not get session id for session. Check that logind is properly installed and pam_systemd is getting used at >
> Aug 16 14:34:55 debian gnome-session-binary[3157]: WARNING: Could not get session id for session. Check that logind is properly installed and pam_systemd is getting used at login.
> Aug 16 14:34:55 debian gnome-session[3157]: gnome-session-binary[3157]: WARNING: Unable to find required component 'sm.puri.OSK0'
> Aug 16 14:34:55 debian gnome-session-binary[3157]: WARNING: Unable to find required component 'sm.puri.OSK0'
> Aug 16 14:34:55 debian gnome-session-binary[3157]: Entering running state
> 
> -> apt install phosh-osk-stub
> 
> -> Now it works ;-)
> 
> 
> 
> #########
> 
> 
> # with regular vga
> 
> systemctl stop phosh
> apt update
> apt install openssh-server gnome-session-bin libglib2.0-bin gnome-settings-daemon phosh-osk-stub
> systemctl start phosh
> 
> 
> #########
> 
> 
> # with regular vga
> 
> systemctl stop phosh
> apt update
> apt install --no-install-recommends --no-install-suggests gnome-session-bin libglib2.0-bin gnome-settings-daemon policykit-1 phosh-osk-stub
> systemctl start phosh



More information about the Debian-on-mobile-maintainers mailing list