4
votes
2answers
1k views

lvm: what's the purpose of a Volume Group?

Each Volume Group can have many resizeable Logical Volumes. each of Logical Volume can have different filesystem, encryption options etc. that means having a single Volume Groups is enough. so why LVM ...
2
votes
1answer
844 views

Is it possible to simulate/force/fake an USB device unplug and replug on Linux?

So I've got a strange problem that I've been running onto. I've got a bitcoin usb miner, Bitfury, and I'm using CGMiner to mine. When I start the application, as root, the USB device is not detected ...
5
votes
1answer
949 views

Running multiple xserver displays “offscreen” or “headless”

I would like to run two or more displays, while I only have one GPU and one monitor. The second display does not have to display anything on the monitor, a dummy output would be ideal. I use startx ...
4
votes
3answers
989 views

What's the right way to set “dynamic” PATH in bash? (for android sdk)

I have android sdk installed, and I want the binaries in build-tools/android-VERSION to be available in PATH, so I add few lines: ...
0
votes
0answers
307 views

Grab from a webcam

On Linux it is easy to use an audio or video grabbing device as input to FFmpeg: ffmpeg -f oss -i /dev/dsp -f video4linux2 -i /dev/video0 out.flv Today someone in kirupa forums said they ...
1
vote
2answers
807 views

CentOS partitioning

I have a CentOS server with two 1 TB disks. However, it is badly partitioned. Please check below: [root@p16282558 ~]# fdisk -l Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 ...
1
vote
1answer
74 views

Compilation error on fedora 14

I installed fedora version 14 using virtual box but when I try to compile a program then displayed command not found. After that I tried to install g++ compiler using commands but, the way I followed ...
2
votes
2answers
3k views

Can't access NTFS drives after Elementary OS install

I have just setup Elementary OS. I have two hard drives on my desktop and I can’t access either one of them via file manager. To be precise I have two partitions with data that I need to access; ...
3
votes
1answer
445 views

How can move a LUKS container from the middle of a partition to the beginning?

For the tl;dr, skip to the bottom. I have a dual-boot setup with Mac OS X at the beginning of my drive and three GNU/Linux partitions at the end of the drive. I don't have the relevant machine on ...
2
votes
2answers
3k views

Is it safe to remove the .oh-my-zsh directory?

One point in time, I tried oh my zsh but it causes a lot of issues so I'm back at bash. I'm trying to clean up some files and notice there is a oh my zsh folder. The github instructions tell me to run ...
1
vote
2answers
534 views

Minimalist mouse cursor theme

I'd like to install a X mouse cursor theme like: I have Lubuntu with lxappearance, but failed to find an appropriate package for this.
1
vote
5answers
456 views

override hardcoded paths in executables

I'd like to override some hardcoded paths stored in pre-compiled executables like "/usr/share/nmap/" and redirect them to another dir. My ideal solution should not require root priviledges, so ...
6
votes
1answer
692 views

Is there a Bash file that will be always sourced in interactive mode no matter if it is login or non-login?

As far as I know the interactive shells may be login or not login and the start up files for them are different. If interactive + login shell → /etc/profile then the first readable of ...
2
votes
1answer
144 views

Transfer 2 drive raid0 / lvm2 system to new drive pair

I have a multi-boot, multi-drive system that I want to transfer onto 2 bigger drives. Currently pc has 2x1TB drives with Fedora 19 running, using RAID0 drive mirroring, with LVM2 on top of the md. I ...
4
votes
2answers
90 views

find numbers in parentheses and round them

Say I have a file called tables.tex (lots of tables formatted for tex, including a preamble) with lines like this: some words (xyz, abc) & 0.00071 (0.07846) & 0.00411 (-0.13542) \\ some more ...
1
vote
0answers
26 views

How to Partition the FvwmButtons

I've read some .fvwm2rc but I still want to know how we partition the FvwmButtons in Fvwm. How can we assign a specific slice to Swallow specific application?
0
votes
0answers
1k views

How to fix startx on Arch Linux on Raspberry pi?

