ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

X-Forwarding to Windows (Xming): blank window when running Stage on Ubuntu server

asked 2021-01-18 00:40:48 -0500

Xylona gravatar image

updated 2021-05-13 05:14:44 -0500

Hello community,

I able to run code below on Ubuntu 18.04 desktop with ROS melodic:

$ rosrun stage_ros stageros willow-erratic.world

but when i run it on Ubuntu 18.04 server with ROS Melodic and X-forwarding to Windows using Xming, the stage windows is blank and it will crash if i click the blank windows. The error is:

Insufficient GL support
[Loading willow-erratic.world][Image "willow-full.pgm"]
warn: worldfile willow-erratic.world:32 : property [rotate] is defined but not used (/tmp/binarydeb/ros-melodic-stage-4.3.0/libstage/worldfile.cc WarnUnused)
warn: worldfile willow-erratic.world:33 : property [scale] is defined but not used (/tmp/binarydeb/ros-melodic-stage-4.3.0/libstage/worldfile.cc WarnUnused)
warn: worldfile willow-erratic.world:30 : property [size] is defined but not used (/tmp/binarydeb/ros-melodic-stage-4.3.0/libstage/worldfile.cc WarnUnused)
[ INFO] [1610951535.386495859]: Subscribed to Stage position model "era"
[ INFO] [1610951535.387984025]: subscribed to Stage ranger "era.ranger:0"
[ INFO] [1610951535.388811945]: Robot era provided 1 rangers and 0 cameras
Segmentation fault (core dumped)

Anyone have any clue about it? Thanks in advance!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-05-13 00:49:20 -0500

Xylona gravatar image

Found out that might be a bug in XMing as i am using the free version of it which stuck at an old version of x11. Hence i tried with other X server and here's my conclusion:

1)Xming (free version): cant run stage

2)VcXsrv: can run stage and rviz but rviz failed to run at display setting "multiple windows"

3)MobaXTerm: have built in SSH (putty), X11 (x-server) and FTP (filezilla). Can run stage and rviz but must run using MobaXTerm SSH.

As i am new to ROS so i am sorry if there is some mistake on information above.

edit flag offensive delete link more

Comments

All the X servers you mention are the software you would install on Windows to use with remote X sessions.

Is that what you're doing?

gvdhoorn gravatar image gvdhoorn  ( 2021-05-13 04:55:16 -0500 )edit

yes, i remote connect the Ubuntu server using Windows.

Xylona gravatar image Xylona  ( 2021-05-13 05:08:20 -0500 )edit

Wouldn't that have been critical information and context to mention in your question?

The title of your question is "stage on ubuntu server", the body of your question doesn't mention Windows at all.

Remote X / X forwarding is always difficult with 3D accelerated OpenGL UI applications, not to mention forwarding to Windows.

gvdhoorn gravatar image gvdhoorn  ( 2021-05-13 05:10:06 -0500 )edit

Thanks for correcting the mistake!

Xylona gravatar image Xylona  ( 2021-05-13 05:13:27 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2021-01-18 00:40:48 -0500

Seen: 299 times

Last updated: May 13 '21