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

2
votes
0answers
21 views

Can I have a conditional shebang?

I have a script that can be run with different interpreters: #!/usr/bin/env default-interpreter [my script] But I would like to use an alternative-interpreter if it's available, like this: ...
2
votes
0answers
8 views

Configure three screens backed by two graphic chips in a laptop under Linux

I'd like to connect two external monitors (one via HDMI, one via VGA) to my HP ProBook 4330s LW813EA laptop, while keeping the laptop screen on as well. The Intel HD 3000 graphics embedded in Core ...
2
votes
0answers
27 views

how to keep a distributed software up to date on Linux machines

I have my own distributed software running on few RasPi (20+) in different geographical locations, but every time i change something in my app, i have to update the excuteble in all Pi's manually, ...
2
votes
0answers
24 views

no route to host: Is this associated with SSH or system network configuration?

Problem statement: Not able to ssh from pc1 to any other pc's mentioned below after adding the IP rules tried below System setup: I have a set of 4 machines connected to HUB. Their N/W config: ...
2
votes
0answers
20 views

How to boot encrypted drive

i have a laptop installed with endpoint security disk encryption. I create a live usb to boot linux, but it doesn't work. Is there a way to boot a usb thumb drive from an encrypted disk? do i need to ...
2
votes
0answers
35 views

random fortune on business cards

I have a latex business card template I am using, and I want to have the first line(s) be a fortune from the fortune command in Linux. I have fortune installed. How can I have a different fortune on ...
2
votes
0answers
34 views

Virtual filesystem on linux to translate contents (fuse?)

Is there some existing software to use a virtual filesystem to translate file contents? (read-only or read-write). It would be interesting to be able to generate a view on a code-base, for example. ...
2
votes
0answers
79 views

Why is avahi-daemon excessively spamming my log files?

My VPS provider recently suspended my account for "participating in a DoS attack". Since I've naturally done no such thing, I can only assume it was a security breach, and am now investigating what ...
2
votes
0answers
67 views

Debian shutdown takes a long time (RAID/crypt related)

I'm running Debian Jessie and recently my shutdown has been taking a long time. When I sudo shutdown -h now I'm sent to a blank screen except for a blinking cursor which sits for ~1 minute. It then ...
2
votes
0answers
20 views

Detect vga signals from command line

Currently I am working on Ubuntu 12.10. I am using vga2usb device for interacting with other vga devices such as monitors. Is there any command line utility or any specific command from which I can ...
2
votes
0answers
37 views

Printer configurations on Linux: Providing privilege to normal users

I am on a CentOS machine. Everything is working fine, I can configure the printer with the GUI System->Administration->Printing. It asks for root password and then I can make the configurations. ...
2
votes
0answers
28 views

Best practise for debbuging hdd

I just logged onto my machine when suddenly ls gave me an Input/output error. After rebooting the machine /dev/sda1 could not be mounted. dmesg results in : [ 545.691453] EXT4-fs (sda): VFS: Can't ...
2
votes
0answers
73 views

LC_LOCALE settings interactions between Mac OSX and LINUX via SSH

I have been struggling with the following problem for years now. I have never been able to solve it, and I adopted several workarounds to keep being able to work. However now I can't stand it anymore, ...
2
votes
0answers
17 views

Can I configure GNOME 3 to move a window to it's own workspace when maximized?

I'm using GNOME Shell 3.10 and would like to have each maximized window moved to its own workspace automatically. Ideally I'd also like GNOME to prevent any workspace from having more than one ...
2
votes
0answers
26 views

What does dbconfig-common do? Should I use it?

For several packages, the installer asks you if you'd like to use 'dbconfig-common'. After some Googling, I can't really find (in plain old English) what the heck that package brings to the table, ...
2
votes
0answers
43 views

Is there a tool like dm-crypt/luks using RSA encryption?

Is there a library/tool available for linux, similar to dm-crypt/LUKS using RSA encryption instead of symmetric ciphers? I want the "public side" to only be able to create these volumes, and the ...
2
votes
0answers
236 views

“screen is terminating” for non-root

When I try to run screen as a non-root user I get: screen [screen is terminating] immediately, though it works fine for root ls -alh /usr/bin/screen -rwxr-sr-x 1 root screen 465K Jun 9 20:30 ...
2
votes
0answers
80 views

