#1065519 phosh-full: Phosh not booting on login or from cmd on OrangePi

Package:
phoc
Source:
phoc
Description:
Wayland compositor for mobile phones
Submitter:
Evan Robinson
Date:
2024-03-11 11:15:03 UTC
Severity:
normal
#1065519#5
Date:
2024-03-05 20:46:24 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
Bought an OrangePi CM4 and booted the Debian Bookwork image from the SBC manufacturer.
Upgraded to Debian testing.
Ran 'apt get install phosh-full'
Rebooted and tried to login to the Phosh DM.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
Tried to login to the Phosh DM on the login page.

   * What was the outcome of this action?
Screen goes blank, saw a blinking cursor for about 5 - 10 sec, then the login screen loaded again.

   * What outcome did you expect instead?
To login to the OrangePi desktop andh ave it look like a phone layout due to Phosh.

#1065519#10
Date:
2024-03-06 09:09:16 UTC
From:
To:
control: reassign -1 phoc

Hi Evan,

The problem is that the compositor can't start:

On Tue, Mar 05, 2024 at 08:46:24PM +0000, Evan Robinson wrote:
[..snip..]
rockchip_drm_vop2 mainline driver. Are you using a vendor kernel?
If so which one exactly?
[..snip..]

You seem to have lightdm still running but use phosh.service. Please
stop lightdm to make sure they don't race for the same tty.

To debug further could you create a .phoshdebug file in your users $HOME
with:

  G_MESSAGES_DEBUG=phoc-wlroots
  export G_MESSAGES_DEBUG

(if you didn't change phosh.service the relevant user is the one with
uid 1000). Then

  systemctl stop phosh
  systemctl start phosh

and get the logs from that one. To shorten the log you can use

  journalctl _COMM=phoc

as the other processes don't matter atm.

Cheers,
 -- Guido

#1065519#19
Date:
2024-03-06 21:28:40 UTC
From:
To:
I am not sure... I downloaded the Debian image
(Orangepicm4_1.0.4_debian_bookworm_desktop_xfce_linux5.10.160.7z) from
https://drive.google.com/drive/folders/1MJl-pIU2I7EHDN6rlirumVkBOz7utvyE
and flashed it to the OrangePi. Then updated to the testing branch using
these instructions:
https://linuxiac.com/how-to-switch-from-debian-stable-to-testing/.
systemctl stop lightdm; systemctl start phosh;
then looked in journal:

