Closed TomyangSydney closed 1 year ago
I think the last two "errors" or let's say warnings can be ignored. Depending on the machine that I am using, I also sometimes get these kind of warnings. Did you try to run some of the exercises ? If the exercises run fine, then this warning can be ignored.
However, the error xauth: file /home/linchuan/.Xauthority does not exist
might cause problem when using RVIZ or some other UI in the docker environment. Can you try to run RVIZ in the container ? Maybe it is necessary to create the .Xauthority
directory in your home directory.
Thank you for your answer. Currently I have problems when running 'rqt' command under the running container and I got the following error:
I think this might caused by some errors when setting up the XLaunch configuration. I followed the steps to set up the xlaunch configuration file, but where I should I save this configuration file so that it can be used in WSL?
So do not necessarily need to save your configuration for Xlaunch to a file. It is sufficient to click on finish after "Configuration Complete"
Regarding my response above: Did you check if the file /home/linchuan/.Xauthority
does exists in your WSL environment ? If this file is missing, it could cause problems like you currently have. Further more you can try to run
xhost +
rqt
Thank you for your response. I tried to create the file /home/linchuan/.Xauthority following this guide: https://superuser.com/questions/806637/xauth-not-creating-xauthority-file. Although the error xauth: file /home/linchuan/.Xauthority does not exist disappear, I still get the error mentioned in the last post after executing "rqt". Here is the result:
Another question is about the VcXsrv, after I run "xhost +", I get the error:
Do i need to install any other libraries in WSL apart from only choosing the first option in the window?
Thank you in advance for your help.
Hi, can you try some of the suggestions that are proposed in the following ?
Bests,
Thank you for your answer! I tried the first one to update wsl and it works this time! Very appreciated!
virtual machine (I use WSL2)
Does not apply
lsb_release -a
in a terminal)Ubuntu 22.04.2 LTS
ls -la
and paste the content here.total 20 drwxrwxrwx 1 linchuan linchuan 4096 May 22 19:31 . drwxrwxrwx 1 linchuan linchuan 4096 May 22 19:31 .. drwxrwxrwx 1 linchuan linchuan 4096 May 22 19:31 .git drwxrwxrwx 1 linchuan linchuan 4096 May 22 19:31 .github -rwxrwxrwx 1 linchuan linchuan 2656 May 22 19:31 .gitignore -rwxrwxrwx 1 linchuan linchuan 2001 May 22 19:31 .gitlab-ci.yml -rwxrwxrwx 1 linchuan linchuan 659 May 22 19:31 .gitmodules -rwxrwxrwx 1 linchuan linchuan 1104 May 22 19:31 LICENSE -rwxrwxrwx 1 linchuan linchuan 2422 May 22 19:31 README.md drwxrwxrwx 1 linchuan linchuan 4096 May 22 19:31 assets drwxrwxrwx 1 linchuan linchuan 4096 May 22 19:31 bag drwxrwxrwx 1 linchuan linchuan 4096 May 22 19:31 catkin_workspace drwxrwxrwx 1 linchuan linchuan 4096 May 22 19:31 colcon_workspace drwxrwxrwx 1 linchuan linchuan 4096 May 22 19:31 docker
catkin_workspace
folder in the acdc repository and executels -la
and paste the content here.total 0 drwxrwxrwx 1 linchuan linchuan 4096 May 22 19:31 . drwxrwxrwx 1 linchuan linchuan 4096 May 22 19:31 .. -rwxrwxrwx 1 linchuan linchuan 98 May 22 19:31 .catkin_workspace -rwxrwxrwx 1 linchuan linchuan 0 May 22 19:31 .gitkeep drwxrwxrwx 1 linchuan linchuan 4096 May 22 19:31 src
docker images
and paste the content here.REPOSITORY TAG IMAGE ID CREATED SIZE hello-world latest 9c7a54a9a43c 2 weeks ago 13.3kB rwthika/acdc latest 82e604df3cde 7 months ago 23.7GB
when I move to docker directory under acdc directory and execute './run.sh', I get error information. I check the output of clone operation, everything looks good.
Error Message:
xauth: file /home/linchuan/.Xauthority does not exist
find: ‘/proc/28/task/28/fdinfo/5’: No such file or directory find: ‘/proc/28/fdinfo/6’: No such file or directory
Screenshot: