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

ROS via VNC "XKEYBOARD extension not present"

asked 2020-04-21 16:36:28 -0500

pitosalas gravatar image

I'm setting up a new Ubuntu server on Digital Ocean to use for a hosted ROS development environment. Here's what I have:

  • ubuntu 18.04
  • ROS melodic
  • xfce4 desktop
  • tightvncserver

I create a tunnel from my Mac to that server with SSH:

ssh -L 5901:127.0.0.1:5901 -C -N -l <usermame> <server ip>

I use a VNC Cliend (VNC Viewer) to connect to the Ubuntu server. I see the xfce4 desktop. I know that I have a pretty good thing going because I can run FireFox (a heavy Gui app). Then I try the most minimal bit of ROS:

rosrun rqt_console rqt_console

and I get this error message:

Qt: XKEYBOARD extension not present on the X server (see attached image)

image description

I know this is maybe not a ROS problem. It is probably either a VNC or Ubuntu configuration detail. But I thought that this community might have some experience with it. I've posted this question on StackOverflow as well. Thanks

Qt: Keyboard extension not present on the X Server

edit retag flag offensive close merge delete

Comments

I've posted this question on StackOverflow as well.

then please include the link to your SO question so we can keep things connected.

gvdhoorn gravatar image gvdhoorn  ( 2020-04-22 04:04:08 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-04-22 06:13:38 -0500

pitosalas gravatar image

I got through this issue by lots of googling. I use this set of instructions: https://www.digitalocean.com/communit... but instead of installing:

sudo apt install tightvncserver

I used

sudo apt-get install tigervnc-standalone-server

Which solves the immediate problem. I can run ROS, various qt utilities, and turtlesim pretty well. However, getting rviz and gazebo running breaks. I dont know if it's simply matter of performance of the particular node I have on digital ocean or something more fundamental with the configuration.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-04-21 16:36:28 -0500

Seen: 3,501 times

Last updated: Apr 22 '20