Questions tagged [linux]

These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

3
votes
0answers
1k views

Right-to-left reversed text and alignment issue in mobaxterm on Linux

I have install Wine-1.8.0 on Ubuntu 16.04. The issue is that the text in mobaxterm is displayed right-to-left (reversed), aligned to the right, which the screenshot below shows. Other .exe files ...
3
votes
0answers
3k views

Arch Linux stuck at boot (reached target Graphical Interface)

I've been following a youtube tutorial to install arch linux (using virtual box) and it led me to a problem that i have no clue how to solve. Whenever i try to boot Arch it gets stuck at "reached ...
3
votes
0answers
488 views

Resolvconf not resetting DNS settings

I am using OpenVPN 2.3.11 i686-pc-linux-gnu to connect to a remote VPN server. I would like to connect to the VPN server, load the DNS nameservers from the VPN server. Once disconnecting from the ...
3
votes
0answers
607 views

Total available physical memory from /proc/meminfo not adding up

I'm trying to account for the available physical memory on a Linux box through /proc/meminfo (output provided below). Accounting for current free memory, user-space physical usage, kernel data ...
3
votes
0answers
140 views

What does it mean when 'core id' numbering does not have a core numbered 0

I encountered some code where counting the number of 0-numbered 'core id's per 'physical id' was used to count the number of hardware threads. Is this logic flawed? Because I encountered this recently ...
3
votes
0answers
434 views

Are Apple Live Photos supported on Linux?

I have a lot of Live Photos that I took with my iPhone. Is there any Linux application that supports viewing this combination of a photo and video file? I know I can split the photo and video parts ...
3
votes
0answers
733 views

adding new resolution in multi monitor setup via xrandr

