# Troubleshooting Windows and Desktop Connections

_Peios / Using Peios / Desktop Basics_

> Investigate absent shell controls, missing windows, and connection failures.

Fenestra writes failures and shell restarts to standard error. The place
those messages are collected depends on how GXWI starts the session. Keep
session authentication failures separate from compositor failures: GXWI
owns sign-in and browser routing.

## Shell controls are absent

Check startup and configuration before repeatedly restarting the session:

1. Read the session's Fenestra messages for display-socket or shell errors.
2. Inspect `Machine\Software\Fenestra Shell`. An empty list intentionally
   starts no shell; an absent value selects the fallback programs.
3. Check that each configured executable exists and can run as the session
   account. A valid but missing executable does not select the fallback.
4. Correct the cause and start another desktop session.

Fenestra needs the runtime directory provided by GXWI to bind its display
socket. If binding fails, it reports that applications are unavailable and
does not start shell applications. A browser page appearing is therefore
not enough to establish that application transport is working.

## A window is missing

Check the workspace and application before assuming data was lost:

1. Move through the workspaces using your configured shortcuts.
2. If the viewport is narrow, focus another tiled window with the taskbar,
   dock, or tile shortcut. Only one tiled window is visible at a time.
3. Check whether the application process has exited or disconnected.

Moving a window from another device changes its workspace for the whole
session. Window geometry and focus remain local to each device. A closed
application connection removes its surfaces from every attached page.

## Shortcuts do not work inside an application

A browser can reserve a combination before the desktop receives it. Choose
a different shortcut in Desktop Settings if available. An application's
raw page also needs to cooperate with desktop keyboard forwarding. An
explanatory label stays visible on pages that do not cooperate.

When shortcuts were edited directly, check for conflicting assignments.
The window manager's claimed shortcut takes precedence over a shell claim.
Among shell claims, the first claim wins. Use the settings controls to
avoid introducing these conflicts.

## A debug window appears unexpectedly

The desktop page includes diagnostic key bindings when the compositor page
itself has keyboard focus. Space requests a debug surface. Enter attempts
to start `gxwi-hello-app` beside Fenestra; Shift+Enter requests its raw-page
mode. These are diagnostic controls, separate from the application launcher.
Focus an application window to enter ordinary application input.

## The page waits for the machine

Check whether the machine and its GXWI address are reachable from another
administrative connection. A loss-of-contact display cannot distinguish a
network failure from a stopped service or machine. Avoid repeating a power
operation until the actual machine state is known.
