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

2
votes
2answers
542 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 - ...
1
vote
0answers
77 views

How to change position of unity launcher in Ubuntu?

How can I change the position of unity launcher?
2
votes
1answer
29 views

Pernicious USB-stick stall problem. Reverting workaround fix?

There's an issue with Ubuntu that hasn't been fixed yet, where the PC freezes or gets really slow whenever it is copying to an USB stick (see Why is my PC freezing while I'm copying a file to a ...
3
votes
1answer
385 views

What happened to `vga=ask` in newer kernels?

I used to activate framebuffer mode in the "older" kernels with vga=ask, and later setting it to a value, once I've figured out which one works best for me. Now, this option seems to be gone, the ...
0
votes
1answer
2k views

How to dual boot linux and windows 8.1?

I have a computer running Windows 8.1 and I would love to dual boot it with Linux. I am very new to Linux. I have run it in a virtual machine a few times before, but virtual machines are slow. I want ...
2
votes
1answer
39 views

Common subroutines in RPM

I have some common code that I would like to execute in the %pre and %post section of my rpm spec file. When I place a subroutine in the %pre section, I need to add the same subroutine to the %post ...
2
votes
0answers
39 views

Due to a broken monitor, I need to setup only the right half of my screen

The left side of my full hd monitor is broken, in order to use only the good part the resolution needs to be 1274x1080, aligned to the right. A simple xrandr -s 1274x1080 will get the right ...
3
votes
1answer
261 views

atop; Watch process list retroactively

In trying to find the culprit of a high load average on a system during night (which does not seem to be related to logrotate) I installed atop to write a raw file with a specific interval. While ...
0
votes
0answers
34 views

sudo service errors out with JAVA_HOME not found

I've used visudoer to set the keep_env for JAVA_HOME: $ sudo printenv | grep -i JAVA_HOME JAVA_HOME=/opt/java $ ls $JAVA_HOME bin db jre LICENSE README.html src.zip ...
0
votes
2answers
481 views

Use logrotate to store 7 daily, 4 weekly and 12 yearly db backups

I've been trying to use logrotate to store a database backup for: last 7 days (daily) last 4 weeks (weekly) last 12 months (monthly) I've done a logrotate script like this, but only the daily ...
13
votes
4answers
6k views

How to display meminfo in megabytes in top?

Sometimes it is not comfortable to see meminfo in kilobytes while you have several gigs of RAM. In Linux it looks like that: And here is how it looks in Mac OS X: Is there a way to display ...
3
votes
4answers
13k views

Mounting all partitions on hard disk automatically on Linux Mint

Issue I have a Linux Mint installation. Every time that I boot, I need to manually mount the two partitions on my computer(New volume D and Drive C). If I don't do this, these drives don't show up ...
4
votes
2answers
487 views

iptables port forwarding

I have a CentOS server with Java/J2EE(Tomcat) installed on TCP port 8080. I have two interfaces, eth0 and lo. I need to forward all incoming connection on TCP port 80 to 8080. I tried doing the ...
0
votes
0answers
12 views

cannot ping vagrant machine

My experience with vagrant is very little as most of the time is seems to work. In this case however, I have not been able to get the desired behaviour. I am trying to work on a rails application ...
3
votes
1answer
50 views

How to create GUIs (such as menuconfig) with lxdialog

I try to generate a menuconfig by my own with the help of lxdialog (source: lxdialog). Unfortunately this is not so well documented as I wished for. Example: So what I did: I included these files ...
4
votes
3answers
105 views

Command similar to netstat -np but grouped by state and PID?

Is there a command similar to netstat -np but grouped by state and PID? I'd like to know the current count of server connections in a particular state grouped by Programs. similar to, 102 squid ...
2
votes
1answer
280 views

Do I need to install LIRC separately in Fedora 18?

I just finished installing Fedora 18 and out of the box I noticed that it recognizes my IMON/MCE Remote control. I have had to make some changes to the rc_keymaps/imon_mce file to remap some of the ...
2
votes
1answer
568 views

Gnome + Linux: GUI apps don't inherit PATH from parent console apps

In Gnome, don't GUI applications inherit the PATH of the shell process that launches them? Apparently, GUI applications see only the PATH specified in ~/.profile. No issues with console applications, ...
0
votes
0answers
8 views

Setting up nginx on Fedora 19

So I had nginx set-up with the default site. I decided I wanted to change because my website is at /var/www/server.nyro.net/... so before I changed again, I went to 127.0.0.1 to see if everything ...
0
votes
1answer
69 views

Redhat “httpd” can not start anymore. Showing “suEXEC” and “SELinux” notices

I'm on RHEL 6.5 and Apache 2.2.15. When I restart the httpd, I can not start that httpd anymore. Showing following things in the /var/log/httpd/error_log: [Fri Aug 01 18:31:48 2014] [notice] suEXEC ...
11
votes
2answers
2k views

Does SELinux provide enough extra security to be worth the hassle of learning/setting it up?

I recently installed Fedora 14 on my home pc and have been working on setting up different server related features such as apache, mysql, ftp, vpn, ssh, etc. I ran extremely quickly in to a barrier ...
4
votes
2answers
477 views

Linux installation stops working after a few reboots

I'm trying to set up a dualboot Win8/Linux on my HP tablet (touchsmart tm2-1050ez). However, when I'm finished setting it all up, after a few more reboots, I'm not able to boot to Linux anymore, as I ...
4
votes
4answers
420 views

Multiple terminals at once without an X server

There is a way to visualize multiple terminals at the same time without running a Xorg session ? I have a really low profile machine that could be great for some basic stuff but has an horrible ...
1
vote
1answer
26 views

Control USB connection/power - only charge

When I charge my GoPro with a wall-charger I'm able to still use it and take photos, but when I connect it to my Linux computer I can't. I want to be able to programmatically control how my computer ...
1
vote
2answers
2k views

How to detect a possible hardware error?

I'm running Debian Wheezy on a HP Pavilion dv7 laptop and it freezes every now and then, requiring a reboot. One time it didn't even load the operating system, but it wasn't I who was using it so I ...
0
votes
1answer
25 views

Point folder on main HDD to newly mounted 2nd HDD

What is the best way to point a folder in one of my websites directory to a folder in a second HDD I just had installed? I see things about fstab and symlink but am lost at what is the best way to do ...
0
votes
1answer
34 views

Storing a keyfile in an encrypted LVM

I'm using RHEL 6.5 and I want to encrypt some of my logical volumes (LVM). In order to not have to enter the passphrase multiple times, I want to store a keyfile in an encrypted LV. Example: ...
0
votes
0answers
47 views

install opencv-2.4-9 on centos 6.5 with cuda 5.5 support

I can't seem to install opencv 2.4.9 on centos 6.5 with cuda 5.5 support. This is my cmake output: [root@cadejos-0 opencv]# cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/opt/opencv -D ...
0
votes
0answers
51 views

How can a Linux machine run an exe on a remote Windows server?

I need to run an executable on a remote Windows machine from a Linux server. I am using following command but hangs in between: ssh @server_ip 'exe_name' After running the exe I need to run command ...
0
votes
2answers
2k views

Running Commands on Remote Linux Server Using SSH

I am writing a Bash Script wherein I need to run some set of commands on a remote Linux server from my local computer using SSH. I want the results to be displayed on the terminal screen or dump the ...
1
vote
3answers
73 views

Network statistics on linux

I am trying to write a small script to gather network statistics on my Linux system. Is there any way I can do this? What I'm after is live stats on current network throughput. I have done some ...
1
vote
1answer
302 views

Low performace of Intel Haswell HD Graphic 4600 in 3D Games

I have a notebook (Lenovo IdeaPad G510) with Linux Debian Jessie. It has got a built-in, integrated GPU - Intel Haswell HD Graphic 4600. I've read postive opinions about the GPU, it has got good ...
0
votes
0answers
24 views

Unable to install Crypt::SSLeay perl module on RHEL 5.7 (x86_64)

Here is the scenario, actually my RHEL 5.7 (x64_86) server don't have internet connection. but I want to install Crypt::SSLeay perl module on that server. So I downloaded it from CPAN & then ...
0
votes
0answers
21 views

Can't access GPIOs when switching to systemd, but why?

I'm using this ARM AT91 Sam9x5ek Embedded Device, with my Linux Images made by a Buildroot. Usually my init-system is Busybox, now I changed it to systemd. Since then I can't access the GPIO anymore, ...
6
votes
2answers
120 views

Reduce bad block retry / wait times in Ubuntu

How can I reduce the IO wait time and retry times so that the OS doesn't continually try to write to a failing drive? I have an system that I use to make copies of demo content that gets loaned out ...
1
vote
1answer
5k views

libc.so.6(GLIBC_2.14)(64bit)

Installed: glibc-static.x86_64 0:2.12-1.107.el6_4.4 glibc-utils.x86_64 0:2.12-1.107.el6_4.4 Dependency Installed: fontconfig.x86_64 0:2.8.0-3.el6 ...
0
votes
1answer
949 views

Oracle 11g R2 on Redhat 6

I have a Solaris background, and I am new in RHEL, and I want to install Oracle 11g on it. I downloaded Oracle documentation, that illustrate how to install it for RHEL 6. The following or later ...
0
votes
1answer
44 views

prevent filesystem access while passing information to and from programs [closed]

I have written a main script that calls a system program tens of thousands of times. The main script creates and provides this program with an input file on each call. Upon completion, the program ...
1
vote
0answers
44 views

Different layouts and specific key mapping for different keyboards

Here's the deal I have an apple aluminium usb keyboard connected to my laptop with "windows" keyboard. And almost everything works great on my apple keyboard except three annoying problems. Each ...
0
votes
1answer
663 views

Unable to connect to source.repository.backtrack-linux.org

I have a BackTrack5 r3 installed on VMware. As you see below I have internet access in it : root@bt:~# ping www.google.com PING www.google.com (173.194.70.105) 56(84) bytes of data. 64 bytes from ...
-2
votes
1answer
57 views

Why should I get linux? [closed]

Ok so I am student, about to get my degree in computer science. I have been programming for couple of years now on my Macbook pro on OS X and I havent had any problems. On the other hand, everyone ...
4
votes
2answers
1k views

Need Advice: What Linux distro should I install on an old PowerPC Mac

I'm trying to set up my brother (who has a PPC Mac, with 1 ghz processor and 256 ram) with a Linux distro that would allow him to surf the web on the device. Support has faded for the new browsers, ...
3
votes
1answer
550 views

Can't get past EFI to install RHEL on HP Itanium Server

When I am trying to install RHEL (6.3, 5.8, 4.8) on an HP Integrity Server rx2660 Itanium with 4GB RAM, I keep getting to the same point which is Loading file efi\boot\initrd.img...done After that ...
0
votes
1answer
1k views

Installing prstat package command on Ubuntu Linux

I'm trying to run the prstat command on my Ubuntu server, but it doesn't seem to be installed, I have searched the web for the package name needed to install it but without any luck for some reason.. ...
0
votes
2answers
261 views

SOLVED: linux vmware player installation “VMs are running” error

I was evaluating vmware workstation lately but as my trial period ran out i decided not to go for a license so I uninstalled the now defunct workstation 9 in order to re install the player. The ...
2
votes
2answers
150 views

What is the advantage of a network installation?

Looked into a network installation of fedora there. It seems you need to setup http & ftp servers on the host along with booting from a cd. So what are the advantages of installing linux over the ...
2
votes
0answers
26 views

Tmux log output [duplicate]

Im looking for a solution to an issue regarding tmux. One of my scripts ns2server stopped working recently when running start (using tmux) but not in debug mode (not using tmux). I found that using ...
0
votes
1answer
62 views

How does Linux verify the login password?

I would like to know how the password verification in Linux works. I know that the passwords are stored as a hash in /etc/shadow file and user information is in /etc/passwd file. My understanding ...
2
votes
1answer
386 views

mutliple default gateways for alias interfaces (SOLVED)

Alias interfaces defined in /etc/network/interfaces cannot have multiple default gateways. Unfortunately I would like to use the same interface to access 2 differents nets, and I need to define 2 ...
1
vote
1answer
141 views

How can I resume/save work in a to-be-killed VNC session

I run VNC server at CentOS 6.4 and VNC client at windows machine. For some reason, VNC is not working properly today; there is no response of normal key presses, some mouse clicks work (changing ...