I have two monitors with different max. resolutions (2560x1440 and 1920x1080). In windows I am able to configure the max resolution for both monitors but in linux (manjaro, proprietary nvidia drivers ...
3
votes
0answers
618 views

Allow KVM guests on virsh virtual network to access the real internal network

I have a home network 192.168.1.0 behind a router 192.168.1.1. A set of existing Linux and Windows hosts are on this network, most on wired ethernet connections. I am configuring a new server that ...
3
votes
0answers
393 views

How do I actually make use of the kvm-clock clock driver?

According to copious sources, the KVM clock driver is loaded as shown here: cat /sys/devices/system/clocksource/clocksource0/current_clocksource These sources all seem to think that this ...
3
votes
0answers
236 views

Using alernative openLDAP UID to authenticate to Active Directory

I'm using Winbind to authenticate users to Active Directory. Everything is working perfectly when the usernames match. The problem is that many of the users have different usernames for Windows and ...
3
votes
0answers
276 views

Link library with common symbols in kernel module

I have a somewhat unusual situation, where I am trying to port a Linux kernel module that was designed for 2.4.9 to the latest kernel. The module consists of two parts, an open source wrapper, and a ...
3
votes
0answers
361 views

Inconsistent X11-forwarding performance

I have a funky vendor-specific IDE (Xilinx's Vivado) installed on a build server at my company. We often need to use the tool graphically, and I'd figured that I'd be able to do it over X11 ...
3
votes
0answers
657 views

Apache group authorization with mod_lookup_identity

I need to have some users authenticated against an Active Directory database, and I'd like to use mod_authnz_pam over mod_authnz_ldap for that. The users will have access to certains folders, ...
3
votes
0answers
236 views

Can't figure out why Ethernet packets are ignored

I'm trying to setup an ethernet connection between a PC (Windows XP) and a notebook (Debian 9) using a crossover cable. No DHCP, just manually set IPs and a netmask. The notebook has Qualcomm Atheros ...
3
votes
0answers
806 views

Fedora: Touchscreen works in live mode, but not after install

Recently I've been playing with Linux on Thinkpad 10 2nd gen tablet. Currently Fedora 24 is running on it. When I boot from USB stick (live mode), touchscreen works and is detected as Wacom 5020 HID, ...
3
votes
0answers
362 views

Enable tty console login while “A stop job is running” (stop running forever, preventing shutdown)

A message like this one is often shown on shutdown: "A stop job is running ..." (nfs mount) This apparently even happens when the NFS server did not go away. But even if the connection to the NFS ...
3
votes
0answers
3k views

Why does journalctl say “— no entries --”?

For example: ┌─[10:50:38/hypership/root/~] └─╼ journalctl -b No journal files were found. -- No entries -- ┌─[10:50:46/hypership/root/~] └─╼ journalctl --verify No journal files were found. /var/...
3
votes
0answers
591 views

How to read data from optical drive in raw mode 2

I am trying to use the existing Linux driver system to effectively dump the data of CDROMs. As an example, if I pop in a "normal" CDROM disc of software and run the command cat /dev/sr0 then the ...
3
votes
0answers
442 views

mount usb disk via udisksctl need root privilege

I don't know why, but on my ubuntu 16.04 laptop, udisksctl can work properly without root privilege. However, when I plug this disk to centos 7, the execution of same command needs root privilege and ...
3
votes
0answers
175 views

Git with multiple users on other systems using setfacl?

I'm setting up a git environment where multiple developers will work with per project. We have 1 server running git, and 2 separate servers, 1 live and 1 dev. On dev, I created a group and added the ...
3
votes
0answers
110 views

Low-res GUI for Linux on a RaspberryPi used as a mobile device

I want to build a custom mobile device using a RaspberryPi or BananaPi and a touchscreen (resolution 320x240). Is there GUI for Linux that's made to work well on such low resolutions, preferably ...
3
votes
0answers
795 views

munin phpfpm plugin

I have setup PHP-FPM plugin All graphs works except three PHP5-FPM Average Process Size PHP5-FPM Memory Usage PHP5-FPM Processes setup /etc/munin/plugin-conf.d/munin-node [phpfpm_*] env.url http:/...
3
votes
0answers
442 views

Can not start wifi with systemd

With command netctl start wlp3s0-tian got error. Apr 29 18:28:57 ArchPad systemd[1]: Starting Networking for netctl profile wlp3s0-tian... Apr 29 18:28:57 ArchPad network[1019]: Starting network ...
3
votes
0answers
219 views

What is the difference between .deb package file and ddeb package file in Ubuntu 14.04

I need to install SystemTap in Ubuntu 14 and I would need to install debug symbols for kernel. I encountered a ddeb file. I got this error: ERROR: Build-id mismatch [man error::buildid]: after ...
3
votes
0answers
1k views

Creative CA0132 no sound

I'm trying to get my sound card of my gigabyte g1 gaming ga-z170x-gaming 7 working. I've installed fedora 23, kernel 4.4.7-300.fc23.x86_64, there is no sound, however hdajacksensetest -a shows my ...
3
votes
0answers
217 views

Does Linux perform buffering twice when hosting a VM?

I ran a KVM VM on my CentOS host and found that after performing a HDD-intensive operation, it used all of the host's memory I assigned to it. However, free on the guest suggests that the memory's ...
3
votes
0answers
553 views

How would I limit users' sudo permissions for journalctl to a specific unit?

I want to provide our users access to journalctl of a specific unit. For e.g., httpd. My initial thought was to specify the command spec like this: /usr/bin/journalctl -u httpd.service * This will ...
3
votes
0answers
123 views

How to forbid the menu item selection by right click?

Clicking the right button prompts a context menu, then we can choose an item from the menu by a left or right click. However, it's really boring that we can use right click to select the item. ...
3
votes
0answers
405 views

Linux + why dropping issue displayed from ifconfig but not from ethtool?

we have Linux VM red hat 7.2 version with two LAN interfaces the Linux machines are ruining on ESXi - 5.5.0 and we have very strange issue , the conflict is between the ifconfig command to ethtool ...
3
votes
0answers
541 views

Dual-monitor problem NVIDIA, screens flickering (turning on/off)

I switched to NVIDIA drivers in Linux Mint 17.3 Cinnamon via Driver Manager in order to be able to play games. I am on NVIDIA 750M. The problem is, when I try to connect the second screen via ...
3
votes
0answers
4k views

Grub2 can't detect Windows 10, Dual boot on two harddrive, UEFI/GPT system

I have two ssd which there is Windows 10 on the /dev/sda1 and OpenSuse on /dev/sda3 (/dev/sda2 is for a storage hdd). I have been installed Ubuntu on my /dev/sda3 couple months ago. But because of ...
3
votes
0answers
117 views

Central solution for switching proxy settings

At work we have a proxy server, at home I do not have one. In total I have 5 virtual machines and a bunch of other programs which do not support using the system proxy settings. When I come home from ...
3
votes
0answers
49 views

Verifying kernel modules using a list of hashes

I'm interested in preventing replay attacks on kernel module verification. I feel that using a list of hashes of kernel modules would be better for this than using digital signatures. My Motorola ...
3
votes
0answers
527 views

FIPS mode, signature verification failed

I am building a kernel with FIPS mode on. I followed most of the procedures described on Red Hat documentation here. I also created a hmac signed .vmlinuz file. After installing dracut-fips and ...
3
votes
0answers
442 views

Polling for a Bluetooth Button Push

I have a bluetooth button that I have successfully paired several times with various raspberry pi's and linux boxes. The button works as a unique doorbell and various other applications, but I have ...
3
votes
0answers
1k views

Why I need a framebuffer size larger then monitor size when transform destination area is smaller

I tried to remove 100px left & right the top of a 1366x768 screen (as below) using xrandr transformation. But I got an error about not enough framebuffer size. $ xrandr --output LVDS1 --fb ...
3
votes
0answers
4k views

Turn down the Energy Efficient Ethernet (eee) aka Green Ethernet

This is what is the Energy Efficient Ethernet. The problem is, that in lot of environments it conflicts with other features and stuff so i really need to disable it. I read that something can be ...
3
votes
0answers
152 views

Configuring a Linux Wi-Fi access point to redirect a one-word URL to http://192.168.42.1:8888

I've created a Wi-Fi access point on a Linux box (thanks to hostapd). I'm trying to make it easy for clients to access the Freenet service that's running on said box. Ideally, the user would be able ...
3
votes
0answers
175 views

Any way to specify process to call on Linux when OOM activates?

On my embedded system I'd like to record when the system OOM killer actives, e.g. by setting an env. variable in u-boot. Is there any way to specify a hook function to call on the OOM event?
3
votes
0answers
290 views

What does “incoming packets delivered” mean in “netstat -s” output on Linux?

While running netstat -s on Linux, I got below statistics for IP protocol (information for other protocols are omitted), Ip: 322937 total packets received 0 forwarded 0 incoming packets ...
3
votes
0answers
675 views

Find a IR transmitter device

I would like to use the IR transmitter included in a cubox. I did not found any documentation to use it, so I would want to learn how to communicate with periphericals on linux. Commands like lshw,...
3
votes
0answers
192 views

How do I encrypt a key for use with Linux's key retention service?

In Linux, an "encrypted" key can be created for use with keyctl by executing a command like keyctl add encrypted evm-key "new user:kmk-user 32" @u. The content of the key, when exported to a file, ...
3
votes
0answers
6k views

How to fix the error warning failed to connect to lvmetad no such file or directory falling back to internal scanning in ubuntu 15.10

My Ubuntu laptop which was working fine until recently. My desktop disappeared and all the desktop icons are gone. All I have access to is the terminal. In an attempt to fix the problem, I installed ...
3
votes
0answers
2k views

Why can't Fedora start my (hard wired) network?

FYI: I've asked this on Superuser but not luck so I'm trying here. I'm not sure which it is more relevant to. I have a hard-wired Ethernet card/cable to my hub. I start Fedora 23 but there's no ...
3
votes
0answers
38 views

chroot and hyperos on ArchLinux?

hyperos is a fork of tinycorelinux Can I run hyperos in a chroot? How can I create an ISO image from files on repo? Is this possible? Which steps should I follow?
3
votes
0answers
61 views

Enumerate valid values for mknod

I have access to an embedded device which has a bunch of block/char files under /dev. However, this is not a satisfying description of the hardware, because since the firmware is shared with small ...
3
votes
0answers
110 views

Directing sound output for specific applications

I'm trying to direct the sound from Youtube running in Opera to my sound card's HDMI output (to a TV), but still have all other OS sounds go to my PC's "Built-in Audio Analog Stereo" playback device. ...
3
votes
0answers
792 views

systemctl hibernate - crash on execution

systemctl hibernate or anything similar (i.e. suspend and hybrid-sleep) crashes the PC on invocation. When called, it first correctly executes all scripts in system-sleep and then logs out any non-...
3
votes
0answers
487 views

Read but not write access to a socket on Linux, what can one do with that?

On a server installation, I found sockets writable by group, but only readable by others. I assume that the latter has no effect, as my understanding was that write access is needed to be able to work ...
3
votes
0answers
269 views

Is there some way of simulating a framebuffer device?

I'm starting to write a small software that I intend to run on embedded linux, and I want to draw the GUI using a framebuffer device. However, since I want to be able to test the software on my ...