Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.4.0pre4 -Temporary Secret Terminal does not display #292

Closed
markshank opened this issue Jul 4, 2022 · 6 comments
Closed

v0.4.0pre4 -Temporary Secret Terminal does not display #292

markshank opened this issue Jul 4, 2022 · 6 comments
Assignees
Labels
bug Something isn't working GUI WindowServer, SystemUIServer, LoginWindow, etc

Comments

@markshank
Copy link
Contributor

markshank commented Jul 4, 2022

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.

@mszoek
Copy link
Collaborator

mszoek commented Jul 4, 2022

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 mszoek added bug Something isn't working GUI WindowServer, SystemUIServer, LoginWindow, etc labels Jul 4, 2022
@markshank
Copy link
Contributor Author

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

IMG_20220704_180136889 - Copy

@markshank
Copy link
Contributor Author

markshank commented Jul 4, 2022

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.

@mszoek
Copy link
Collaborator

mszoek commented Jul 5, 2022

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

@markshank
Copy link
Contributor Author

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

@mszoek mszoek self-assigned this Jul 10, 2022
@mszoek
Copy link
Collaborator

mszoek commented Aug 25, 2022

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 mszoek closed this as completed in c360c64 Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working GUI WindowServer, SystemUIServer, LoginWindow, etc
Projects
None yet
Development

No branches or pull requests

2 participants