Skip to content

TryExec prevents session launching #189

@HashBangAU

Description

@HashBangAU

I've found that the bambam session isn't offered to me on the Pop!OS login screen if the file in /etc/X11/sessions/ contains the TryExec= line.

Perhaps it's failing because the file is a script with a shebang rather than a real executable, or maybe it's unable to run that check for some reason?

Background:

  • I've just discovered bambam after looking in the app store for something my kid can mess around with. It's a cool project, thanks! I might try swapping in some assets from pictures of family members etc.
  • The package manager gave me a real old version, so I had to manually download and run the commands to set it up with the magic `--in-dedicated-session' flag.
  • It didn't work straight away, but I'd been messing around with the .desktop files already, so I tried stripping it back to just the minimum, and it worked! By adding and removing stuff, I realised it was the TryExec.
  • I'm happy to push a PR to just remove those lines, if that's an acceptable solution. If you want to keep TryExec, maybe you could check for the presence of python? That'd be a real binary executable file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions