Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

4
votes
0answers
663 views

Second monitor doesn't wake after kernel update in Fedora Core 20

I have an odd problem with my dual monitor setup. The base system is a Dell 6005 desktop with an ATI Radeon card. My primary monitor is an HP 23", while the second monitor is an HP 20". The primary is ...
4
votes
0answers
486 views

TPM passwordless boot

I'm trying to create device with CentOS6, encrypted disk (with LUKS), TPM module and TrustedGRUB to boot securely and without interaction. I'm following instructions from https://github.com/shpedoikal/...
4
votes
0answers
2k views

Linux - Only first virtual interface can ping external gateway

I created 3 virtual interfaces with different MAC addresses all linked to the same physical interface. I see that they can successfully arp for the gateway (gw) and they can ping (the request is ...
4
votes
0answers
270 views

Debian: pulseaudio sink volumes syncing?

Running Debian jessie with pulseaudio, sometimes I would use pavucontrol to adjust volumes of different applications at varying levels. Then when I would forget about it and adjust the volume using ...
4
votes
0answers
815 views

add monitor to linux tty framebuffer

Whenever I use my laptop at my desk, I usually connect it to an external display on DP-1. To switch the window manager output to this display, I can just use xrandr --output DP-1 ... However, ...
4
votes
0answers
174 views

Merge partitions

Due to some unfortunate partitioning I ended up with the following layout: /dev/sda1 (0-120MB) 128MB (boot) /dev/sda2 (128MB-500GB) 500GB (empty) /dev/sda3 (500GB-1TB) 500GB (zfs) /dev/...
4
votes
0answers
7k views

Add udev rule alias for input device

I am trying to add a udev alias rule for my xboxdrv (x-box controller) and I can't seem to figure it out. dmesg | grep "input" I see: [ 6.239955] input: Microsoft X-Box 360 pad as /devices/...
4
votes
0answers
190 views

Linux distros won't boot

I haven't been able to find an answer to this problem anywhere so I'm posting it here. I'm trying to put a couple Linux distros on a laptop, using xboot and a USB drive, and when the computer booted, ...
4
votes
0answers
1k views

Arch Linux problem: What is causing the black screen problem when logging into Cinnamon?

I first posted this in February, but I'm making the problem clearer because I had no responses in 6 months, and the problem still exists. My Arch boots to the terminal. I login as root. I start ...
4
votes
0answers
1k views

graph TCP connection performance based on `ss -i`

A nearby question has brought to my attention the ss utility on Linux, another utility to investigate sockets. It would appear that it may be a great tool to monitor the performance of, say, an ssh ...
4
votes
0answers
222 views

sharing folders in virtual box

I'm trying to run a Linux Mint guest inside a Linux Mint host(both 64-bit). I've installed Guest Additions etc. But I'm not able to access the shared folder. sudo mount -t vboxsf kernel /media/...
4
votes
0answers
403 views

linux io stack analysis

I'm trying to understand the Linux IO stack by analyzing blktrace trace. Below is the trace i captured by executing simple fio sequential write with no Direct IO (5 x 8k request size). 8,16 1 ...
4
votes
0answers
95 views

Queuing disciplines are per-interface, what happen with interfaces using same device?

I have read about queuing disciplines here http://lartc.org/. I understand that for instance band 0 of pfifo policy is prioritized over band 2 within same qdisc, but what happen when i have ppp0 and ...
4
votes
0answers
1k views

Installing Firefox add-on globally without extracting the .xpi archive

Since the great -install-global-extension option was removed in Gecko 1.9.2 (for no obvious reason, as usual), copying the extension (as root) to /usr/lib/iceweasel/extensions/<appid> is now the ...
4
votes
0answers
1k views

Are there any tools to test MTD/JFFS2 for Linux 2.4 kernels

I have some issues with a platform I support and I suspect memory problems. I wanted to check the Flash parts using some MTD JFFS2 test tools, I found a link to a bunch on this site. However they ...
4
votes
0answers
11k views

vboxpci: IOMMU not found (not registered)

I'm running Arch with 3.6.10 kernel, When vboxpci module is loaded, it tells me vboxpci: IOMMU not found (not registered), But I checked my kernel config, I have the INTEL_IOMMU set already (I uses ...
4
votes
0answers
393 views

Screen flickers in Fedora 17

Screen flickers every 10 seconds. (I timed with a stopwatch, screen flickers every 10 seconds, 6 times a minute exactly.) I've used Windows and I'm trying to use Linux. I don't know much about Linux. ...
4
votes
0answers
2k views

Debian Squeeze: connect to A2DP (bluetooth) through command line

I would like to turn my Lacie NAS into a A2DP bluetooth source, in order to stream audio to a bluetooth audio sink. The NAS runs Debian Squeeze in a chroot environment, and is connected to a Bluetooth ...
4
votes
0answers
2k views

Making voice calls using Huawei E1550

3G dongle Huawei E1550 is able to make voice calls using Huawei app in Windows. With search I found the same app for Linux (called Mobile Partner), seems it's working and makes calls, but without ...
4
votes
0answers
150 views

Restricting sound control

I need to restrict users so that they cannot output sound from built-in speakers. They should plug their headphones to hear any sound. They should be able to control headphone volume level, but not ...
4
votes
0answers
595 views

New Mail Arrived notification Kmail + Jovie Speech customizing

When a new message arrives, Kmail has ability to speak! Which is great but not enough: I don't want to listen to a standard text but have a proper functionality: When a new message arrives, Jovie ...
4
votes
0answers
2k views

What options are there for tuning Linux file system caching?

What various types of caching are possible in the ext3 file system and how can their values be changed using system calls or other methods? I don't want to use commands or tools.
3
votes
0answers
33 views

Hybrid RAID (SDD+HDD) gives unexpected results

I am doing some experiments with hybrid RAID in Linux. My test consists of the following: 2x256GB SSD in RAID 0 (/dev/md1) 2x256GB HDD in RAID 0 (/dev/md2) Then I made md1 and md2 into a RAID 1 (/...
3
votes
0answers
39 views

How to deny crontab to group

I'm trying to deny crontab to group but I had no success so far. Nor I saw how to do it, or even discussions about it. Is it possible to deny crontab to groups instead of users? Imagine if you have ...
3
votes
0answers
47 views

Is linux mount propagation asynchronous to the mount call?

I have two processes in different mount namespaces. They have a shared directory bind mounted to /mnt/share. The "master" uses MS_SHARED propagation for the mount, while the "slave" uses MS_SLAVE. ...
3
votes
0answers
108 views

Cannot change memory protection

I have a tricky problem with memory protection. I am not able to start some programs because of the problems with some libararies. I run into a "cannot change memory" issue. I mapped the user home to ...
3
votes
0answers
68 views

Valid values for LC_CTYPE?

I have found a number of questions on various forums where Mac users complain about locale errors when they log in to Linux systems over SSH which complain that the LC_CTYPE=UTF-8 setting is incorrect....
3
votes
0answers
27 views

How to cleanly remove a non-storage USB device

Is there a way in Linux to cleanly remove (i.e. 'safely remove') a USB device that is not a mass storage device before it is unplugged? My problem: I have a USB TV stick - a 'Mygica T230 DVB-T/T2/C'....
3
votes
0answers
44 views

How to unpack a tag.gz file without having 2x free space?

I have about 1 million small files, that take up about 20 GB. I need to upload them to a host that only has 23 GB free space. I would prefer compressing the files locally to increase the transmission ...
3
votes
0answers
143 views

Debian 9 Stretch 3.5mm jack not working

Recently, I installed Debian 9 Stretch (dual booting with windows 10 using grub). Everything works fine for now, except my headphones. The PulseAudio 'Volume Control' interface detects my headphones ...
3
votes
0answers
94 views

How to make unshare(CLONE_NEWUSER) succeed after chroot?

My call to unshare(CLONE_NEWUSER) when called as a non-root user returns EPERM because of this (http://man7.org/linux/man-pages/man2/unshare.2.html): EPERM (since Linux 3.9) ...
3
votes
0answers
270 views

How to escape from a hardened chroot on Linux when only file capabilities are available to the attacker?

There is a chroot environment in /var/myroot, and an attacker has obtained arbitrary machine code execution in a process running as root (EUID 0) in the chroot. But the processes under control of the ...
3
votes
0answers
107 views

How differently from Linux kernel does a typical Unix kernel (System V, Free BSD, …) implement processes and threads?

In my previous post, about the Linux kernel, the structure task_struct represents threads i.e. light weight processes, but not processes. processes are not represented by any structure, but by ...
3
votes
0answers
111 views

How to prevent 'chpasswd' linux command by time or days with pam?

I have Ubuntu 18 OS and I am trying to prevent all users from running 'chpasswd' command after 17:00 o'clock. I need to use pam for this. My /etc/pam.d/chpasswd file: # The PAM configuration file ...
3
votes
0answers
184 views

Symbolic links do not allow SELinux type_transition

Trying to access symbolic link does not allow to use SELinux type_transition. I mean that I tried to implement scheme in which user has access to a symbolic link located in /usr/bin/ and which leads ...
3
votes
0answers
896 views

Kernel BUG: unable to handle kernel paging request

So I'm trying to run this kernel module on my laptop, and every time I do so, I get a stack trace that looks like this (all the messages might not be relevant to the module). [17539.035247] EBBChar: ...
3
votes
0answers
91 views

What does nr_vmscan_write track, in layman’s terms?

nr_vmscan_write is a metric that refers to writeback of dirty pages during a scan of the LRU(s), I believe. As I understand it, there are only a few circumstances where this metric is incremented (in ...
3
votes
0answers
119 views

What are “self” and “master” options for in “bridge vlan add”?

I'm reading "man bridge" and it says something like: bridge vlan { add | del } dev DEV vid VID [ pvid ] [ untagged ] [ self ] [ master ] What are "self" and "master" options for? man says: self ...
3
votes
0answers
351 views

Thermald throttle unsupported CPU after certain temperature using coretemp

I have a Samsung R519 notebook running Arch Linux 4.19.2. The CPU is an Intel Pentium Dual T3400 (2.16GHz). The CPU often hits its thermal critical level and shuts down during heavy workloads. Fan is ...
3
votes
0answers
88 views

Fedora 28 - random keyboard lag

I have recently installed Fedora on my new Dell Vostro 5471 laptop. EDIT: "This is the configuration with the AMD Radeon 530 Graphics card. Here is the full list of components: https://drive.google....
3
votes
0answers
70 views

Linux permanently hung after running a grep command on “/sys/*” directory

I ran the command: sudo grep -r -i RETP /sys/* On two systems: Oracle Linux 7.5 server (256 GB RAM, 2 Intel® Xeon® Gold 6142 Processor) and on my desktop PC with Ubuntu 18.04 (16 GB RAM, Core i5-...
3
votes
0answers
160 views

Perf Tool monitoring by PID

I'm using linux perf tool to monitor the performance of some processes. The documentation tells that you can flag it to collect profiles on per-thread, per-process and per-cpu basis. I get that the ...
3
votes
0answers
177 views

How to accept cookie on the wkhtmltopdf command?

I am using the Linux command wkhtmltopdf to convert the HTML page to a PDF file for a report, but the page showing the cookie privacy note on the website which doesn't look good. To convert the ...
3
votes
0answers
2k views

Xorg broken xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted) No devices detected

I am trying to use Xorg instead of Wayland on my Arch Linux. I have two graphics cards in my laptop. An Intel and a Nvidia graphics card. The output of my log file is: [ 53.401] (WW) Failed to ...
3
votes
0answers
1k views

Using xfreerdp to connect to Remote Desktop Gateway Server

I am trying to use Remote Desktop connection on Linux. After some research, it seems that xfreerdp can do what I need. The basic usage example provided by that tool is: xfreerdp /u:CONTOSO\\JohnDoe /...
3
votes
0answers
961 views

Explain output of cat /proc/vmallocinfo

What does this output represent after doing cat /proc/vmallocinfo. I know, this gives mapping of virtual address space of kernel. But want to have in-depth understanding. Questions What are actual ...
3
votes
0answers
78 views

Is there a way to route interrupts from two Ethernet interfaces to separate cores?

I have a 10G ethernet adapter from Intel with two ethernet ports (x550-T2) installed in PCIe port of a Xilinx FPGA board running petalinux. I am testing network bandwidth by running simultaneous ...
3
votes
0answers
2k views

Why is initramfs dropping to a shell after installing Ubuntu next to a Windows 10 installation?

I have installed Ubuntu 18.04 LTS via Live USB on an ASUS Zenbook 13 UX331UN that is shipped with a preinstalled Windows 10. It is a UEFI system with secure boot enabled and fast boot disabled. I'm ...
3
votes
0answers
4k views

How to install weak cipher to connect to legacy SSH servers?

While we are upgrading our clusters, we noticed there are some legacy nodes that use very old version of openssh. Our current SSH clients cannot talk to them. How do we temporary install weak cipher ...
3
votes
0answers
296 views

How does Linux resolve pathnames with the help of the dentry cache?

While dealing with the Virtual Filesystem of Linux I have come across a little problem of understanding how pathnames are resolved if they are already cached as dentries in the dentry cache. I know ...