swri-robotics / mapviz

Modular ROS visualization tool for 2D data.
BSD 3-Clause "New" or "Revised" License
371 stars 144 forks source link

how can I take XDG_RUNTIME_DIR not set problem #727

Closed Nomad-Learner closed 3 years ago

Nomad-Learner commented 3 years ago

thanks to many people

there is only one left.

process[rosout-1]: started with pid [10369] started core service [/rosout] process[mapviz-2]: started with pid [10373] process[initialize_origin-3]: started with pid [10377] process[swri_transform-4]: started with pid [10378] QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-rosdevelop'

I serached XDG_RUNTIME_DIR not set again and again

but I cant find solution. what should I do to solve that problem?

danthony06 commented 3 years ago

It looks like XDG_RUNTIME_DIR is falling back to its default value, and that shouldn't be a problem any more. I don't have WSL, and I'm not sure if any of the contributors use it either.

On Tue, Apr 6, 2021 at 12:58 PM Nomad-Learner @.***> wrote:

thanks to many people

there is only one left problem.

process[rosout-1]: started with pid [10369] started core service [/rosout] process[mapviz-2]: started with pid [10373] process[initialize_origin-3]: started with pid [10377] process[swri_transform-4]: started with pid [10378] QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-rosdevelop'

I serached XDG_RUNTIME_DIR not set again and again

but I cant find solution. what should I do to solve that problem?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/swri-robotics/mapviz/issues/727, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBZWHAM7EFM7H4UH7XDBXLTHNDSXANCNFSM42PG2TIQ .

Nomad-Learner commented 3 years ago

It looks like XDG_RUNTIME_DIR is falling back to its default value, and that shouldn't be a problem any more. I don't have WSL, and I'm not sure if any of the contributors use it either. On Tue, Apr 6, 2021 at 12:58 PM Nomad-Learner @.***> wrote: thanks to many people there is only one left problem. process[rosout-1]: started with pid [10369] started core service [/rosout] process[mapviz-2]: started with pid [10373] process[initialize_origin-3]: started with pid [10377] process[swri_transform-4]: started with pid [10378] QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-rosdevelop' I serached XDG_RUNTIME_DIR not set again and again but I cant find solution. what should I do to solve that problem? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#727>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBZWHAM7EFM7H4UH7XDBXLTHNDSXANCNFSM42PG2TIQ .

thank you for answering I think WSL2 has problem qt.qpa.screen: QXcbConnection: Could not connect to display Could not connect to any X display.

maybe qt is not familiar with WSL2

danthony06 commented 3 years ago

I'm kind of curious to see if this update from Microsoft fixes your problem:

https://devblogs.microsoft.com/commandline/the-initial-preview-of-gui-app-support-is-now-available-for-the-windows-subsystem-for-linux-2/

If that doesn't fix it, I will probably close the issue. If you find a way to fix the problem, I'd be happy to add it to the documentation or merge in code fixes that address the problem.

Nomad-Learner commented 3 years ago

Thank you for answering I will check that document anyway I just install VMware, And reinstall mapviz In VMware, mapviz works well