Questions specifically about Linux, as opposed to Unix-like systems in general, or to questions about a specific distribution or program.

learn more… | top users | synonyms

1
vote
1answer
27 views

Where can I find the kernel configuration on each Linux distribution?

I'm pretty sure that all Red Hat and Debian based distributions follow the convention of shipping the kernel configuration in /boot/config-*, but what of other distributions? Or, if this convention ...
1
vote
1answer
22 views

Unmet dependency after linux mint distribution update

I have recently updated to Linux mint rebecca. I am getting unmet dependencies for apt-get when I am trying to apt-get install a package named monodevelop-nunit monodoc-nunit-manual then this ...
1
vote
0answers
18 views

login using serial port in Linux

I have a slackware machine and I'd like to have a serial console on it. I have a RJ45 console on my hardware. I can now only get output on the console and cannot give any input back to the device. ...
1
vote
1answer
10 views

Brightness keys not working on 3.14+ kernel

I have a dual-boot installation: OpenSuSE 13.2 & Linux Mint 17.1 on Asus k55vd, both 64-bit. I am running a 3.14 kernel on Linux Mint and 3.16 on OpenSuSE. I had encountered that kernels above ...
0
votes
2answers
8 views

Empathy - Linux Mint 17.1 Cinnamon

I've been a linux mint user for 2 days now and I've been trying to use Empathy. I've installed the software from software manager without any problem. but when I try to add an account, it is showing ...
1
vote
2answers
27 views

Checking URLs for HTTP code 200

I have a text file containing a list of URLs like this: http://somesite.com/some-article/ https://anothersite.fr/somepage.php?page=something What I'd like to do is check which URLs return HTTP code ...
0
votes
1answer
19 views

Wifi Connects in Kali not in Mint

I have a Dell Latitude D830 with a built in wifi adapter. I currently have a dual boot of Kali and Linux Mint. In Kali, I'm able to see and connect to wifi. In Mint I'm able to see and attempt to ...
0
votes
1answer
24 views

Where to find the Crontab logs in CentOS

First of all I'm using CentOS [root@a etc]# cat system-release CentOS release 6.5 (Final) [root@a cron.daily]# ps -ef | grep cron root 982 1 0 Jun14 ? 00:01:15 crond root ...
2
votes
0answers
11 views

What is the difference between HAL and udev?

As far as I understand, if I have 3 different network cards, then HAL will cal each of them eth0, eth1 and eth irrespective of their brands, manufacturerers etc. But it seems to me that udev precisely ...
3
votes
2answers
39 views

Trouble with understanding the concept of mounting

Having read both What is meant by mounting a device in Linux? and understanding "mount" as a concept in the OS, I have a problem where it is stated that All accessible storage must have ...
3
votes
1answer
20 views

Difference between /dev and /sys

Exactly what is the difference between devfs and sysfs? Both seem to maintain a list of hardwares attached to the system. Then why the need for 2 separate fs even arose? As far as I can get /sys ...
1
vote
0answers
7 views

[ERROR]Cannot access secondary GPU…Failed to initialize the NVIDIA kernel module

I've installed Bumblebee with Ryan McQuen's crazybee.sh script, described here, and I'm actually able to startx successfully now (because Bumblebee uses the on-board Intel graphics by default), but ...
1
vote
0answers
5 views

Path `/boot/grub' is not readable by GRUB on boot. Installation is impossible. Aborting

Whenever I try updating grub, I get this error: # grub-install /dev/sda Path `/boot/grub' is not readable by GRUB on boot. Installation is impossible. Aborting. and # grub-mkconfig -o ...
0
votes
0answers
8 views

Fedora: Failed to connect to download1.rpmfusion.org port 80: Connection refused

I am getting this kind of error whenever I am trying to download something, such as vmware player or adobe reader or any other package, with the only difference being the name of the site. I checked ...
-1
votes
0answers
19 views

Access Windows's data on a dual-boot computer

I installed Ubuntu by making a partition in my PC. I want to access my data that is present in the Windows OS (Windows 8) in my laptop through Ubuntu. How can this be done? My windows OS is showing ...
0
votes
0answers
6 views

linux centos graph and data usage problem in client management

