I just started trying Autotest for Linux kernel. I installed Ubuntu 16.04 into VirtualBox. And then downloaded autotest and the linux developer package.
When I run the included tests I get errors similar to "AttributeError: xxx object has no attribute yyy". There is a lot of them! I expected it to work straight out of the box.
The only step that I skipped was setting up the host side. I am wondering if it is the source of my errors. The docs say to run the host side once to set everything up. But I don't want to connect to the cloud etc ... Can I just run everything on the client side? Is there a way to set it up to run client only?
Any packages that I am missing?
Thanks!
Related
I am running the Opencv 4.4.0 in a Ubuntu 20.04 AWS-Ec2 instance connected with VSCODE trough the Remote Explorer module.
I am trying to open an image that I have uploaded to the project.
import cv2
img = cv2.imread("imgs/cat1.jpg")
cv2.imshow("Output", img)
But when I run the file (pressing the green arrow) I get the follow error:
(env) ubuntu#ip-xxx-xx-xx-xxx:~/vhosts/opencv-ml-images$ /bin/python3 /home/ubuntu/vhosts/opencv-ml-images/chapter1.py
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/ubuntu/.local/lib/python3.8/site-packages/cv2/qt/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: xcb.
Aborted (core dumped)
Does someone knows what is happening? maybe something related to the fact I am running the opencv in a remote computer? How to sove it?
I think what you are trying to do is run it on Remote Desktop Connection. I was having the same problem but I am running WSL 2 (Both are quite similar). And I solved it by setting up environment for GUI applications on WSL 2 from https://wiki.ubuntu.com/WSL . Just start your X server and run the code again. It should work. If not, do reply so that we can sort it out together.
So, I've been trying to build a MEAN (MongoDB Express Angular NodeJS) stack server to use for academic teaching purposes, as a student sandbox/training environment. I can install all packages fine, the problems appear when trying to generate a new project inside my Linux box. It always halts towards the end, with an error about "Busy File" or something along those lines, and thus the project is missing crucial files to run with the command 'ng serve'.
Another problem is the sync between host and guest, I am running Windows 10 as host, and using Debian 9 as the guest, and when editing and saving files on the host, NodeJS compiler is not triggering nor synchronizing my changes to the server.
I've tried some Vagrant plugins, such as FS-Notify and WinNFSD, but to no luck. I remember reading something about Nodewatch being the culprit, but I am not sure and I don't have much experience around Angular, Node and Vagrant together.
I've browsed the Github repository Vagrant Plugins, https://github.com/hashicorp/vagrant/wiki/Available-Vagrant-Plugins, but can't seem to find an appropriate solution to run an isolated MEAN stack Debian with only Vagrant and VirtualBox on a Windows host.
I am using Windows 10 as host, Debian 9 as the guest. Windows host is using Vagrant 2.1.4, and VirtualBox version 5.2.18. (I've tried using Docker, but it requires and consumes too many resources, unfortunately.)
I've noticed that there seem to be quite a few people with similar issues.
I would greatly appreciate any help or input on what to do. Thank you in advance.
https://blog.entrostat.com/vagrant-ubuntu-docker-windows/
Following this article worked just fine for me.
Don’t forget to start a second PowerShell and run
vagrant fsnotify
The only issue I’m currently trying to resolve is tslint going crazy in VS. Code and WebStorm due to the host system not containing node_modules.
I’ll get back here when I find a solution.
Introduction
I've just installed a networking simulator Called Netkit. On Debian stretch stable. Using the official installation guide here.
Installation
After setting the correct paths and installing. I then run the check_configuration.sh script.
Everything is checked OK, and it has found the terminal emulator xterm which is needed for netkit. And recieve the complete message.
[ READY ] Congratulations! Your Netkit setup is now complete!
Enjoy Netkit!
The Problem
Running netkit using the command:
vstart pc1
The xterm netkit-kernel emulator starts running. However I'm getting an infinite loop of the same error message:
ubda: can't open "home/foo/netkit/pc1.disk" failed, errno= 13
So im guessing it's because the file is missing? if so how do i obtain it? and if not, what is causing this error. I've followed the install guide completely.
I'm assuming your system is not a 32bit system. Netkit is only supported on the 32-bit architecture(unless the compatibility libraries are installed). Hence I would suggest you download a 32-bit VM(instead of installing the libraries) and run Netkit on the same(worked fine for me).
Check position of your lab-folder..
I've ghost bloggind platform based on node.js installed locally on ubuntu 16.04 under var/www.
http://localhost:2368/ghost/ works perfectly. I can add new posts, etc.. However while running buster generate in the console from the var/www directory I got the following error :
Connecting to 127.0.0.1:2368... failed: Connection refused.
I'm totally new to linux, servers, node.js...
Is it something about permissions ? Should I change something with chmod/chown ?
Is it something related to Apache ?
Thanks for your help
I want to run cmake ( A build tool) which has a QT-GUI on my Ubuntu Server VM. I am currently getting the following error:
cmake-gui: cannot connect to X server
I would really appreciate any help or guidance on what to do to get it going. I believe that the server edition misses on GUI front for the Ubuntu, but is there any way I can the application working. Running a full-fledged Ubuntu VM is heavy.
Do not use cmake-gui but cmake