usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed MSI | ubuntu 16.04 fancontrol - ubuntu-16.04

I've installed lm-sensors, but when I run pwmconfig command as root, it throws an error:
/usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed
My laptop is an MSI Gs63VR Stealth Pro core Intel i7 CPU
Thank you!

A simple search for the error message yielded several hits on Google. All of the top hits are from before this question was posted.
This guide on AskUbuntu may be helpful, or this one.
Likely the issue you're having can be solved with a linux kernel option. Add this to your Grub command-line: acpi_enforce_resources=lax
sudo sed -E -i 's/(GRUB_CMDLINE_LINUX_DEFAULT=.+)"$/\1 acpi_enforce_resources=lax"/' /etc/default/grub
sudo update-grub
then reboot.

Related

How to install specific version in ARCH using yay?

I have issue with latest version of vscode==1.75.1.
I'm ussing Microsoft Dev Containers extension, and inside dev container I cannot run termminal .
Error is: The connection to the terminal's pty host process is unresponsive, the terminals may stop working.
I'm traying to find any olution for this problem.
I done uninstall, remove all filles related to vscode, install agan with yay -S visual-studio-code-bin and still have issue.
I want to install specific version of visual-studio-code-bin==1.74.3, how to install with yay -S?
p.s. This was after I updated system.
Thanks!

compile perl script using par::packer and run it on different linux versions

I have a Perl script which I tried to use PAR::Packer in order to make it a standalone executable so it runs without having Perl on the target machine (because of security reasons).
I used WSL on Windows to pack the Perl script, but the problem I have when I run it on the target machine is the error: "version `GLIBC_2.29' not found".
I ran the command ldd --version and the version on the target machine is 2.17.
The problem I am facing is I cannot install anything on the target machine so I cannot install Perl + PAR::Packer to compile the script and then distribute it to the other machines that are gonna use the script (it's gonna be used in an image so lots of machines).
I cannot seem to find a solution or alternative for this, would love any help from the community.
Edit:
the ubuntu on my WSL was ubuntu 22, the target machines runs redhat and not debian variant, IDK which version as they are a custom linux made by the company i work in.
why am i stuck?
the main problem is that PAR::Packer isn't working on old ubuntu builds ( before 14) and at ubuntu 14 the glibc is already 2.22 while on version 12 its 2.15 so I need to compile the script on old ubuntu (version 12) but the compiling program (PAR::Packer) only works on ubuntu 14 and above so I am stuck in a loop and would apprentice any help or even alternatives for this problem.
Thanks!
Edit: the ubuntu on my WSL was ubuntu 22, the target machines runs redhat
Your problem is that you are trying to build on newer Linux machine, and run the resulting binary on older Linux. That doesn't work (without additional effort).
The simplest solution is to build on the oldest Linux distribution you need to support, possibly in a docker container.
Some other solutions are listed here.

CentOS 7 AMPPS Launch Issue

I am in the process of setting up a Linux Based AMPPS LAMP box for local web development needs before the projects go live. I have been following this installation guide for AMPPS website, on a fresh install of CentOS: https://www.ampps.com/wiki/Installing_AMPPS_on_Linux#Important_Locations
The following is stated in the instructions:
First Run of AMPPS When you run AMPPS for the first time make sure your Internet connection is active. Note: AMPPS doesn't support proxy
yet. So you must have a Direct Internet Connection.
Now open /usr/local/ampps/Ampps from Explorer, this will take some
time as it is setting up AMPPS for your Linux. If you are using Ubuntu
OS then you have to start Ampps from terminal with sudo privilege.
cd /usr/local/ampps
sudo ./Ampps
Upon entering ./Ampps in as root, the terminal returns the following:
./Ampps: error while loading shared libraries: libXrender.so.1: cannot open shared object file: no such file or directory
I have done a little of a search and turned up basic fixes, such as:
yum install libXrender.so.1
Even with the libraries installed it throwing the same error.
Any help would be great,
Sorry if my post lacks anything its my first :)
Thanks in advance,
Jon
This seemed to do the trick guys, Thanks anyways :D
$ yum groupinstall "X Window System" "Desktop" "Desktop Platform" "Fonts"

How do I select hardware OpenGL rendering for MATLAB on Linux

When I start matlab on my linux machine, I get the notice, "MATLAB is selecting SOFTWARE OPENGL rendering." Once it starts up, if I try opengl hardware I get the message that I can't switch at runtime. How do I enable hardware rendering as simply as possible?
The first answers that turn up when searching for an answer to this question lead me to try and solve non-existent problems with the opengl libraries on my system. Other solutions proposed setting the option in the startup.m or matlabrc.m files, which didn't work for me.
It took way too long to find what seems like should be the first answer to pop up: Start matlab from the terminal with matlab -nosoftwareopengl.
Once it starts, running opengl info in matlab shows that hardware rendering is indeed selected.
In my Ubuntu 20.04 I solved it with:
export MESA_LOADER_DRIVER_OVERRIDE=i965
This line can also be added to the /etc/environment file so that you don't have to do it again and again.
Try these code:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-4.9
sudo apt-get upgrade libstdc++6
This will resolve the issue.

Xen installion error

I am newbie to virtualisation and as a first step I tried to install XEN from Ubuntu 12.10 on dual boot mode(another OS is windows 8).
But for some reason(unknown to me) it is not working,I tried the following command after installation and booting into "xen hypervisor".
From terminal I gave the following command to check if xen is installed prperly or no
$ sudo xm list
Traceback (most recent call last):
File "/usr/sbin/xm", line 5, in <module>
from xen.xm import main
ImportError: No module named xen.xm
I want to know if its Ok to install hypervisor in dual boot mode or I will have to
reinstall XEN and them install other OS on top of it?
Windows 8 won't install with Xen hypervisor. Xen is not compatible with Windows OS directly. Instead, it is okay that you create a virtual machine and then you are able to install windows os into the VM.
Regards,
Yeonki
The Xen kernel must load before the (Ubuntu) kernel. Make sure your grub is set to load the Xen kernel on startup, otherwise it will just boot into Ubuntu with the same kernel and services you always use an you won't get any Xen functionality.
You can either manually edit the grub.cfg or if you are using grub2 do something like:
#add grub2 to boot into Xen
grub2-mkconfig -o /boot/grub2/grub.cfg
grub2-set-default 'Ubuntu Linux Server, with Xen hypervisor'