Skip to content

watch: --control without a VNC client suggests a tunnel to a read-only server #369

Open

Description

@ElbertePlinio

Without a usable native viewer, pickforge-lab watch --control uses the x11vnc path. When neither remote-viewer nor a TigerVNC-compatible vncviewer is installed, the command fails, returns control, and prints a hint to tunnel to the VNC port with SSH. At that point the server is read-only again, so the hint leads nowhere. The x11vnc server also keeps running until the session is destroyed.

Found during the QA pass for #341. This path existed before that change.

Steps:

  1. Remove pickforge-viewer from PATH and make sure no remote-viewer or vncviewer is installed.
  2. Run pickforge-lab watch --control --session <id> on a desktop session.

Acceptance criteria:

  • The error says that no VNC client was found and names the clients that work, without a tunnel hint for a server that is read-only.
  • A read-only x11vnc that this command started is stopped when the command fails, or the output says that it keeps running and why.
  • A test covers the missing-client path.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions