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

no rviz interface in Ubuntu 11.04 (natty)

asked 2011-07-06 21:11:23 -0600

I have exactly the same problem as described in this question, i.e. the rviz interface does not show up if I start roscore and "rosrun rviz rviz".

I have installed the latest ros-diamondback-* packages from the official repository (version 1.4.1-s1308330112~natty). I tried several different window managers including GNOME, Unity, and KDE Plasma. I tried four different computers with Natty, and the most disturbing part is that it works on exactly one machine (with KDE), but for no apparent reason; it is the same hardware (HP Z800 workstation).

I have successfully run Gazebo with Ogre and glxgears, so there is no obvious problem with my 3D acceleration (NVIDIA). There are no helpful error messages in the logs. There are a few warnings and errors, but they show up on the working machine as well.

edit retag flag offensive close merge delete

Comments

The error may not be useful to you but please post it anyway. Also what's the output of 'dpkg -l ros-diamondback-visualization'
tfoote gravatar image tfoote  ( 2011-07-09 06:39:37 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2011-07-10 23:38:26 -0600

The problem turned out to be the environment variable GDK_NATIVE_WINDOWS. I have set this variable in my .bashrc to circumvent problems with Eclipse (see http://blogs.gurulabs.com/dax/2009/10/what-gdk-native.html for a more in-depth explanation). Without this variable, the interface shows up just fine.

However, a colleague of mine has set the same variable and it causes no problems for him. He uses Ubuntu Lucid, though.

edit flag offensive delete link more
0

answered 2011-07-09 02:20:30 -0600

xalu gravatar image

I am running natty and am not having any problems running rviz. Did you do an upgrade or was it a fresh install? Have you tried running Rviz from another computer? http://www.ros.org/wiki/turtlebot/Tutorials/Networking%20Setup

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-07-06 21:11:23 -0600

Seen: 389 times

Last updated: Jul 10 '11