Mar 06 20:50:04 orangepicm4 phoc[3404]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:50:04 orangepicm4 phoc[3404]: [libseat] [seatd/seat.c:61]
Could not open tty0 to update VT: Permission denied
Mar 06 20:50:04 orangepicm4 phoc[3404]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:50:04 orangepicm4 phoc[3404]: [libseat] [seatd/seat.c:72]
Could not open terminal for VT 0: Permission denied
Mar 06 20:50:04 orangepicm4 phoc[3404]: [libseat] [seatd/seat.c:461]
Could not open VT for client
Mar 06 20:50:04 orangepicm4 phoc[3404]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:50:04 orangepicm4 phoc[3404]: [libseat] [seatd/seat.c:86]
Could not open terminal to clean up VT 0: Permission denied
Mar 06 20:50:14 orangepicm4 phoc[3349]: [backend/backend.c:107] Timeout
waiting session to become active
Mar 06 20:50:14 orangepicm4 phoc[3349]: [backend/backend.c:272] failed
to start a session
Mar 06 20:50:14 orangepicm4 phoc[3349]: [backend/backend.c:322] failed
to add backend 'drm'
Mar 06 20:50:14 orangepicm4 phoc[3404]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:50:14 orangepicm4 phoc[3404]: [libseat] [seatd/seat.c:86]
Could not open terminal to clean up VT 0: Permission denied
Mar 06 20:50:14 orangepicm4 phoc[3349]: Failed to create server: Could
not create backend
Mar 06 20:50:20 orangepicm4 phoc[4151]: [libseat]
[libseat/backend/logind.c:317] Could not activate session: Interactive
authentication requir>
Mar 06 20:50:20 orangepicm4 phoc[4162]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:50:20 orangepicm4 phoc[4162]: [libseat] [seatd/seat.c:61]
Could not open tty0 to update VT: Permission denied
Mar 06 20:50:20 orangepicm4 phoc[4162]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:50:20 orangepicm4 phoc[4162]: [libseat] [seatd/seat.c:72]
Could not open terminal for VT 0: Permission denied
Mar 06 20:50:20 orangepicm4 phoc[4162]: [libseat] [seatd/seat.c:461]
Could not open VT for client
Mar 06 20:50:20 orangepicm4 phoc[4162]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:50:20 orangepicm4 phoc[4162]: [libseat] [seatd/seat.c:86]
Could not open terminal to clean up VT 0: Permission denied
Mar 06 20:50:30 orangepicm4 phoc[4151]: [backend/backend.c:107] Timeout
waiting session to become active
Mar 06 20:50:30 orangepicm4 phoc[4151]: [backend/backend.c:272] failed
to start a session
Mar 06 20:50:30 orangepicm4 phoc[4151]: [backend/backend.c:322] failed
to add backend 'drm'
Mar 06 20:50:30 orangepicm4 phoc[4162]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:50:30 orangepicm4 phoc[4162]: [libseat] [seatd/seat.c:86]
Could not open terminal to clean up VT 0: Permission denied
Mar 06 20:50:30 orangepicm4 phoc[4151]: Failed to create server: Could
not create backend
Mar 06 20:50:36 orangepicm4 phoc[4633]: [libseat]
[libseat/backend/logind.c:317] Could not activate session: Interactive
authentication requir>
Mar 06 20:50:36 orangepicm4 phoc[4636]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:50:36 orangepicm4 phoc[4636]: [libseat] [seatd/seat.c:61]
Could not open tty0 to update VT: Permission denied
Mar 06 20:50:36 orangepicm4 phoc[4636]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:50:36 orangepicm4 phoc[4636]: [libseat] [seatd/seat.c:72]
Could not open terminal for VT 0: Permission denied
Mar 06 20:50:36 orangepicm4 phoc[4636]: [libseat] [seatd/seat.c:461]
Could not open VT for client
Mar 06 20:50:36 orangepicm4 phoc[4636]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:50:36 orangepicm4 phoc[4636]: [libseat] [seatd/seat.c:86]
Could not open terminal to clean up VT 0: Permission denied
Mar 06 20:50:46 orangepicm4 phoc[4633]: [backend/backend.c:107] Timeout
waiting session to become active
Mar 06 20:50:46 orangepicm4 phoc[4633]: [backend/backend.c:272] failed
to start a session
Mar 06 20:50:46 orangepicm4 phoc[4633]: [backend/backend.c:322] failed
to add backend 'drm'
Mar 06 20:50:46 orangepicm4 phoc[4636]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:50:46 orangepicm4 phoc[4636]: [libseat] [seatd/seat.c:86]
Could not open terminal to clean up VT 0: Permission denied
Mar 06 20:50:46 orangepicm4 phoc[4633]: Failed to create server: Could
not create backend
Mar 06 20:50:51 orangepicm4 phoc[4647]: [libseat]
[libseat/backend/logind.c:317] Could not activate session: Interactive
authentication requir>
Mar 06 20:50:51 orangepicm4 phoc[4650]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:50:51 orangepicm4 phoc[4650]: [libseat] [seatd/seat.c:61]
Could not open tty0 to update VT: Permission denied
Mar 06 20:50:51 orangepicm4 phoc[4650]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:50:51 orangepicm4 phoc[4650]: [libseat] [seatd/seat.c:72]
Could not open terminal for VT 0: Permission denied
Mar 06 20:50:51 orangepicm4 phoc[4650]: [libseat] [seatd/seat.c:461]
Could not open VT for client
Mar 06 20:50:51 orangepicm4 phoc[4650]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:50:51 orangepicm4 phoc[4650]: [libseat] [seatd/seat.c:86]
Could not open terminal to clean up VT 0: Permission denied
Mar 06 20:51:01 orangepicm4 phoc[4647]: [backend/backend.c:107] Timeout
waiting session to become active
Mar 06 20:51:01 orangepicm4 phoc[4647]: [backend/backend.c:272] failed
to start a session
Mar 06 20:51:01 orangepicm4 phoc[4647]: [backend/backend.c:322] failed
to add backend 'drm'
Mar 06 20:51:01 orangepicm4 phoc[4650]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:51:01 orangepicm4 phoc[4650]: [libseat] [seatd/seat.c:86]
Could not open terminal to clean up VT 0: Permission denied
Mar 06 20:51:01 orangepicm4 phoc[4647]: Failed to create server: Could
not create backend
Mar 06 20:51:07 orangepicm4 phoc[4688]: [libseat]
[libseat/backend/logind.c:317] Could not activate session: Interactive
authentication requir>
Mar 06 20:51:07 orangepicm4 phoc[4691]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:51:07 orangepicm4 phoc[4691]: [libseat] [seatd/seat.c:61]
Could not open tty0 to update VT: Permission denied
Mar 06 20:51:07 orangepicm4 phoc[4691]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:51:07 orangepicm4 phoc[4691]: [libseat] [seatd/seat.c:72]
Could not open terminal for VT 0: Permission denied
Mar 06 20:51:07 orangepicm4 phoc[4691]: [libseat] [seatd/seat.c:461]
Could not open VT for client
Mar 06 20:51:07 orangepicm4 phoc[4691]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:51:07 orangepicm4 phoc[4691]: [libseat] [seatd/seat.c:86]
Could not open terminal to clean up VT 0: Permission denied
Mar 06 20:51:17 orangepicm4 phoc[4688]: [backend/backend.c:107] Timeout
waiting session to become active
Mar 06 20:51:17 orangepicm4 phoc[4688]: [backend/backend.c:272] failed
to start a session
Mar 06 20:51:17 orangepicm4 phoc[4688]: [backend/backend.c:322] failed
to add backend 'drm'
Mar 06 20:51:17 orangepicm4 phoc[4691]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:51:17 orangepicm4 phoc[4691]: [libseat] [seatd/seat.c:86]
Could not open terminal to clean up VT 0: Permission denied
Mar 06 20:51:17 orangepicm4 phoc[4688]: Failed to create server: Could
not create backend
Mar 06 20:51:22 orangepicm4 phoc[4699]: [libseat]
[libseat/backend/logind.c:317] Could not activate session: Interactive
authentication requir>
Mar 06 20:51:22 orangepicm4 phoc[4703]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:51:22 orangepicm4 phoc[4703]: [libseat] [seatd/seat.c:61]
Could not open tty0 to update VT: Permission denied
Mar 06 20:51:22 orangepicm4 phoc[4703]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:51:22 orangepicm4 phoc[4703]: [libseat] [seatd/seat.c:72]
Could not open terminal for VT 0: Permission denied
Mar 06 20:51:22 orangepicm4 phoc[4703]: [libseat] [seatd/seat.c:461]
Could not open VT for client
Mar 06 20:51:22 orangepicm4 phoc[4703]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:51:22 orangepicm4 phoc[4703]: [libseat] [seatd/seat.c:86]
Could not open terminal to clean up VT 0: Permission denied
Mar 06 20:51:32 orangepicm4 phoc[4699]: [backend/backend.c:107] Timeout
waiting session to become active
Mar 06 20:51:32 orangepicm4 phoc[4699]: [backend/backend.c:272] failed
to start a session
Mar 06 20:51:32 orangepicm4 phoc[4699]: [backend/backend.c:322] failed
to add backend 'drm'
Mar 06 20:51:32 orangepicm4 phoc[4703]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:51:32 orangepicm4 phoc[4703]: [libseat] [seatd/seat.c:86]
Could not open terminal to clean up VT 0: Permission denied
Mar 06 20:51:32 orangepicm4 phoc[4699]: Failed to create server: Could
not create backend
Mar 06 20:51:38 orangepicm4 phoc[4715]: [libseat]
[libseat/backend/logind.c:317] Could not activate session: Interactive
authentication requir>
Mar 06 20:51:38 orangepicm4 phoc[4719]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:51:38 orangepicm4 phoc[4719]: [libseat] [seatd/seat.c:61]
Could not open tty0 to update VT: Permission denied
Mar 06 20:51:38 orangepicm4 phoc[4719]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:51:38 orangepicm4 phoc[4719]: [libseat] [seatd/seat.c:72]
Could not open terminal for VT 0: Permission denied
Mar 06 20:51:38 orangepicm4 phoc[4719]: [libseat] [seatd/seat.c:461]
Could not open VT for client
Mar 06 20:51:38 orangepicm4 phoc[4719]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:51:38 orangepicm4 phoc[4719]: [libseat] [seatd/seat.c:86]
Could not open terminal to clean up VT 0: Permission denied
Mar 06 20:51:48 orangepicm4 phoc[4715]: [backend/backend.c:107] Timeout
waiting session to become active
Mar 06 20:51:48 orangepicm4 phoc[4715]: [backend/backend.c:272] failed
to start a session
Mar 06 20:51:48 orangepicm4 phoc[4715]: [backend/backend.c:322] failed
to add backend 'drm'
Mar 06 20:51:48 orangepicm4 phoc[4719]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:51:48 orangepicm4 phoc[4719]: [libseat] [seatd/seat.c:86]
Could not open terminal to clean up VT 0: Permission denied
Mar 06 20:51:48 orangepicm4 phoc[4715]: Failed to create server: Could
not create backend
Mar 06 20:51:53 orangepicm4 phoc[4729]: [libseat]
[libseat/backend/logind.c:317] Could not activate session: Interactive
authentication requir>
Mar 06 20:51:53 orangepicm4 phoc[4732]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:51:53 orangepicm4 phoc[4732]: [libseat] [seatd/seat.c:61]
Could not open tty0 to update VT: Permission denied
Mar 06 20:51:53 orangepicm4 phoc[4732]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:51:53 orangepicm4 phoc[4732]: [libseat] [seatd/seat.c:72]
Could not open terminal for VT 0: Permission denied
Mar 06 20:51:53 orangepicm4 phoc[4732]: [libseat] [seatd/seat.c:461]
Could not open VT for client
Mar 06 20:51:53 orangepicm4 phoc[4732]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:51:53 orangepicm4 phoc[4732]: [libseat] [seatd/seat.c:86]
Could not open terminal to clean up VT 0: Permission denied
Mar 06 20:52:03 orangepicm4 phoc[4729]: [backend/backend.c:107] Timeout
waiting session to become active
Mar 06 20:52:03 orangepicm4 phoc[4729]: [backend/backend.c:272] failed
to start a session
Mar 06 20:52:03 orangepicm4 phoc[4729]: [backend/backend.c:322] failed
to add backend 'drm'
Mar 06 20:52:03 orangepicm4 phoc[4732]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:52:03 orangepicm4 phoc[4732]: [libseat] [seatd/seat.c:86]
Could not open terminal to clean up VT 0: Permission denied
Mar 06 20:52:03 orangepicm4 phoc[4729]: Failed to create server: Could
not create backend
Mar 06 20:52:09 orangepicm4 phoc[4744]: [libseat]
[libseat/backend/logind.c:317] Could not activate session: Interactive
authentication requir>
Mar 06 20:52:09 orangepicm4 phoc[4747]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:52:09 orangepicm4 phoc[4747]: [libseat] [seatd/seat.c:61]
Could not open tty0 to update VT: Permission denied
Mar 06 20:52:09 orangepicm4 phoc[4747]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:52:09 orangepicm4 phoc[4747]: [libseat] [seatd/seat.c:72]
Could not open terminal for VT 0: Permission denied
Mar 06 20:52:09 orangepicm4 phoc[4747]: [libseat] [seatd/seat.c:461]
Could not open VT for client
Mar 06 20:52:09 orangepicm4 phoc[4747]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:52:09 orangepicm4 phoc[4747]: [libseat] [seatd/seat.c:86]
Could not open terminal to clean up VT 0: Permission denied
Mar 06 20:52:19 orangepicm4 phoc[4744]: [backend/backend.c:107] Timeout
waiting session to become active
Mar 06 20:52:19 orangepicm4 phoc[4744]: [backend/backend.c:272] failed
to start a session
Mar 06 20:52:19 orangepicm4 phoc[4744]: [backend/backend.c:322] failed
to add backend 'drm'
Mar 06 20:52:19 orangepicm4 phoc[4747]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:52:19 orangepicm4 phoc[4747]: [libseat] [seatd/seat.c:86]
Could not open terminal to clean up VT 0: Permission denied
Mar 06 20:52:19 orangepicm4 phoc[4744]: Failed to create server: Could
not create backend
Mar 06 20:52:24 orangepicm4 phoc[4755]: [libseat]
[libseat/backend/logind.c:317] Could not activate session: Interactive
authentication requir>
Mar 06 20:52:24 orangepicm4 phoc[4758]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:52:24 orangepicm4 phoc[4758]: [libseat] [seatd/seat.c:61]
Could not open tty0 to update VT: Permission denied
Mar 06 20:52:24 orangepicm4 phoc[4758]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:52:24 orangepicm4 phoc[4758]: [libseat] [seatd/seat.c:72]
Could not open terminal for VT 0: Permission denied
Mar 06 20:52:24 orangepicm4 phoc[4758]: [libseat] [seatd/seat.c:461]
Could not open VT for client
Mar 06 20:52:24 orangepicm4 phoc[4758]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:52:24 orangepicm4 phoc[4758]: [libseat] [seatd/seat.c:86]
Could not open terminal to clean up VT 0: Permission denied
Mar 06 20:52:34 orangepicm4 phoc[4755]: [backend/backend.c:107] Timeout
waiting session to become active
Mar 06 20:52:34 orangepicm4 phoc[4755]: [backend/backend.c:272] failed
to start a session
Mar 06 20:52:34 orangepicm4 phoc[4755]: [backend/backend.c:322] failed
to add backend 'drm'
Mar 06 20:52:34 orangepicm4 phoc[4758]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:52:34 orangepicm4 phoc[4758]: [libseat] [seatd/seat.c:86]
Could not open terminal to clean up VT 0: Permission denied
Mar 06 20:52:34 orangepicm4 phoc[4755]: Failed to create server: Could
not create backend
Mar 06 20:52:40 orangepicm4 phoc[4770]: [libseat]
[libseat/backend/logind.c:317] Could not activate session: Interactive
authentication requir>
Mar 06 20:52:40 orangepicm4 phoc[4773]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:52:40 orangepicm4 phoc[4773]: [libseat] [seatd/seat.c:61]
Could not open tty0 to update VT: Permission denied
Mar 06 20:52:40 orangepicm4 phoc[4773]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:52:40 orangepicm4 phoc[4773]: [libseat] [seatd/seat.c:72]
Could not open terminal for VT 0: Permission denied
Mar 06 20:52:40 orangepicm4 phoc[4773]: [libseat] [seatd/seat.c:461]
Could not open VT for client
Mar 06 20:52:40 orangepicm4 phoc[4773]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:52:40 orangepicm4 phoc[4773]: [libseat] [seatd/seat.c:86]
Could not open terminal to clean up VT 0: Permission denied
Mar 06 20:52:50 orangepicm4 phoc[4770]: [backend/backend.c:107] Timeout
waiting session to become active
Mar 06 20:52:50 orangepicm4 phoc[4770]: [backend/backend.c:272] failed
to start a session
Mar 06 20:52:50 orangepicm4 phoc[4770]: [backend/backend.c:322] failed
to add backend 'drm'
Mar 06 20:52:50 orangepicm4 phoc[4773]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:52:50 orangepicm4 phoc[4773]: [libseat] [seatd/seat.c:86]
Could not open terminal to clean up VT 0: Permission denied
Mar 06 20:52:50 orangepicm4 phoc[4770]: Failed to create server: Could
not create backend
Mar 06 20:52:55 orangepicm4 phoc[4782]: [libseat]
[libseat/backend/logind.c:317] Could not activate session: Interactive
authentication requir>
Mar 06 20:52:55 orangepicm4 phoc[4786]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:52:55 orangepicm4 phoc[4786]: [libseat] [seatd/seat.c:61]
Could not open tty0 to update VT: Permission denied
Mar 06 20:52:55 orangepicm4 phoc[4786]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:52:55 orangepicm4 phoc[4786]: [libseat] [seatd/seat.c:72]
Could not open terminal for VT 0: Permission denied
Mar 06 20:52:55 orangepicm4 phoc[4786]: [libseat] [seatd/seat.c:461]
Could not open VT for client
Mar 06 20:52:55 orangepicm4 phoc[4786]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:52:55 orangepicm4 phoc[4786]: [libseat] [seatd/seat.c:86]
Could not open terminal to clean up VT 0: Permission denied
Mar 06 20:53:05 orangepicm4 phoc[4782]: [backend/backend.c:107] Timeout
waiting session to become active
Mar 06 20:53:05 orangepicm4 phoc[4782]: [backend/backend.c:272] failed
to start a session
Mar 06 20:53:05 orangepicm4 phoc[4782]: [backend/backend.c:322] failed
to add backend 'drm'
Mar 06 20:53:05 orangepicm4 phoc[4786]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 20:53:05 orangepicm4 phoc[4786]: [libseat] [seatd/seat.c:86]
Could not open terminal to clean up VT 0: Permission denied
Mar 06 20:53:05 orangepicm4 phoc[4782]: Failed to create server: Could
not create backend




