mapeditor / mapeditor/tiled

tmxrasterizer cannot run without X server

Open
#512 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
12.9k
Forks
2k
Avg merge
4h 27m
Merged PRs (30d)
8

Description

I'm unable to run tmxrasterizer on a headless box:

$ tmxrasterizer 
tmxrasterizer: cannot connect to X server 

I can't find anywhere in the code for tmxrasterizer which looks for an X server specifically so I assume it must be in one of the imported Tiled modules.

Does the module inherently need X server to perform the functions that tmxrasterizer uses, or does the module just check for the X server because it assumes you're going to run Tiled proper?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the tmxrasterizer entry point and trace the imported Tiled modules involved before the X-server connection occurs. Run tmxrasterizer on a headless box and determine whether it can perform its rasterization functions without X; done means the command runs there or the required dependency is clearly identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.