I have change my linux centos few days back and I am running small ISP in my area, after I changed the os, in my AAA software every thing working properly but client side when I download file from ftp ...
4
votes
1answer
28 views

How does ps get the executable of processes of other users?

When running as non-root, if I try to use readlink(2) on a /proc/<pid>/exe for a process not owned by me I get a permission error. So how then does ps with the -f option, which isn't setuid ...
2
votes
0answers
26 views

Strange cron behaviour

I have a script that reads a list of IPs from a file, compares with the existing ones in a chain, and adds recently added IPs in the file into that chain. Running the script manually (e.g., ./script) ...
1
vote
0answers
16 views

Serial program not responding on boot

I am trying to run a program written in C that uses ttyX for serial communication. The program is running on Cubieboard2 with Debian OS. When I run the program manually, it successfully runs and ...
2
votes
0answers
21 views

What is equivalent mmap in C++ for linux? [migrated]

What is equivalent mmap into C++? I have code like below LCDdata = mmap(NULL, iFrameBufferSize, PROT_READ | PROT_WRITE, MAP_FILE | MAP_SHARED, fb_fd, 0); Where LCDdata is unsigned char type ...
1
vote
0answers
27 views

linux mint hangs - how to find a reason?

My Linux Mint system (17 Cinnamon, lenovo g565) hangs up frequently during work (say, 2-4 times a day). It usually looks like a white or black screen (or off if the lid was closed). CPU seems to be a ...
-1
votes
1answer
24 views

Best OS to run QEMU in [on hold]

I want a os that uses minimal resources but qemu should run properly. I want to run only qemu and no other software. I want qemu to run automatically in full screen as soon as the os boots so I want ...
0
votes
1answer
15 views

How to add an alias to a kernel module?

I'd like to add an alias to a kernel module, e.g. make nvidia-343 available as nvidia on Ubuntu 14.10 with Linux 3.18.1, so that it can be loaded under the alias name and so that the alias appear in ...
1
vote
1answer
17 views

How to permanently enable scl CentOS 6.4?

I installed a newer version of devtoolset (1.1) and was wondering how I would go about permanently setting these to be default. Right now, when I ssh into my server running CentOS, I have to run this ...
0
votes
0answers
16 views

How to setup touch screen for X11

I am running SuSE-based embedded system with a touchscreen. The embedded application is a graphics application which uses OpenGL over X Window for graphics. We have a user-space touchscreen driver ...
1
vote
2answers
32 views

List all devices connected, FreeBSD

What's the FreeBSD variant of Linux's lsblk and blkid? I want something that provides the same sort of information as lsblk does in the example below: NAME MAJ:MIN RM SIZE RO TYPE ...
3
votes
0answers
61 views

Multiple wget calls in a single session?

I have the following code to retrieve a page from a website that needs authentication (it uses Sungard Higher Education authentication): wget --delete-after --save-cookies cookies.txt ...
3
votes
0answers
18 views

Confused result from counting page fault in linux [migrated]

I was writing programs to count the time of page faults in a linux system. More precisely, the time kernel execute the function __do_page_fault. And somehow I wrote two global variables, named ...
0
votes
0answers
24 views

Recover files from “crashed” partition

I'm using a Dell laptop that has 1TB hard drive, in which i created 4 partitions, one for MAC, one for LINUX, one for WINDOWS and a HD NTFS partition that can be accessed from the three. But, for some ...
0
votes
0answers
19 views

What is PCH poison interrupt?

It seems to be related to particular family of display drivers, and I only see these on the old systems with 2.6.x kernels, so it doesn't even seem to be an issue anymore. I'm just curious, why are ...
0
votes
0answers
18 views

Running HMA Pro VPN on Kali Linux

I've installed HMA VPN on my Kali Linux distro but I'm having problems connecting to a VPN IP address. I run the command ./hma-vpn.sh -l "Amsterdam" for example, and then I try to connect to a ...
0
votes
1answer
13 views

Xen error “No usable disk have been found”

I have install following Xen4 version on CentOS6.x but when i create VM and install OS it am getting following error before disk partition wizard No usable disk have been found I used following CMD: ...
-2
votes
0answers
9 views

Add buttons on right click in mint

I am using Linux Mint 17 Cinnamon, and I want to add some more buttons in right click panel. I want to add buttons like shut down the system, lock the screen, etc.
0
votes
1answer
6 views