Then I created a new file called .phoshdebug in /home/orangepi and
filled it with the contents specified.

Then ran:
systemctl stop phosh;systemctl start phosh;
this logged me out, so I logged in again normally, then looked in
journal:

Mar 06 21:21:49 orangepicm4 phoc[3189]: [libseat] [seatd/seat.c:39]
Created VT-bound seat seat0
Mar 06 21:21:49 orangepicm4 phoc[3189]: [libseat] [seatd/server.c:145]
New client connected (pid: 3137, uid: 1000, gid: 1000)
Mar 06 21:21:49 orangepicm4 phoc[3189]: [libseat]
[libseat/backend/seatd.c:633] Started embedded seatd
Mar 06 21:21:49 orangepicm4 phoc[3189]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 21:21:49 orangepicm4 phoc[3189]: [libseat] [seatd/seat.c:61]
Could not open tty0 to update VT: Permission denied
Mar 06 21:21:49 orangepicm4 phoc[3189]: [libseat] [seatd/seat.c:170]
Added client 0 to seat0
Mar 06 21:21:49 orangepicm4 phoc[3189]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 21:21:49 orangepicm4 phoc[3189]: [libseat] [seatd/seat.c:72]
Could not open terminal for VT 0: Permission denied
Mar 06 21:21:49 orangepicm4 phoc[3189]: [libseat] [seatd/seat.c:461]
Could not open VT for client
Mar 06 21:21:49 orangepicm4 phoc[3189]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 21:21:49 orangepicm4 phoc[3189]: [libseat] [seatd/seat.c:86]
Could not open terminal to clean up VT 0: Permission denied
Mar 06 21:21:59 orangepicm4 phoc[3137]: [backend/backend.c:107] Timeout
waiting session to become active
Mar 06 21:21:59 orangepicm4 phoc[3137]: [backend/backend.c:272] failed
to start a session
Mar 06 21:21:59 orangepicm4 phoc[3137]: [backend/backend.c:322] failed
to add backend 'drm'
Mar 06 21:21:59 orangepicm4 phoc[3189]: [libseat]
[common/terminal.c:162] Could not open target tty: Permission denied
Mar 06 21:21:59 orangepicm4 phoc[3189]: [libseat] [seatd/seat.c:86]
Could not open terminal to clean up VT 0: Permission denied
Mar 06 21:21:59 orangepicm4 phoc[3189]: [libseat] [seatd/seat.c:524]
Closed client 0 on seat0
Mar 06 21:21:59 orangepicm4 phoc[3189]: [libseat] [seatd/seat.c:192]
Removed client 0 from seat0
Mar 06 21:21:59 orangepicm4 phoc[3189]: [libseat] [seatd/client.c:471]
Client disconnected
Mar 06 21:21:59 orangepicm4 phoc[3189]: [libseat]
[libseat/backend/seatd.c:645] Stopped embedded seatd
Mar 06 21:21:59 orangepicm4 phoc[3137]: Failed to create server: Could
not create backend
Mar 06 21:22:04 orangepicm4 phoc[3883]: [libseat] [seatd/seat.c:39]
Created VT-bound seat seat0
Mar 06 21:22:04 orangepicm4 phoc[3883]: [libseat] [seatd/server.c:145]
New client connected (pid: 3855, uid: 1000, gid: 1000)

#1065519#24
Date:
2024-03-11 11:11:08 UTC
From:
To:
Hi Evan,

Ah...that's what they link from

http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-CM4-1.html

and they also have links to their build scripts there.

Thanks. Unfortunately this doesn't contain the desired output. Is there
a way to get ssh access to such a device?
Cheers,
 -- Guido