I have a problem when trying to use the command startx. It comes back with /usr/bin/x error while loading shared libraries: libgcrypt.so.20: cannot open shared and then says that it is giving ...
2
votes
1answer
1k views

remove duplicate files in 2 directories

I have two folders (w/ subfolders) containing files that both contain essentially the same content. Example: /folder/files/data/new /folder/files/data/old Is there way to delete all files in /new ...
2
votes
1answer
720 views

Nvidia crash linux mint 16

I'm trying to install nvidia drivers but when I install it and reboot I'm getting popup with information about crash system. And I have excluded Cinnamon. I'm doing it by those commands: sudo ...
2
votes
2answers
1k views

KSH while loop causing issues

Hi guys I'm getting this error message when running my KSH script: ./file.sh: line 16: syntax error at line 22: `done' unexpected My code is as follows: #!/bin/ksh # count=$# #count is ...
4
votes
2answers
101 views

convention regarding offline temporary data

When writing small utility programs, I sometimes want to keep small amounts of data around between executions, usually for caching purposes, but don't want the program to run as a daemon. Are there ...
1
vote
2answers
147 views

iptables ignores other rules after add last rule

I have written these rules in iptables: -A FORWARD -i eth1 -o eth0 -p icmp -m limit --limit 1/hour --limit-burst 5000 -j ACCEPT -A FORWARD -i eth1 -o eth0 -p udp -m limit --limit 1/hour --limit-burst ...
1
vote
0answers
168 views

Linux dependencies between packages

I have following error: You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: linux-kernel-generic : Depends: linux-image-3.11.0-12-generic but ...
1
vote
2answers
3k views

Set lightdm user picture

How can I set user pictures on Debian with lightdm? Xfce does not seem to have a GUI facility for user management at all. I have tried installing gnome-system tools that contains user management ...
3
votes
1answer
166 views

Structure of graphical modules in Linux Lubuntu

I am trying to understand the layers of the Linux GUI system. I am running a netbook with Lubuntu, and I was told it's running LXDE as desktop environment. However, there are processes with 'gnome'. ...
3
votes
1answer
409 views

Change script to use whiptail instead of zenity

I'm having difficulty converting some zenity based script to use whiptail instead. The working script looks something like this: #!/bin/bash xfreerdp /v:farm.company.com \ /d:company.com \ ...
2
votes
0answers
482 views

Postfix/devcot MailServer - not receiving emails

I'm new to linux and unix in general, I've worked with a shared hosting provider over the years where everything was setup for me, including email. I'm now trying to create my own mail server in my ...
3
votes
1answer
392 views

xmodmap problems and inconsistencies with more than 4 alternative symbols per key

I was trying to make my keyboard more useful and used xmodmap to map mathematical and greek symbols to mod3 modifier level. Where caps lock is mapped to mod3. As I understand, the 8-entry lines in ...
0
votes
2answers
261 views

which unix or linux command is used to change root password of remote machine(Just an IP address) without using SSH Login [closed]

which unix or linux command is used to change root password of remote machine(Just an IP address)? Suppose I just have an IP address of the target machine which is on my network, But I do not know ...
0
votes
1answer
253 views

Having an independent console to kill rogue process?

Sometimes a flash plugin starts using all the mem and CPU or an app is also behaving "naughtily" and my system starts to crawl until i finally get a terminal with htop up and kill the rogue process, ...
6
votes
1answer
10k views

Debian cannot resolve hostnames

I have a problem resolving host names on Debian running on vmware. It just stopped working out of the blue. Somewhere after uninstalling percona server and deleting /etc/mysql . Initially it thought ...
2
votes
1answer
561 views

How to automate configuration of the Linux kernel build

I'm compiling a flavor of the Linux kernel based on the default configuration (for an ODROID system), with some additional features enabled. I want to automate this process so that I don't have to ...
0
votes
1answer
763 views

How to play 720p video in Fedora 20 if necessary plugin not found?

I tried to play an 720p video in the default video player in Fedora 20, but it couldn't play it. It shows that a plugin is needed to play this file format and searches it online, and says that there ...
0
votes
1answer
43 views

Attaching a screen to a name

