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

0
votes
0answers
2 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 ...
0
votes
0answers
2 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 ...
-1
votes
1answer
12 views

Delete all files by find

How to delete all files found by this command? find -type f -name "*-thumb.png"
0
votes
0answers
11 views

Changing the preferences of terminal from within terminal

I'm new to Linux and trying to do everything that I can think of from the terminal commands. Is there any way that we can edit the terminal preferences like background, colors, etc., from within ...
1
vote
1answer
1k views

Windows 8.1 not appearing on grub after Linux Mint 16

I had followed a tutorial to install Linux Mint 16 Cinnamon and it works perfectly fine, currently using it to post this question. But when grub loads the only 3 options I am given, are Linux Mint, ...
0
votes
1answer
20 views

How to check the file type in a script

I want to do a loop for all the images in a directory. The images doesn't have extension so I have to read the first bytes of the image to know its type. The loop should end up being something like. ...
3
votes
2answers
1k views

Bash doesn't read .bashrc unless manually started

bash won't source .bashrc from an interactive terminal unless I manually run bash from a terminal: $ bash or manually source it: $ source ./.bashrc or running: $ st -e bash Here's some useful ...
-1
votes
0answers
17 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 ...
2
votes
1answer
629 views

azap from LinuxTV dvb-apps strange signal behavior with Hauppauge WinTV-HVR 950Q

What I want to do I have a Hauppauge WinTV-HVR 950Q USB-TV-Stick. I want to use this stick to successively tune to and read in a certain live TV stream. What I do I trigger a scan and save the scan ...
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 ...
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 ...
0
votes
1answer
3k views

How to remove Oracle Wallet using orapki?

Hi i'm on Centos using oracle 11g And i've created a wallet using : $ orapki wallet create -wallet /u01/app/oracle/admin/DB11G/wallet -pwd WalletPasswd123 -auto_login Now i want to remove it to ...
1
vote
1answer
529 views

Networking between two Virtual machines on different hosts

I have openSuse installed as a virtual machine(Oracle Virtual Box) on DeskTop(win 7), and another openSuse installed on as a virtual machine(Oracle Virtual Box) on my Laptop(win 8.1). Please see the ...
3
votes
1answer
390 views

cpufreqd does not control temperature plus shows no output

Since my laptop (an Acer Aspire 5750G running a Gentoo Linux with a not-quite-up-to-date kernel 2.6.39-r3 (a weird wLan hardware makes the update difficult)) tends to run rather hot I am trying to ...
1
vote
1answer
636 views

Can I use a parallel port as a CUPS input device?

I have an old piece of a hardware that does diagnostics on medical equipment. It prints out results over a parallel port. Is there any way to have CUPS accept jobs from a parallel port and redirect ...
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 ...
11
votes
4answers
11k views

sending text input to a detached screen

I'm trying to run a minecraft server on my unRAID server. The server will run in the shell, and then sit there waiting for input. To stop it, I need to type 'stop' and press enter, and then it'll ...
11
votes
6answers
9k views

How to make a process invisible to other users?

How could you launch a process and make it invisible to the top command? The process is started by a normal user (not root), and should not be visible to other normal users.
3
votes
1answer
37 views

tmux ignores the configuration files

tmux ignores the configuration files: both /etc/tmux.conf and ~/.tmux.conf. Even I pass the path to the configuration file, using tmux -f path/to/tmux.conf it still doesn't load it. The configuration ...
4
votes
1answer
9k views

How can I install latest VLC player in cent os 6.4?

I have installed cent os 6.4 in my laptop, I want to know the method of installing VLC in cent os 6.4, Is it necessary to download the vlc package and compile or can I use ''yum install vlc'' to ...
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
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 ...
1
vote
0answers
14 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
25 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
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 ...
2
votes
0answers
59 views

Can the hard drive timeout be disabled in Linux (attempting task abort)

Unfortunately, when a hard drive (usually a virtual drive) is slow, Linux aborts requests to that drive after a timeout, possibly causing data corruption. Last time this happened to me, I had 2 vms ...
1
vote
1answer
382 views

Possible to download all the packages from “groupinstall” and then run ( yum --nogpgcheck localinstall *.rpm )?

