I am following the beginner rosnode tutorial http://wiki.ros.org/ROS/Tutorials/UnderstandingNodes
The environment is Windows 10 / WSL. When I enter command "rosrun turtlesim turtlesim_node" after running "roscore", I get the following error:
wn-003% rosrun turtlesim turtlesim_node
QXcbConnection: Could not connect to display
zsh: abort (core dumped) rosrun turtlesim turtlesim_node
Are there any solutions to this? Thanks.
WLS doesn't support graphical interfaces. You need to initialize some "x server for windows" application, like Xming and then type this line in WLS terminal:
export DISPLAY=:0
ROS has a great open source ecosystem and support for Linux Operating system. For a beginner, it is better to get hands-on experience directly on a Linux machine as it is easier and you'll get good support for errors you encounter.
ROS does work on windows but it requires Windows Subsystem for Linux (WSL), which is a compatibility layer which allows running a whole bunch of Linux binaries natively on Windows 10. With the advent of the Windows 10 Creators Update, the WSL was heavily updated and now is able to run ROS lunar and melodic.
You will also need to install BASH shell on your windows 10 machine.
Follow this article by Microsoft for installing WSL and BASH : install WSL on windows
Then follow this great article by janbernloehr : https://janbernloehr.de/2017/06/10/ros-windows
Related
I am following the tutorial on the hyperledger besu Developer Quickstart and I tried running npx quorum-dev-quickstart but always received this error even though I am already using WSL2 with docker installed:
Unfortunately this tool is not compatible with Windows at the moment.
We recommend running it under Windows Subsystem For Linux 2 with Docker Desktop.
Same thing happens when using the Git Bash. Can anyone let me know what I should do differently? Thank you!!
I tried Git Bash, WSL2, PowerShell and none of them worked.
I am trying to create a remote python Docker interpreter setting with Pycharm Community Edition 2021.2. I have installed the docker plugin and also have connected to the docker image with Unix socket: UNIX:///var/run/docker.socket which shows "connection successful". However, when I go python Interpreter setting to I can't see or find a way to give the path to the python inside the running docker.
Please does anyone have an idea about it, it will be highly appreciated.
Thanks
You need the Professional edition in order to use Docker as interpreter. Community edition only allows you to use python virtual environments, conda or python**.exe
I want to install docker toolbox on my windows 10 home pc. Everything works perfectly but I want to install openwhisk with docker and I get error on the following commands
git clone https://github.com/apache/incubator-openwhisk-devtools.git
cd incubator-openwhisk-devtools/docker-compose
make quick-start
The error that I get is the following:
'make' is not recognized as an internal or external command,
operable program or batch file.
Any suggestions?
The incubator-openwhisk-devtools project has not yet been ported to Windows. Unless you can find a unix-based environment to use, I'd suggest looking at the virtual machine based setup instructions instead: https://github.com/apache/incubator-openwhisk#vagrant-setup
I am new learner for Docker.I have a very simple question.
I want my application to work on Linux system but I am writing application in Windows.So do I need to install Docker for Windows or Linux?
If I run using Docker for Linux,i am not getting option to run in windows and it is getting failed(I understand it might be some other unrelated error) but I need to confirm if my approach is correct or not.
Am I right in installing Docker for Linux?
Also,in case I plan to move to AWS, what docker I need in that case.
Thanks
Consider docker as any software. if your OS is windows you install windows version of a software. if your is a linux distro then you install linux version of a software.
So you need to install docker for windows afterwards you can install any docker image/container you want under your operating system. Could be windows, linux or anything else.
I am getting error as Docker needs 64bit configuration, is there any way where i can install docker in 32 bit systems. It's a 32 bit i3 processor having windows 7 machine.
As per the document of docker, it says that you can install it only on 64 bit machine.
But there is another solution if you don't have a 64 bit machine. Just use the below url to play with docker (it's official site) it works like a charm
Docker play
Edit 1: Please note that this is only for practise purpose, Once your session is over your work will be lost.
Edit 2: I have found a very interesting site to practise docker kodekloud
The first step to getting this whole setup to work is installing Oracle’s VirtualBox on the host system. Once the installation is complete, installing docker-machine is as simple as running the following in an Administrative PowerShell session:
choco install docker-machine -y
docker-machine create --driver virtualbox default
docker-machine env | Invoke-Expression
For more details You can follow this blog.
No, this is not possible for current versions of the docker.
This was possible for early versions of docher (boot2docker 32bit iso), but the project is closed and thoroughly killed