ld cannot find print_insn_big_mips(and few others) despite binutils-multiarch-dev installed

I am trying to compile a program(on Ubuntu 14.04 64 bit) that requires binutils with multiarch support(recommended version 2.20). I have installed binutils-multiarch 2.24 and the dev package from the ...
0
votes
0answers
19 views

Why this zenity command is not working?

zenity --warning --text="Error Occurred" --display=:0.0 I executed the above command it throwing error, Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 key (zenity:10481): ...
1
vote
1answer
34 views

switch between onboard graphics and NVIDIA graphics on fly

I have Intel on board graphics card and Nvidia graphics card in my system. Two different monitors are connected to both the ports. During boot time by default all the bot information displays through ...
-1
votes
1answer
39 views

Cannot Intentionally break/stop DNS via /etc/resolv.conf - Always resolving no matter NS config

I am still learning linux, and so far having great trouble in the networking and DNS areas - I think due to misunderstandings. My understanding is if we provide nameservers in /etc/resolv.conf these ...
1
vote
0answers
13 views

Where do I start to understand the display controller management?

I'd like to understand how Linux detects which display devices are available (video output) and how it decides what to display on each one. For example: if I have an embedded device with a serial ...
0
votes
0answers
21 views

How can I embed Linux on a USB stick? (not a bootable drive!) [closed]

I want to create a USB stick that, when plugged into a computer, starts up and runs its own os in parallel, just like regular 3g USB sticks do. Obviously, I want its system to be Linux! But all I can ...
0
votes
0answers
35 views

Correctly determining the REAL linux memory usage

I have a curiosity about memory management in Linux: It is possible to determine the use of real memory? (That memory that is being used actually, without being allocated only). How can I do it? ...
1
vote
1answer
23 views

Where does Puppet's environment come from?

Self-training on puppet and wrote the following manifest: class bratch::test { file { '/var/cache/tempFile': owner => 'root', group => 'root', mode => '0644', source ...
-1
votes
0answers
12 views

Jar file size mysteriously reduces to 0kb [closed]

I have a jar file deployed on Centos 5.x, Java process runs fine, but after some time, a few months perhaps, the file size goes to 0. So when you have to restart the process due to any reason, it cant ...
5
votes
2answers
426 views

Difference between /run and /var/run

Is there any difference between /run directory and var/run directory. It seems the latter is a link to the former. If the contents are one and the same what is the need for two directories?
0
votes
1answer
33 views

frequent linux mint hangs

My Linux Mint system (17 Cinnamon, lenovo g565) hangs up frequently during work (say, 2-4 times a day). It may look different white screen black screen screen freeze Maybe some of these symtoms ...
2
votes
0answers
15 views

X forwarding from a mac to Linux fails

I have been having problems recently while trying to ssh into linux servers (Ubuntu 14.04) from my mac (OSX Yosemite 10.10). This used to work fine until my latest update, where I systematically get a ...
0
votes
1answer
32 views

Specify target file system [closed]

How can I specify which file system the file be stored, in linux command line, after sshing to a machine? Several file systems are mounted, and my goal is to use one of them to store my file (in ...
2
votes
0answers
32 views

Size Range of ext4 Filesystem Journal

The minimum and maximum sizes respectively for the ext3 filesystem journal are 1,024 blocks and 102,400 blocks. Similarly — what are the minimum and maximum sizes for the journal on an ext4 ...
0
votes
0answers
24 views

Unable to trap “CTRL+C” within kickstart “%pre” bash script

I'm using an interactive pre-installation bash script in a CentOS-7 kickstart image. I was trying to use "trap" to catch user Ctrl+C (SIGINT) and run some code as follows: trap_ctrl_c() { #Some ...
0
votes
0answers
12 views

how to define the top dir in automake system?

I usually use a typical steps to generate the makefile, and firstly I use the "build.sh init" to generate the configure file, and then I use "configure" to generate the makefile with makefile.am file. ...
1
vote
0answers
12 views

Xinerama misbehaving - drags to wrong screen

I am in the midst of setting up a new Debian workstation. Using one AMD HD 7870, I am running 3 screens. It took a little doing to get to the point where all three screens were showing up correctly, ...