This is the original command: yum groupinstall "Desktop" "Desktop Platform" "X Window System" "Fonts" I would like to create 4 folders for these. (1 folder for each). mkdir Desktop mkdir ...
0
votes
1answer
1k views

Add a new user steps for Oracle Linux 5

It's been over 10 years since I last used RedHat (which I believe that Oracle Linux came from). So I cannot remember the steps to create a new user, add them to the appropriate groups, set up their ...
1
vote
0answers
22 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
vote
1answer
647 views

Certain fonts missing from xlsfonts in Centos 6.4

I have a certain software on CentOS 6.4 that gave the following error: X Error of failed request: BadName (named color or font does not exist) Major opcode of failed request: 45 (X_OpenFont) ...
-1
votes
1answer
23 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 ...
4
votes
2answers
802 views

Benefiting of sched_autogroup_enabled on the desktop

I am running a 2.6.37 kernel with sched_autogroup_enabled set to 1. I am not certain that I am seeing the benefits of this patch since: I am launching my applications from the desktop; applications ...
1
vote
2answers
1k views

Local disks detected as multipath device

My local partitions are detected as multipath device $multipath -l mpathb (360014380125d90420000a000003e0000) dm-9 HP,HSV450 size=200G features='1 queue_if_no_path' hwhandler='0' wp=rw `-+- ...
0
votes
1answer
14 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
425 views

bash: /etc/bash.bashrc: Permission denied whenever I open a terminal

On Ubuntu 13.10, when I open a new terminal, I sometimes get the following output on the terminal: bash: /etc/bash.bashrc: Permission denied However, the permissions should be fine: >ls -l ...
4
votes
2answers
747 views

Configuring network settings manually in Qubes OS

I'm trying to setup Qubes OS on my desktop but struggling to get the network/internet working. This is the configuration i want to setup - ip - 192.168.1.2 Subnet - 255.255.255.0 Gateway - ...
36
votes
7answers
24k views

How do I know if a partition is ext2, ext3, or ext4?

I just formatted stuff. One disk I format as ext2. The other I want to format as ext4. I want to test how they perform. Now, how do I know the kind of file system in a partition?
0
votes
1answer
762 views

ERROR: init: ttyS0 (/dev/ttyS0) main process (1612) terminated with status 1

I'm getting the following errors every 10-30 seconds on a virtual Red Hat Enterprise Linux 6.5 2 Server on Amazons EC2. Sep 23 09:57:05 ServerName init: ttyS0 (/dev/ttyS0) main process (1612) ...
2
votes
1answer
1k views

SSH agent forwarding, multiple hop

I tested this setup with Linux origin machine - everything is the same - only the first hop can use keys from origin machine. Initial problem I'm trying to set up SSH agent forwarding with multiple ...
1
vote
1answer
52 views

CentOS 7 Crash on boot

Getting this message attempting to boot CentOS 7 BUG: unable to handle kernel NULL pointer dereference at 000000000000009B And then a kernel panic Happens when trying to boot from the OS HDD or ...
3
votes
1answer
355 views

How to create rootfs for user mode Linux on Fedora 18?

I want to create a rootfs to be used with an UML kernel and be able to use the internet. I was using febootstrap with packages: bash, coreutils, net-tools, iputils. After using ...
0
votes
0answers
13 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
30 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
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
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 ...
2
votes
1answer
540 views

CHROOT: Unable to copy files to jailed users directory from local machine using WINSCP

I've setup a chroot environment for one of my users called client on my system. I'm using WINSCP to connect to my server from my machine using public key authentication. Everything works fine, I can ...
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 ...
3
votes
0answers
57 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
2answers
711 views

Is TRESOR included in the latest kernel?

Did TRESOR get included in the mainline Linux kernel? Where would I look to find out? Is there any documentation describing its use? Reading about cold boot attacks on Wikipedia makes me think TRESOR ...
4
votes
1answer
1k views

One host, two virtual machines that cannot ping each other. How to solve

We have Virtual Machines operating within the KVM environment. We setup one as a dev server running Apache etc., and the other as a Windows development environment. The two environments are setup ...