Stuck on GRUB command prompt after regular kernel update

I am running Debian Wheezy. Update Manager suggest to install kernel update. After update, I reboot system but instead of listing all the kernels (bootloader), it gave me a GRUB command prompt: ...
2
votes
0answers
71 views

How to use DVD+RW (UDF) both in windows and linux?

I have dvd+rw disk. I would like to create UDF file system on it to use with windows 7 (and newer) and gentoo both. How must I prepare media and what commands should use to mount it in linux? What I ...
2
votes
0answers
75 views

Block all outgoing traffic for a User running Wine apps

Good day, I'm using a lot of WINE apps under Linux which work just fine, but one thing I am specifically looking for right now is to block their access to the internet (outgoing), with exception of ...
2
votes
0answers
24 views

Download yum packages on Debian for an offline fedora20 system

I need to download YUM packages (namely java-1.7.0-openjdk, gstreamer-plugins-good, gstreamer-plugins-bad and gstreamer-plugins-ugly) for an offline Fedora 20 machine, and I'm working on a Debian 7. ...
2
votes
0answers
133 views

How to register shutdown script on Amazon Linux in AWS EC2

I am using Amazon Linux (RH-based distro) in AWS EC2. I followed the structure of /usr/share/doc/initscripts-*/sysvinitfiles to create an init script in /etc/init.d. /etc/init.d/do_something ...
2
votes
0answers
52 views

How to set gpg2 as default implementation of gpg on debian?

My debian installation came with gpg 1.4.12, while I would like to be running 2.0.19. The former comes in the package gnupg and the latter gnupg2. They can coexist peacefully as far as I know, but I ...
2
votes
0answers
331 views

Why does NTP require bi-directional firewall access to UDP port 123?

From What are the iptables rules to permit ntp?: iptables -A INPUT -p udp --dport 123 -j ACCEPT iptables -A OUTPUT -p udp --sport 123 -j ACCEPT Also, from the NTP website: ... ntpd requires ...
2
votes
0answers
1k views

Perf samples too long, lowering kernel.perf_event_max_sample rate to

My machine freezes from time to time and I can get it working back by pressing the space key. I have this problem since two weeks now, but it was just once per day max. Now it's starting to be many ...
2
votes
0answers
143 views

linux catalyst and three monitors

I just switched from opensource ati driver to catalyst because I had many crashes on my linux box when playing flash videos. It looks like with fglrx my system is more stable, but I lost my third ...
2
votes
0answers
90 views

X11 evdev mouse generates duplicate events

Lately my x11 server started registering several duplicate mouse click events per single click. I've tried upgrading xorg server and drivers, but it didn't help. Using different mouse doesn't help as ...
2
votes
0answers
90 views

rasperry pi / debian / directory mount issue

I have trouble regarding to external USB disk write operations I am using Rasperry Pi box with Debian Linux root@raspberrypi:~# umount /dev/sda1 root@raspberrypi:~# mkdir /media/extGrayUSB ...
2
votes
0answers
71 views

How to use wget to download images from messages on facebook?

This look a bit harder than usual. I'm a new user wget and i was thinking that maybe it's possible to somehow login into facebook and download only images from a specific conversation. I mean, i'd ...
2
votes
0answers
43 views

Sudo works as su

Ive observed kind of strange behaviour. I have openSuse and when Im in console and want to gain root access for executing one command, after typing sudo it like switches me as if Id type su. ...
2
votes
0answers
55 views

DNS tunneling through an SSH connection looses connectivity

In the article 'UDP traffic through SSH tunnel', it is described how to tunnel DNS trough a SSH tunnel: client# ssh -N -L 6667:localhost:6667 user@server server# mkfifo /tmp/fifo server# nc -k -l ...
2
votes
0answers
88 views

TERM=xterm-256color vs xterm+256color

I noticed debian ships with a terminfo xterm+256color while most other distros only have (and is the default in osx) xterm-256color looking at the info on both, i can see that xterm+256color is very ...
2
votes
0answers
389 views

tar: Cannot create symlink : File exists

I backup lots of gigebytes files in to myproject.tar.gz, and compress success without errors. Now, I want to decompress all to an folder "myprojects". adan@adan-Latitude-D630:~$ tar zxf ...
2
votes
0answers
31 views

using pam_mount in WLAN setting

