Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • P pcai-client
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • pcai-platform
  • pcai-client
  • Merge requests
  • !1

Merged
Created Feb 15, 2023 by Christopher Bridge@cbridgeDeveloper

Add force headless option

  • Overview 0
  • Commits 1
  • Changes 1

Hi

I have been having problems with using the client on a server accessed over ssh. Basically, the client detects that I have a web browser installed (the lynx TUI browser) and tries to use it to login. The result is... not much fun.

I have a workaround hack that I have been using and thought it might be generally useful so am contributing it here. Basically I just added an boolean option to the login method called force_headless. It simply bypasses the browser check and goes straight to printing the URL for in order to use on a web browser on my local machine.

Happy to change this around if there's a preferred design, this just seemed like the quickest approach.

@ssfak

Thanks!

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: feature/force_headless