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

0
votes
0answers
23 views

Liberation fonts not being rendered in Google Chrome on Linux

A few days ago, I installed Fedora Linux 21 on my laptop and the following were installed by default: liberation-serif-fonts-1.07.4-4.fc21.noarch liberation-fonts-common-1.07.4-4.fc21.noarch ...
0
votes
1answer
28 views

Running multiple Java versions on single Linux machine

My Linux machine with JRE 6 (1.6.0.35) is running a Java application. I am working on SCTP support in JRE 7 (not supported in JRE 6 and not supported on Windows), so I want to test a simple Java ...
0
votes
0answers
9 views

samsung-laptop module in UEFI

After searching the internet I found no good answer to this. I know that the samsung-laptop module is automatically blacklisted when a linux installation is done in UEFI mode. This was a measure to ...
0
votes
0answers
13 views

Gzip Mutliple files using single command [migrated]

Want to Gzip my all the .csv files into a gzip file. I am using this command. gzip *.csv; Problem File contains '//' in its name that's why command is giving error. Error : - '//File.csv' is not ...
0
votes
0answers
14 views

KDE vs. LXDE | org.<desktop>.* profiles

With KDE I was able to find a way to disable screensaver by the following text: KDE if [ -n "$ret" ] && [ "$ret" -gt 11 ]; then idle_time=`qdbus org.kde.screensaver /ScreenSaver ...
0
votes
1answer
29 views

Mount external drive as writeable for all users

Okay, the neat thing about Ubuntu is that it automatically mounts any extra drives as read/write for non-root users in /media. But, whenever I use mount from the command line on Ubuntu or any ...
0
votes
0answers
7 views

Rsync over NFS I/O error

We have two servers running CentOS 6.4. Both are NFS servers and each have shares mounted from each other. Regardless of which direction the transfer goes (upload or download) it fails after a few ...
0
votes
0answers
13 views

Ubuntu + Asterisk = Registration from '“100” failed for '10.0.83.202:51966' - Wrong password

I have set up a simple Ubuntu 14.04 just installing Asterisk (apt-get update && apt-get upgrade && apt-get install asterisk). When I try to log in from my client (Telephone for OS X) ...
0
votes
1answer
22 views

Automating VPN launch

I've recently set a VPN connection up, between my home computer (Ubuntu 14.10) and a dedicated server (Debian 7.7), using OpenVPN. So far so good. My question is, how would you go about simplifying / ...
0
votes
1answer
27 views

Changing TCP sliding window behaviour

We all know that TCP's congestion control uses additive (linear) increase and multiplicative decrease when adjusting sliding window size. Is there a way to change it to "linear decrease"? When a ...
0
votes
0answers
9 views

How to change the binding of the 2nd backslash key next to 'Z' on international keyboards

I want to properly setup my international keyboard in xorg-server (which using xkb). My physical keyboard has the same [backslash]/[pipe] key in two places, one to the right of [Enter], and another ...
0
votes
1answer
19 views

Linux editing remotely mounted files

I have a web server and I mount the directory containing all my website projects onto a local directory in my Linux VirtualBox under /home/UserA/Desktop/Remote/sites. My problem is editing the files ...
0
votes
0answers
21 views

sudo - /etc/sudoers is world writable on Ubuntu OS

By mistake I change the permission of /etc/sudoers file on Ubuntu OS, now when applying any command using sudo, its giving error, sudo: /etc/sudoers is world writable sudo: no valid sudoers sources ...
2
votes
3answers
32 views

Can't ssh in with public key

I have two RH linux hosts, same build 'n everything, call them A & B. I can ssh happily from A to B using a public key, but I simply cannot login to A from B (or from my desktop using putty & ...
0
votes
1answer
13 views

Type file content, pipe some actions and put result back

Is there way to do something like thas: cat somefile.txt | sort | uniq > somefile.txt I.e. I want to list entire file, then pipe some actions to its content and finally put result back to source ...
0
votes
0answers
11 views

To unlock Linux rhel 7 screen through remote ssh

i want to unlock screen remotely using any command . Tried this command " DISPLAY=:0; gnome-screensaver; gnome-screensaver-command -d " I got command not found error , Please help me how can i ...
0
votes
0answers
8 views

Strange behaviour when calling getty on Virtual Box

I am currently trying to get a shell script to run on a Debian 7, that replaces the initial getty call in /etc/inittab. The line in /etc/inittab looks like this: 1:2345:respawn:/bin/bash ...
0
votes
0answers
31 views

Installing firmware with samsung magician dc

I am trying to get Samsung magican DC to work on my linux (linux mint 17 xfce) computer. I downloaded samsung magician dc from here. Then I downloaded the firmware update files from this page (under ...
1
vote
0answers
8 views

Can I interrupt a task in inkscape?

I have launched a "tiled clones" task in inkscape. Rather than setting a number of clones, I have selected an area to cover. Inkscape has been working at it at 100% CPU for 1/2 an hour now... I'd ...
4
votes
1answer
67 views

Require user passwords on linux only on weekdays

Is it possible to make linux require user password only during specified time range, eg. from Monday to Friday? I want to set it this way on my Linux Mint, so that kids cannot access computer on ...
1
vote
1answer
12 views

How to open vnc viewer and login vnc with one command line

I download vnc viewer from here, i find it's a binary file, so my question is how to open vnc viewer and login vnc with one command line, for instance ruby -e "puts (File.read 'path/to/my/passwd')"| ...
0
votes
0answers
10 views

Is system call the only way that a user program can intentionally affect the state of a Linux kernel?

I think there are several ways that a user program can intentionally affect the state of a Linux kernel. By invoking a system call; By invoking mmap() and writing the memory that has been mapped to ...
1
vote
1answer
24 views

How to Extract Multiple substrings from Log FIle

I am trying to extract the timestamp and the number string in the URL called in an apache logfile that looks like this: 123.456.78.90 - - [16/Dec/2014:06:27:30 +0100] "GET ...
0
votes
1answer
19 views

Partitioning Linux Mint Cinnamon [on hold]

I am installing Linux Mint Cinnamon for the first time and need some help figuring out the best way to partition everything. I have a 120 GB SanDisk Ultra II SSD and 6 GB of RAM. I have no need to ...
0
votes
1answer
20 views

I removed the sudo,the I have no permission to install any program?

It's seems like a big problem. I can't login as root, because I use the fedora20, and I can not use sudo. What can I do now ?
0
votes
1answer
18 views

ZIMBRA 8.5.1 : error: unsupported dictionary type: LMDB

Last Saturday, We did below things,after upgrading from 8.0.5 to 8.5.1. su zimbra echo smtp.DOMAIN.com UN:PW>/opt/zimbra/conf/relay_password postmap lmdb:/opt/zimbra/conf/relay_password postmap -q ...
-1
votes
1answer
12 views

Must the Owner of a File Have Equal or Greater Permissions than the Group?

Note: These results were altered to disguise the real names of these files and user names. I'm editing the text file tablet.css over a Samba Share with the following permissions: File Permissions on ...
-1
votes
1answer
30 views

I can't add new user [closed]

[root@localhost ~]# useradd chy useradd: cannot create directory /user/chy [root@localhost ~]# I log in to root and try to make new user , but I can't make new user. how can I solve it?
0
votes
1answer
22 views

iptables duplicate traffic to another ip

This blog post has a template iptables rule to forward traffic, to and from the router to another ip address. iptables -t mangle -A POSTROUTING \ -d [IP to spy on] \ -j ROUTE –tee –gw ...
0
votes
0answers
4 views

Is dd's extended size notation ignored when bs=<value> is set?

On linux the man page for dd claims: N and BYTES may be followed by the following multiplicative suffixes: c=1, w=2, b=512, kB=1000, K=1024, MB=1000*1000, etc up to M, GB, T, P, E, Z, Y. But ...
0
votes
0answers
18 views

Recover data in ubuntu [closed]

I'm using Ubuntu 14.04 right now on my laptop. I have a laptop hard drive that I want to recover data from it. I tried every possible method to get my lost data back but none was successful as I ...
0
votes
0answers
15 views

Properly set default permissions on home directory

I have /home/user1 and /home/user2. I changed all of /home/user1 to 775 and 644 using chmod and chown'ing everything to user1:user2. How can I make it so anything user2 adds to /home/user1 is either ...
1
vote
1answer
17 views

linux: rm of file as root fails with EPERM (Operation not permitted)

I am logged in as root # whoami root I have a file # ls -l /usr/share/applications/google-chrome.desktop -rw-r--r-- 1 root root 8424 Dec 3 10:29 /usr/share/applications/google-chrome.desktop It ...
0
votes
0answers
16 views

How to make my Debian useful - 1 CDs installed, clean Debian

I have problem with debian. After 1 year working on Ubuntu and problems with Ubuntu on VirtualBox I decide to moved to Debian(I know that Ubuntu is son of Debian, but Debian don't make a problem with ...
2
votes
1answer
28 views

Check for Free Space on Linux, email if critical

I just finished dealing with a server which had run out of space, and would like to setup monitoring on it now, to prevent it going critical in the future. What I would like is to get an email sent ...
1
vote
1answer
11 views

Linux setcap and changes made to the executable

A program that I am developing uses raw sockets. For security reasons to run a program that uses raw sockets, the program has to be run under a user with effective ID 0 (root?) or have the capability: ...
0
votes
2answers
58 views

How do I set Input interface is output interface

I have eth0 with IP X.X.X.X and eth0:0 with IP Y.Y.Y.Y. My goal is if I connect to eth0 then output ip shoud be X.X.X.X and if I connect to eth0:0 the output ip should be Y.Y.Y.Y. Example: VPN ...
0
votes
1answer
22 views

Inconsistent applying permissions

Changing permissions in a script after installing certain apps (Linux and OSX), I found the following very confusing. Creating an ".app" in OSX requires placing a directory with a number of files ...
0
votes
1answer
18 views

Up arrow in gnome terminal to review command line history ignores commands with leading whitespace. Is there a workaround?

When writing python code (using gvim) I often keep complex command line commands for test cases saved in my docstrings. A common time-wasting error I make is copying the entire line from the python ...
0
votes
1answer
13 views

Mouse focus stuck (Linux)

Sorry for crappy post layout, posting from my phone. Problem: mouse focus gets stuck. Not sure how to explain it, I can sometimes get it to switch to a window, but once there it's locked until that ...
1
vote
0answers
11 views

Linux wireless scan workflows [closed]

I'm looking for a wireless printer that can scan wirelessly. I know this exact question has been answered 1000 times, but I'm looking for info on the workflow involved and for info on more efficient ...
0
votes
1answer
20 views

Unable to communicate with peripheral over Serial USB from Linux

I am struggling with establishing comunications with a peripheral over USB serial on my Linux here (fedora 20/64bit), and I am probably missing some step: I connect the device, a /dev/ttyUSBx port ...
0
votes
0answers
28 views

Configuring a Git server on Arch Linux

I’m looking to turn my website that I’m building from scratch (that is, the root of the site) into a Git server. Basically I’d like to be able to have a local copy that I can edit through Eclipse and ...
0
votes
0answers
19 views

Unable to open files with OpenVPN and samba (writing works)

I have setup a samba server and it works correctly from the local network. When accessing via OpenVPN both from Windows and GNU/Linux writing works but can't open any files. It just timeouts when ...
0
votes
0answers
14 views

raid5 after changing disk, data disappeared in lost+found or?

I lost a drive so I stopped my array, changed the drive, reassembled the array. So far so good except that when I tried to mount the array I had an error about md0 file system (sorry I rebooted so ...
0
votes
0answers
6 views

socat and serial ports (Linux)

I'm having some issues with using socat against a serial port (on the other end is an FTDI chip) the command I'm using is socat -x ...
2
votes
1answer
39 views

Renaming multiple directories

If have a directory structure that stores records based on their date of recording. Originally there was one directory that contained a subdirectory for every single day like this basedir ...
0
votes
1answer
10 views

RPM created using checkinstall giving dependency error

Compiled openssl-1.0.1.i using commands: export CFLAGS="-fPIC" ./config shared --openssldir=/usr/share/ssl make depend make all make install here it is not asking for any dependencies I am able to ...
0
votes
1answer
31 views

Grub2: “Invalid partition table!”

I have recently had to change bootloaded from my old syslinux to GRUB2. Since I have installed GRUB2 bootloader I am getting the following message on every boot: Invalid partition table! The ...
0
votes
0answers
17 views

Sound starts crackle through hdmi when cpu usage goes high

I built new HTPC with Athlon 5150 (AM1 platform) + Asrock AM1H-ITX. I have installed Linux Mint 17 + XBMC. This machine is connected to tv throught HDMI. It works like a charm except one: during ...