I thought this should be a simple exercise here, but obviously I couldn't find a solution, yet. I use KDE on Ubuntu 12 LTS. I want to use libpam-mount to mount a nfs share to a directory within user's ...
2
votes
0answers
148 views

Stuck at GRUB prompt after booting, how can I restore normal booting?

My machine was dual-booting with Windows XP and Fedora, then I tried to install Arch. While installation power went off. After that, booting always results in the GRUB prompt. Even when I instruct my ...
2
votes
0answers
48 views

Preventing unused spare hdd from spinning up during suspend and shutdown

I recently replaced my sata hdd with an ssd, and keeping the hdd in as a spare. It's not used, not event mounted to filesystem. Yet, when suspending or shutting down the system, it quickly spins up, ...
2
votes
0answers
73 views

Archipel / Xen Orchestra

I'm hoping you can help me to get my head around this! We want to start using virtualisation. We intend to rent a large server in a datacentre and use this. I was excited to see that XenServer is ...
2
votes
0answers
92 views

Mounting shared directory for chroot users

I ran in to an interesting issue with mounting that doesn't make any sense to me. Basically I have setup a chroot environment for SFTP users, they each have a chroot directory with a format of ...
2
votes
0answers
42 views

scp doesn't work when my .bashrc is echoing to console

Ok, so I have used linux for a long time but this is the weirdest thing I have encountered in a long time. Maybe I just don't do a lot of scp so probably missing something simple here. So in my ...
2
votes
0answers
233 views

Debian 7 kernel 3.13.6 - kworker freezes for no reason and takes several processes with it

I have been wracking my brain trying to figure this out. My Linux server will, at random, decide to just hang everything and it is only ONE kworker thread that does it. First the kworker thread ...
2
votes
0answers
83 views

Short hang on each new window and each closed window in Linux / Gnome Shell

Every time I open a new window on screen, the entire display freezes for 3 seconds. Every time a window is closed, the entire display freezes for 3 seconds. The first few windows after reboot are ...
2
votes
0answers
576 views

Multiple Linux distributions return “Fast TSC calibration failed” when running on Hyper-V

Client Hyper-V on Windows 8.1 Pro host with Intel Core i7-4800MQ processor. Several Linux distributions, including openSUSE and Kali Linux, return the following error message when booting up in a ...
2
votes
0answers
19 views

Best way to run service no matter the distro

I am working on an application and want to make the script start on boot, and for the users to be able to run things like service my-program restart What i am seeing is there seems to be different ...
2
votes
0answers
80 views

btrfs does not show drive as missing

I am trying out btrfs and I noticed some funny behaviour: I have two drives in a raid 1 configuration. sudo btrfs fi show Label: none uuid: 52b9c6f6-ce5c-4727-861e-e2fd012e475f Total devices 2 ...
2
votes
0answers
72 views

Change group or permissions when a file is moved to a shared directory on Linux

I've set up a Linux server accessible with ssh and Samba share. Every user has his own folder USER/ and a public folder USER_public/. Permissions on the USER_public/ are set up using setfacl in such ...
2
votes
0answers
56 views

why “date -u” command shows time 25 seconds ahead “export TZ=UTC; date”?

I am running clockspeed-0.62 (DJB software) on ubuntu 13.10. I have setup timezones so that /usr/share/zoneinfo is a link to /usr/share/right, and I have setup an up to date /etc/leapsecs.dat file, ie ...
2
votes
0answers
1k 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 ...
2
votes
0answers
147 views

PC reboots after “Welcome to Grub” unless booted from BIOS

I have a Linux machine running on an ASUS P8H77-I. The boot drive is correctly set in the BIOS. If I let it boot normally, I see the Welcome to Grub line, then it reboots, and repeats forever. If I ...
2
votes
0answers
1k views

CHECK_NRPE: Socket timeout after 10 seconds, when trying to read Windows Server 2008

When invoking the check_nrpe via terminal, like so: /usr/lib/nagios/plugins/check_nrpe -H winserver -c alias_cpu I get the error below: CHECK_NRPE: Socket timeout after 10 seconds. (Also ...
2
votes
0answers
52 views

Can I get urxvt to recognize xmodmap configuration?

i switch from an apple-style keyboard at home to a microsoft-style keyboard at work. the primary difference in these keyboards is that the super key and the alt key are transposed. i've used xmodmap ...