ravynos icon indicating copy to clipboard operation
ravynos copied to clipboard

v0.4.0pre4 -Temporary Secret Terminal does not display

Open markshank opened this issue 2 years ago • 5 comments

I use the <Logo>-<Enter> key combination, and occasionally see a small rectangle flash on the screen. But it doesn't persist so I can't get focus on it.

NOTE: I used a USB Logitech keyboard that has a Windows key for the <Logo>. The Chromebook has a key that might be <Logo>, but I couldn't be sure.

markshank avatar Jul 04 '22 11:07 markshank

If something is flashing up, you've probably got the right key but maybe the terminal is crashing. If you can switch to Alt+F2 for a console, you may be able to run it from there and see what's happening:

export XDG_RUNTIME_DIR=/tmp/runtime.$(id -u)
foot -L

mszoek avatar Jul 04 '22 21:07 mszoek

I don't see anything obviously wrong, but what do I know?

IMG_20220704_180136889 - Copy

markshank avatar Jul 04 '22 22:07 markshank

Oops, I was superuser when I tried that. Tried again as normal user and the results are significantly different.

When I Ctrl-Alt-F1, I see a grey rectangle in the middle of the screen with a % prompt in the upper left corner.

OK, at least I have a workaround for now.

markshank avatar Jul 04 '22 22:07 markshank

Great.. now we just need to identify why it isn't starting from WindowServer...

mszoek avatar Jul 05 '22 00:07 mszoek

I saw a comment in Discord about checking /tmp/stderr.txt and decided to try that. Looks like it launches and then exits.

IMG_20220706_175026537 - Copy

markshank avatar Jul 07 '22 12:07 markshank

So the reason the terminal doesn't start properly is because WindowServer runs as nobody (should be _windowserver actually) and nobody is not allowed to log in - meaning trying to run a terminal as nobody fails.

mszoek avatar Aug 25 '22 01:08 mszoek