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

1
vote
1answer
20 views

Linux ALSA Driver using channel count 3

Am running my ALSA Driver on Ubuntu 14.04, 64bit, 3.16.0-30-generic Kernel. Hardware is proprietary hardware, hence cant give much details. Following is the existing driver implementation: Driver ...
0
votes
1answer
28 views

How to backup chrome session manager extension on linux and windows?

I've found google chrome's profile in the file directory's of both linux and windows, but I can't find session manager amongst the extensions (and have my doubts that loading up the profile will work ...
3
votes
1answer
1k views

How to copy directory into another preserving specific directory structure?

I would like to find the command that copy my eclipse options to another workspace: /home/me/myWorkspace/.metadata/.plugins/org.eclipse.core.runtime/* There is only one directory ...
1
vote
3answers
229 views

How to execute a system command one minute after reboot (Linux)?

Is it possible to run a system command such as mount a certain amount of time after system reboot? My problem is that I had an entry in /etc/fstab to mount a host disk in a Linux (Ubuntu) virtual ...
3
votes
4answers
14k views

linux arecord: capture sound card output rather than microphone input

I am trying to capture sound card output and encode it in Vorbis ogg format using the following command: arecord -f cd -t raw | oggenc - -r -o file.ogg However, the computer's microphone input is ...
0
votes
0answers
22 views

How is this picture icon generated if the file itself is corrupt?

This problem is very annoying, and has happened before. I previously made a picture on the kolourpaint program for linux, and saved it as a .jpg file in its respective directory. I was able to view ...
0
votes
1answer
23 views

How to recursively compress subdirectory's files with password

I need to recursively compress subdirectory's files with password and then delete the uncompressed file in bash file. There are zip files and other files. I don't want to compress zip files again. I ...
4
votes
1answer
5k views

VirtualBox NAT over proxy

I use VirtualBox 4.1.8 on a Ubuntu 10.04 host system. I have an HTTP proxy server on the host system. How do I configure the VirtualBox to NAT the virtual machine's network and use the HTTP proxy for ...
11
votes
4answers
7k views

Does fake RAID offer any advantage over software RAID?

Does a fake RAID controller do any useful work or is it just like a place where to store the parameters? I know that Linux offers much more flexibility than my poor on-board controller, but this is ...
7
votes
1answer
2k views

Convert grayscale image into alpha channel image in unix shell

I have a gray-scale image. I want to convert it into an transparent PNG, such that the black pixels (in the original image) become fully opaque, the white pixels become fully transparent, a 50% grey ...
0
votes
1answer
42 views

ZFS (RAID-Z1) or “hardware” (RAID 5) on Linux system?

I have never put together a RAID array before, but i think i understand the concepts behind most raid types from my reading. Ordering three 3TB drives (WD red) to use in a xeon e3-1231 v3, 16GB ...
0
votes
0answers
24 views

Why would updating postgresql-client uninstall postgresql?

On a Debian 7 server, apt-get was offering me to upgrate the following 2 packages: postgresql-9.1 and postgresql-client-9.1. Since I didn't want to restart the database server, I decided only to ...
1
vote
2answers
5k views

Permission problems with rsync

I wanna do daily ssh synchronization of some of my local machines files with my server. I want to do this via rsync, since it sounds the most promising tool for this task to me. Sadly I get the ...
0
votes
2answers
25 views

What is the best way to check if internet connection is alive?

I am student and I connect to internet with Shibboleth. Actualy I have a Python script on a raspberry pi with selenium and phantomjs to automatically connect on running. I would like to check ...
2
votes
3answers
37 views

How do I set files and directories created as root to be read and executable as another user?

I'm using Cloud9IDE's SSH workspaces, and for a variety of reasons, we are required to create that SSH tunnel as root. This is not really an issue, however the files and directories we are creating ...
0
votes
1answer
2k views

ffmpeg fastest way to convert videos avi to mp4

I have server which has: 8x3,4 (sandy bridge cpu) 10gb ram i tried different combinations to convert vvideos i mean avi to mp4 but it takes so long: - ~20mins=~200mb maybe there is some ffmpeg ...
2
votes
1answer
27 views

Linux graphical GUI freezes

Ok so I got this annoying problem that happens every so often where the entire screen freezes up, becomes a static image, can't do anything on it until I press Ctrl+Alt+F1 to switch to console CLI ...
-2
votes
0answers
26 views

How can I create a cluster with Linux desktops? [on hold]

My school is getting rid of about 10 desktops. I am planning to build a cluster with them. Unfortunately, my knowledge in this area is tantamount to 0. I plan on installing Linux on them, but I have ...
0
votes
2answers
34 views

I have sandisk cruzer force 16Gb thumb drive for booting linux

I have a sandisk cruzer force 16Gb thumb drive that i want to use as a 'usb boot device' for an old laptop with no hard drive or windows recovery disk (IF it is possible). I have seen mention of ...
15
votes
3answers
5k views

Equivalent of gnu `sort -R` on OSX?

The GNU sort text utility features a non-standard -R option to randomize input lines (presumably by sorting on a hash). OSX sort does not have this extension. Is there similar functionality ...
0
votes
0answers
26 views

Linux: Block all applications from accessing internet and whitelist some (Kubuntu 14.04)

How can you block all applications from accessing the internet in Kubuntu, and only whitelist some? (To prevent automatic updates, downloads (data plan), "calling home" and sending any log/usage ...
1
vote
3answers
747 views

Boot Linux from DOS (with loadlin.exe etc)

I have been using the latest version of loadlin.exe (version 1.6e). It works on some machines but on others I get "no place after kernel for initrd". The kernel is about 5MB in size (non-modular) and ...
1
vote
1answer
65 views

tcpdump not displaying RSSI

I am monitoring Wi-Fi probe requests via tcpdump on Debian and am trying to capture the RSSI (signal strength) of each probe request element. Currently, the output from tcpdump for each probe request ...
0
votes
1answer
502 views

Lock screen after auto login Debian/Ubuntu

My situation: Need auto login for my Wheezy. Sometimes I'm away from my PC when it rebootsso I need to lock the screen after auto login. When I type /usr/bin/gnome-screensaver-command -l it locks ...
0
votes
1answer
19 views

Get minicom to behave like PuTTY

I'm bootstrapping some servers over serial. I've been using PuTTY on Windows, but I'd really rather use Linux. In PuTTY, I can simply select serial and enter the baud rate. A serial window pops up ...
0
votes
0answers
25 views

Getting Exception: java.net.ConnectException: Connection refused when running Minecraft.jar on TAILS linux

I am running Tails from an USB stick (because hard drive is broken) and when I try to run Minecraft I keep getting the same error. Should I specify any parameter when calling Java? How do I solve ...
1
vote
1answer
72 views

Mac OS X: keychain fails to save passphrase when connecting to remote host via ssh as root

When using ssh to connect between two mac machines as a standard user passwordless connection works ok on both macs. But each time when doing the same as root it asks me to enter the passphrase. I ...
5
votes
1answer
29k views

Starting and stopping X11 and LXDE from command line

I have a Raspberry Pi with Debian Wheezy (Raspbian) and so far I've managed to learn quite a lot about Linux just playing around, but I have a few questions for all you seasoned Linux pros out there. ...
-1
votes
0answers
12 views

Cross platform USB encryption [duplicate]

I'm carrying an USB stick on my keychain. It contains auth keys for ssh, some passwords, addresses and other sensitive info that I need every day at work, since I drive around alot. I need to be able ...
0
votes
0answers
23 views

Unable to start libre office from terminal

I need to start libre offices impress via SSH on various raspberry pies, each displaying a set of slides on its own screen. Now my problem is that, when I run loimpress --show file.odp it states ...
3
votes
2answers
1k views

How to justify and center text in bash?

Newbie here. I'm looking for bash script to center and justify text. My script only works with one line of text. How would you improve it? #!/bin/bash COLS=$(tput cols) while true; do clear ...
0
votes
2answers
191 views

System monitor and free -m show different readings

I saw memory usage by using System Monitor it showed me 778Mb/2012Mb. Then I checked it using free -m on terminal. I saw this total used free shared buffers cached ...
2
votes
2answers
4k views

Want to restore Windows 7 from Linux Ubuntu

I want to recover Windows 7 from Linux and I don't have the Windows 7 CD or any previous back up files. Please tell me if there is a way to recover Windows 7 from Linux because I do not want to boot ...
0
votes
0answers
11 views

nginx gives 404 and 403 in all the files in webroot

I have setup a webserver in a virtual machine on my laptop and I can't get nginx to work. My home DNS is put to example.home for easy access. Here are the symptoms: When I try to access ...
1
vote
1answer
25 views

Mount VMWare Disk Images Under Linux

Is it still possible to mount VMWare disk images under Linux? I found the following two articles, both of them recommend to use kpartx -av diskimage-flat.vmdk. However both the articles are old and, ...
0
votes
0answers
7 views

How to share var/www from VMWare Fusion to Mac OSX Host

Using VMware I've created a Virtual Machine running Debian. I have this set up as a web server. It all works fine. But, I need to share the var/www directory from within the VM with my host so I can ...
0
votes
0answers
17 views

In mc within tmux ctrl-o doesn't work

When I run mc within tmux: $ tmux $ mc 'Ctrl-o' in mc desn't work properly: mc panes disappear, but the shell command prompt doesn't appear, and pressing any key causes mc panes appear again. When ...
0
votes
1answer
3k views

MySQL ERROR 2002 (HY000) on CentOS 5

I have problem with starting up mysql. When I type service mysql start All I got is ERROR 2002 (HY000): Can't connect to local MySQL server through socket /var/lib/mysql/mysql.sock' (2)** ...
0
votes
0answers
64 views

Get Buildroot output image to embedded device

I have an x86 PcEngines WRAP 1.E router. It has a CF card slot (thats its hard drive) and I can communicate with it through RS232. I want to get Linux in. I chose Buildroot to do that. Everything was ...
1
vote
0answers
32 views

Install ubuntu (or debian) on NTFS using posixovl

I'm trying to install Xubuntu on my USB pen drive. I would like to use the pen drive as generic storage device as well, so I would like to keep it as a single NTFS partition for maximal compatibility ...
0
votes
1answer
4k views

Unable to ping guest from host and vise versa in Oracle Virtual Box

This is my Oracle Virtual Box Version 4.2.18 r88780 Details of my host machine Operating System : Scientific Linux 6.4 I am using static ip root@localhost ~]# ifconfig eth0 eth0 Link ...
0
votes
0answers
9 views

How to move bootloader from hard drive to usb stick

I've decided to move my Debian bootloader and /boot from hard drive to usb. I'm using LUKS to crypt my hard drive and the bootloader is the only not crypted partition. How can I easily do this? I ...
0
votes
0answers
9 views

How to keep a youtube playlist going with the screen locked on Ubuntu 12.04?

If I lock the screen (not suspend), YouTube pauses automatically at the moment and I'd rather it didn't.
10
votes
3answers
7k views
+50

How can I get wvdial to run from /etc/network/interfaces

I am using wvdial to connect to a mobile network (I have a usb modem) and it works fine. However, I wanted to automate the connection a bit (currently I am running wvdial every time I want to ...
8
votes
5answers
25k views

How to use rsync from Windows PC to remote Linux server?

How do I use the rsync command from a local Windows 7 machine to a remote Linux server? What software is needed on the Windows 7 machine to use rsync? The remote Linux server is using Amazon's Linux ...
0
votes
0answers
18 views

pom file java version spec for Maven [migrated]

I am a new user to Maven, as I am trying to use it to build apache spark on amazon EC2 VMs. I have mannually installed java version 1.7.0 on the VMs. However as I was running the Maven, the following ...
1
vote
2answers
3k views

RedHat Network - Unable to register

I'm trying to register my RedHat machine to my RedHat Network account but when I try, I get this error: Problem registering system: Error Class Code: 70 Error Class Info: All available ...
0
votes
2answers
18 views

SSH Connection is established on port 22, but service is not working

I am having this recurrent issue on one of my MySQL Cluster Servers, actually always happens in any random MySQL server of this cluster, on many countries where we have this same configuration. I ...
1
vote
3answers
26 views

iptables catches on DENY but not on ACCEPT place prior to it in the chain

I have a weird problem with my iptables firewall: If I set two consecutive identical rules, the first is ACCEPT and the second is DENY, the incoming packet is denied (and logged as such). How is it ...
0
votes
1answer
16 views

Launching “emacs -nw” with 256color on a new xfce4-terminal

I have a litle question about launching emacs using this command xfce4-terminal -e "emacs -nw" I'm using TERM=xterm-256color in my .bashrc but it has effect only when i first launch a new ...