Linux refers to the family of Unix-like computer operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

-5
votes
0answers
8 views

What is best Brain health solution?

It comprises the influential focus factors which help the brain cells to function efficiently. Pros It boosted your sleep mood. http://brainfireadvice.com/
1
vote
1answer
7 views

How to export an environment variable inside window manager?

I can export VAR="value" and use $VAR from within a terminal until I close it. Is there a way to get this behaviour, inside a window manager/graphical environment? exporting an environment ...
0
votes
0answers
7 views

How to access Brother network scanners

I have two network/USB all-in-ones that are in separate networks, Brother MFC-7840W and Brother MFC-9840CDW. The operating system is Ubuntu 14.04 LTS. USB works for printing and scanning for both. ...
0
votes
0answers
4 views

How can I ping successfully from an vlan interface on Linux?

I created a VLAN interface on my Ubuntu VM: root@vagrant-ubuntu-trusty-64:~# ifconfig eth0 Link encap:Ethernet HWaddr 08:00:27:2e:8d:5d inet addr:10.0.2.15 Bcast:10.0.2.255 ...
0
votes
1answer
6 views

How do you force linux to treat a tcp packet as if it were at the destination ip?

The situation: A tcp packet arrives on eth0 with destination 8.8.8.8. This packet meets some criteria that makes me want to intercept it (lets say I am interested in all packets from source ...
10
votes
5answers
2k views

What is ::: in the Local Address of netstat output?

This is the output of netstat -tulpn that I get: tcp 0 0 127.0.0.1:2208 0.0.0.0:* LISTEN 2055/hpiod tcp 0 0 127.0.0.1:631 ...
1
vote
2answers
29 views

Making a juniper VPN work on linux

I've tried several tools, the original scripts (ncsvc and ncui) do not output any error message to know what wrong with connection, even with wireshark I could not know what was wrong. The best tool I ...
0
votes
2answers
10 views

Running scripts independently on Raspberry Pi

I have a couple of python programs, such as one which checks if the Collatz Conjecture is applicable for a given number or not, and writes output to a file (it runs on a Raspberry Pi). Although I ...
0
votes
0answers
4 views

Trying to get Bridged Networking mode in VMWare Player - Fedora Host

I'm fairly new to Linux, having played with it for a while back in 2002-2003. I recently set up Fedora 21 on a Lenovo Thinkpad Yoga, and so far so good. I'm having issues with VMware Player. I have a ...
4
votes
1answer
2k views

Intel HD4000 with 4k HDMI output on Linux

I wonder if I can output 4k resolution (3840 × 2160) @ 30Hz with a Intel HD4000 graphics using Linux and a single HDMI output. I have a Thinkpad Edge E330 with HDMI 1.4. The CPU is an i5-3210M. I ...
0
votes
1answer
22 views

Does Bash have cache of executables?

I was just writing a C++ program on my Ubuntu 14.10 computer. As it is a client/server program, I has three terminal emulators open: one for writing code and compilation, one for client testing, and ...
0
votes
0answers
3 views

Can't install heroku toolbelt on Linux Mint

Attemping wget -qO- https://toolbelt.heroku.com/install.sh | sh as instructed by https://toolbelt.heroku.com/standalone yields this message. Add the Heroku CLI to your PATH using: $ echo ...
2
votes
2answers
1k views

Why is there a root process whose pid is changing all the time?

It's pid is increasing all the time... I'm writing a program to display all the process's info, this process really bother me. Oh..the Chinese words are sleeping..., can't use, can't use
1
vote
0answers
11 views

cannot see files from SSHFS

I followed the instructions provided by digital ocean to mount an SSH connection using sshfs and macfuse. It is working from the commandline I can see the remote folders in /mnt/mydir But in Finder ...
1
vote
1answer
10 views

Send and receive raw 802.11 frames on Linux

I'm looking for a way to send and receive raw 802.11 frames using USB wireless adapters (such as the Alfa AWUS036H) while they are in monitor mode. Is this possible? There are plenty of ways to do ...
-1
votes
1answer
14 views

difference between fstab and mount -a?

I have an smb share on a NAS that I am trying to mount on a Debian box (RaspPi). So far so good. I added the following entry in my fstab file: //192.168.1.xx/yann /home/pi/buffalo cifs ...
1
vote
1answer
26 views

Why does root cron job script need 'sudo' to run properly?

I'm running this simple script on my Raspberry Pi to auto update so I can forget about it. It also keeps a log that says whether the update was successful. The script is update.sh: #!/bin/bash echo ...
0
votes
0answers
6 views

Restore [non-boot drive] root directory from kernel image

Accidentally overwrote the root directory on a 2nd drive, .. but the subdirectories are still there [i.e. cd to a subdirectory drive is successful]. Problem is, the root directory in the partition is ...
2
votes
0answers
6 views

Linux: Prevent keyboard turning screen on under X

I'm trying to bind a key (using xbindkeys) to turn my monitors on/off under X. So far I have the key bound to this script: #!/bin/bash MOUSE="Logitech USB-PS/2 Optical Mouse" if [[ ! -z $(xset q | ...
1
vote
1answer
60 views

RHEL 6 HP Tape Driver Installation Troubles

Trying to install tape drive drivers for the HP Ultrium 3280 SAS using this guide http://h10032.www1.hp.com/ctg/Manual/c02262008.pdf Whenever, I try to execute mkltfs I get this error mkltfs: ...
0
votes
0answers
32 views

bash doesn't find “./file” altough file is in current directory

This tells me that there is a file called arm-uclinuxeabi-gcc in the current directory: manuel@manuel-VirtualBox:~/linux-cortexm-1.12.4/tools/arm-2010q1/bin$ ls -l total 16808 -rwxr-xr-x 1 manuel ...
13
votes
8answers
2k views

How can I achieve “Git”-like update management for Linux? [closed]

I want to manage the updates of my Linux system in a similar fashion as Git does it, by being able to move back and forth within "revisions". How could I do that?
1
vote
1answer
68 views

Authentication Failure Upon Successful Login

I was reveiwing the logs when I was successful in logging into a workstation - however in the in the var/log/secure log it is logged as > gnome-screensaver-dialog:pam_unix(gnome-screensaver:auth): ...
1
vote
0answers
11 views

What's the minimum overhead of a Linux container?

If I understand this correctly, a container, once running, shouldn't have any CPU overhead. Is that correct? It does have a memory overhead. How big might that be? How would I measure it?
58
votes
10answers
63k views

How to clear the contents of a file from the command line?

I have a log file that has a bunch of stuff in it that I don't need anymore. I want to clear the contents. I know how to print the contents to the screen: cat file.log I know how to edit the file, ...
0
votes
0answers
14 views

Remote desktop options for modern linux

I need to be able to access a linux box (currently running Centos7 and GNOME3 classic, although I suppose that could change if it had to), from windows, from both the local network and remotely ...
2
votes
3answers
234 views

As a user with a home server, is it particularly bad or dangerous to open port 22 to my server?

I have a CentOS home server that I use for various things, which sits on my home network behind my router. Normally when I want to do something remotely I will VPN in (my router has a built-in OpenVPN ...
7
votes
4answers
2k views

Is there a folder-only based music player for Linux? [on hold]

I have my music sorted using directories so I don't want a library, tags and what not. What I want: easily (recursively) add directories to playlist from my music root, not from library songs in ...
0
votes
0answers
21 views

Not able to start x11 on SUSE

I am not able to start x11 display on SUSE 12. This is the error message I am getting: xauth: file /export/home/gtee/.serverauth.16595 does not exist (EE) Fatal server error: (EE) Cannot open log ...
0
votes
0answers
15 views

Create clean PDF files?

I have multiple PDF files that could contain malware, so I want to create clean PDF files using utilities available on Linux. My idea is to convert the PDF files to images, then convert the images ...
0
votes
1answer
24 views

Strange Vim/terminal use from ssh via Mac OSX

I am using terminal from a Mac OS X 10.10 (Yosemite) and SSH’ing into a fedora machine and am having a couple strange issues with the terminal: When I :q from vim, the contents of the vim screen is ...
1
vote
1answer
16 views

failed to open stream too many open files - php 1024 maximum limit - Redhat - why isn't new limit working?

I've got this message while debugging a problem in a PHP program. I've already edited the /etc/security/limits.conf and added * hard nofile 500000 * soft nofile ...
0
votes
2answers
390 views

Automated sudo and screen command

I would like to be able to launch a script in a separate screen command session as a separate user when I run a .sh script. Here is what I think it may be in the script: #I am also starting xampp ...
0
votes
2answers
404 views

Using CEC to turn on and off TV

I am working on a project where we need a monitor that can be turned on and off automatically. For this to happen I thought of using a linux box (more specific a Raspberry Pi) with a HDMI-CEC ...
0
votes
0answers
10 views

VPN does not reconnect (cannot resolve host address)

maybe someone can help me: At the moment i am trying to configure a fail-safe VPN connection to a commercial VPN provider on a virtual machine. This is working fine, until my router wants to reset my ...
0
votes
1answer
36 views

Preferred linux partition sizes on modern systems

How much should I allocate for / (root/boot) in 2015? Do I need to account for additional programs to be installed in this partition? I don’t want this to be a discussion about the size of the swap ...
3
votes
1answer
9k views

Synergy 1.4.14 fails with “Protocol error”

Server: Debian testing, with the 1.4.14 deb downloaded and installed. Client: Windows 7, with 1.4.14 downloaded and installed. Both are Premium. On Debian, start the server with synergys -f -c ...
1
vote
0answers
9 views

check_oracle_health with OPS$Nagios account

I can login to my database via sqlplus with the OPS$ account, but i cannt seem to get it to work in with the nagios check_oracle_health. Im testing from the command line. ...
19
votes
5answers
5k views

Is there really a “USB communication protocol”?

According to Wikipedia, USB: defines the cables, connectors and communications protocols used in a bus for connection, communication, and power supply between computers and electronic devices ...
0
votes
1answer
13 views

Linux program used to gather installed packages, processes, listening ports, etc.?

It's hard to Google this because it seems like everyone and their kid sister has written a script to gather system stats! I once saw a mature program written that is used to gather system stats like ...
0
votes
1answer
57 views

Which system is this?

I'm working on a project that build its image .qcow2 based in a temporary file system generated in /tmp/ folder. It looks like this: $ls -la /tmp/ -rw------- 1 root root 7G Jan 30 09:55 ...
1
vote
1answer
11 views

Mount external hard drive with r/w permissions for minidlna

I trying to mount my external hard drive (NTFS) on my raspberry pi in /home/pi/dd But I would like to have r/w access to all files on this HD because I want to use one of its subfolders with ...
2
votes
1answer
3k views

How to use NAT iptables rules for hostapd

My PC is equipped with two net interfaces - wlan0 and eth0. I want to use WiFi port as access point on wlan0. So i use hostapd facility and it works properly in routing mode in local network. Users ...
0
votes
0answers
7 views

Can Netflix OSS system be used for applications built in php and/or python?

I came across NetflixOSS open source project http://netflix.github.io/#repo I was wondering if it would work out of box with php and python applications. How can a person tell what types programming ...
0
votes
1answer
23 views

Changing systemfile on linux - from ext3 to ext4

I would like to change file system on one of my disk. I know steps: format, unmount, install ext4, mount, but I can't find any helpful information about it. Could you help me with it?
0
votes
1answer
24 views

Linux / X11 - Force older games to use main monitor

I'm running a dual-screen setup on my main PC, with a 28" monitor connected via DisplayPort and an old 19" screen connected via DVI. Unfortunately, a lot of older games seem to insist on trying to run ...
0
votes
1answer
175 views

Recover Firefox / Iceweasel password files from backup

I recently set my Firefox (actually Iceweasel 24.3.0) master password and promptly forgot it. Before I set the master password I made a backup of my homedir and want to recover the password files ...
14
votes
3answers
11k views

How to create an uncompressed AVI from a series of 1000's of PNG images using FFMPEG

How can I create an uncompressed AVI from a series of 1000's of PNG images using FFMPEG? I used this command to convert an input.avi file to a series of PNG frames: ffmpeg -y -i input.avi -an ...
0
votes
1answer
18 views

Linux C Compiler

I've just tried to install APCUPSD and have run into a missing C compiler error. I then ran yum install compat-gcc-34-g77 which went fine but the error did not go away, I tried which gcc as well ...
3
votes
1answer
5k views

Attempting to install tmux on CentOS 6.4 or CentOS 6.5 fails with error: ‘EVBUFFER_EOL_LF’ undeclared

I tried compiling tmux using the following steps: yum -y install ncurses-devel libevent-devel wget http://downloads.sourceforge.net/tmux/tmux-1.9a.tar.gz tar -xvzf tmux-1.9a.tar.gz cd tmux-1.9a ...