Okay for me to load a screen I have to do screen -r server Is there a way I can set it up so that can just be shown by the command: screen -x name
1
vote
1answer
382 views

How to see content of dropped packages at OUTPUT chain in iptables

iptables is as below: # iptables -t filter -nvL Chain INPUT (policy DROP 0 packets, 0 bytes) pkts bytes target prot opt in out source destination 0 0 ...
0
votes
2answers
849 views

Can't use SSH anymore after installing denyhosts

so I'm in a very tricky situation. I've installed denyhosts on my debian machine and suddenly I can't use SSH anymore. Hopefully I could still login through webmin, but with root, so I had to login ...
1
vote
1answer
24 views

Suggest me an iscsi server which supports adding a target at runtime

Default iscsitarget requires to restart the whole server after editing the /etc/iet/ietd.conf. This is a problem as if, any iSCSI target is being read/wrote the server restart will make every ...
0
votes
2answers
67 views

Installing a .tgz…how? [closed]

Admitted: My search in this regard was not so successful there were different approaches. I want to install it in a Debiandistro. I am a beginner!! Thanks for your suggestions.
2
votes
1answer
705 views

Unattended linux installation (Debian/Ubuntu)

I want to make an Debian or Ubuntu unattended ISO, for my FOG server - to boot up system installation via LAN. I've searched over the internet but I didn't found nothing, which will be adequate for ...
3
votes
1answer
2k views

Accessing VirtualBox guest via VPN

I've searched and tried a few suggestions but I haven't been able to get this to work, yet... My host is running Ubuntu. I installed VirtualBox, created a host-only adapter, set the host IP to ...
1
vote
1answer
856 views

iptables adding rules in OUTPUT chain

We can insert iptables rules based on IP/Network/Hostname: iptables -t filter -A OUTPUT -p tcp -d www.google.com -j ACCEPT -m comment --comment "www.google.com" It is not accepting: iptables ...
1
vote
1answer
119 views

How to dock an application installed from terminal to the Launcher panel in Ubuntu

Installed Linux and wanted to set up sublime text. Extracted it in the /opt/ folder and can launch it with "./". I "Lock it to Launcher" but after that I'm not able to launch the program locked. ...
1
vote
2answers
202 views

Boot to a terminal by default but still have GUI loading in Debian?

I've installed Debian on an old netbook of mine which I intend to turn into a thin client for a personal thingie while also having it ready to play a video or some music when needed. After swimming ...
3
votes
1answer
137 views

How to prevent xbindkeys from consuming keyboard messages?

I thought I can get xbindkeys run this command: espeak -v en "a" whenever the key a is pressed. But xbindkeys expropriates (consumes) the keyboard message a. I thought this may fix: espeak -v en ...
2
votes
1answer
565 views

Why store program code in /var/cache?

I have inherited a Java / Tomcat stack, running on Ubuntu. It has crashed and I am trying to restart it. The program code seems to be using a config file which I have found on the file system. The ...
1
vote
1answer
382 views

FTP download problems with iptables — Port 21 connection is allowed but “Network is unreachable”

I'm trying to connect to an FTP site but with, e.g., wget: Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD (1) /gcrypt/gnutls ...
2
votes
1answer
515 views

tty not resizing properly

I'm running an embedded poky linux (linux-yocto v3.13) on a beagleboard. However, I'm having trouble when logging in over a serial using PuTTY: the terminal does not resize at all. Usually, the ...
4
votes
1answer
855 views

What is the difference between console-data, console-setup, console-common and console-tools?

The debian packages console-data, console-setup, console-common and console-tools (maybe even more) all seem to do the same thing. What are the differences and which ones should I use?
4
votes
2answers
425 views

Why are newly created users assigned to primary groups of their usernames?

I've noticed that on a number of linux distributions that whenever a new user is created, it is assigned to a primary group of its own name. eg. If i create a user called "testuser", by default it is ...
8
votes
4answers
5k views

Why do I need initramfs ?

I found that if I choose jffs or sd as file system(and not initramfs),the kernel size is very small (1.4 MB as compared to with initramfs-3.4MB). It shows that initramfs takes concidreably large ...

15 30 50 per page