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
2answers
43 views

Most reliable IP resolution in unknown LANs

I have to configure some machines that will be attached to some network of unknown properties. Maybe some Ethernet, some wireless. What configuration will provide the best propability it will work ...
1
vote
2answers
631 views

Trouble with SSH

I am having trouble using ssh. I seem to be able to ssh out of the machine, but I can not locally ssh to the machine, nor can i ssh from a remote machine. I have checked the /etc/ssh/ssh_config and ...
1
vote
2answers
1k views

How to add space from windows partition to ubuntu partition?

I want to add partition size by stripping it from windows partition and adding it to ubuntu partition. I am using Windows 8 and Ubuntu 12.10 So I have 100GB on windows and available is 30GB and my ...
1
vote
2answers
109 views

Use sudo inconjunction with regular user's ssh key

I want to execute a command which requires root privileges so I use sudo. sudo puppet apply /etc/puppet/manifests/site.pp This command involves cloning a private github repo with ssh. The only way ...
1
vote
2answers
775 views

how to have rsync only work on file and not directory

I would like to mirror only specific files (for example *.jpg), but rsync creates empty directories on the destination host that don't have any *.jpg files in them. My syntax is: rsync -arv ...
1
vote
2answers
268 views

How to restart a remote x11 program using ssh

Ok I have 2 linux machines, machine A and machine B. Machine A is a server running icecast audio server. Machine B is a desktop in the studio running BUTT(Broadcast Using This Tool) an x11 app that ...
1
vote
2answers
1k views

Is it possible to install Linux programs on a separate partition which is not the OS-partition?

I know you can do this on Windows (which is helpful since I have a small OS partition) but is it possible to do this on Linux?
1
vote
2answers
1k views

Installing FreeDOS from Linux

I need to install [minimal] FreeDOS in a machine already running Linux, without a CD drive. I already have another FAT32 target partition. I've already runned "sys-freedos-linux" but it just ...
1
vote
2answers
120 views

Changing the program name displaying on Konsole, using an alias

I have an alias for irssi:alias irssi="screen irssi. When I am running irssi in Konsole, the tab name shows up as "screen". Is there a way to make it display as "irssi"? My tab format on Konsole is: ...
1
vote
2answers
2k views

How to Copy Large Directory to External Hard Drive Linux

I've formatted a 3TB external hard drive as ext4 using fdisk (actually gnu fdisk), mounted it at /media/external and am trying to copy my entire home directory to it. My first attempt I thought was ...
1
vote
2answers
1k views

Ubuntu shutdown log

My pc with ubuntu server 12.10 installed on it shutdowns itself. How can i find the reason? I think that it is not depend on hardware. any help will be appreciated
1
vote
2answers
45 views

how to use crontab with &

I used the crontab to execute a script, while the script had to do some jobs in the background in this format: for i in {1..100} do do_job & done However, the do_job won't be executed by ...
1
vote
2answers
187 views

Hard linking directory structure somewhere else

I have one directory where files appear in. I want to run a script regulary that finds all files in that directory that have only one link to them, and hard link them in another directory. However, I ...
1
vote
2answers
526 views

Resizing mysterious partition written by DDing an ISO file

I downloaded clonezilla and then wrote it to a USB flash drive with this: dd if=clonezilla.iso of=/dev/sdb I've confirmed that the system boots and clonezilla runs from the flash drive. I want to ...
1
vote
2answers
244 views

LVM without stripe

I want to use LVM to have a partition that spans over multiple drives. I know that there is a down side in that if one drive fails all the data in the array is lost. Is it possible to have LVM not ...
1
vote
2answers
398 views

Divide bootloader from dualboot with Windows 7 and Windows XP

My problem is the following: I have a dual boot running on my pc. I installed a programme called "Keriver", it automatically installs GRUB, too. When I start my PC, the first thing you see is GRUB. ...
1
vote
2answers
364 views

Migrating away from LVM

I have an Ubuntu home media server setup with 4.5TB split across a few hard-drives (1x3TB, 2x1TB) and I'm using LVM2 to manage the volumes. I have recently added a 60GB SSD to my server, and I wish to ...
1
vote
2answers
145 views

Rsync to take the newest file. And a cron job?

I have a log file on two different servers. The servers are under a load balancer so half the traffic goes to one server, and half the traffic goes to the other server. I need to take the newest log ...
1
vote
2answers
2k views

Play local audio on remote computer (Linux)

Is it possible to transfer audio from my local computer to a remote one, eg through SSH? I know this transfers mic to other computer dd if=/dev/dsp | ssh -c arcfour -C username@host dd of=/dev/dsp ...
1
vote
2answers
366 views

OpenSSH does not accept public key?

I've been trying to solve this for a while, but I'm admittedly quite stumped. I just started up a new server and was setting up OpenSSH to use key-based SSH logins, but I've run into quite a dilemma. ...
1
vote
2answers
2k views

Arch Linux booting with read only filesystems

I installed Arch today and when I logged in I noticed that my filesystem is read only. How can I fix this?
1
vote
2answers
2k views

Is it possible to mount a disk image, created with dd, to a directory on a mounted external usb hdd?

I have an image of my home (/dev/sda3) partition, which I've created using the "dd" command. dd if=/dev/sda3 of=/path/to/disk.img I've deleted the home partition via gparted in order to enlarge my ...
1
vote
2answers
253 views

Ping isn't acting accurate?

I've been trying to diagnose some latency issues with my internet connection. I've been lagging out of online video games and such, which of course could be their server's fault. So, I've been ...
1
vote
2answers
2k views

How to install .apk on Alpine Linux like .deb in Debian using dpkg

My question is in the title. Problem: Comparison with other distros doesn't speak about installing a local .deb in Debian or whatever is Gentoo's equivalent or Alpine Linux's .apk. Plus the command ...
1
vote
2answers
468 views

Running nginx as the current user

On my linux PC, I'd like to run nginx as whatever user I'm logged into when I start it, and I'd like it to look for config files in the home directory of that user. Is there a way to install nginx to ...
1
vote
2answers
9k views

Debian wheezy Xorg configuration fails, Debian don't boot

I have installed Debian Wheezy today. when i boot Debian wheezy when splash logo about to open, the screen blanks and system hangs, but Debian stable was booted without errors, but I changed init ...
1
vote
2answers
881 views

How do I recursively list the contents of all files in a repository (extension-agnostic) into a single text file?

I know that using "ls -R ." in bash you can recursively list the filenames. Can I use some similar command to list the contents of each file just the way their names are displayed using the ls ...
1
vote
2answers
919 views

Can Synergy be cross-compiled on an ARM platform?

I am trying to compile a Synergy client so I can use it in a WindRiver Linux environment. I've tried compiling and I keep getting this error: CMake Error at CMakeLists.txt:195 (message): Missing ...
1
vote
2answers
429 views

Input focus stays with vmware guest when host gets locked

I am using a combination of xautolock and slimlock to automatiacally lock my machine if it does not receive input. ~/.xinitrc: xautolock -locker /usr/bin/lockify.sh -time 5 & ...
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 ...
1
vote
2answers
808 views

How to make your ubuntu filesystem read-only

I wonder whether there is a way to make my ubuntu read-only when I mount it on another linux system. Let me clear what I want. I have a usb stick on where my ubuntu is installed. However, the problem ...
1
vote
2answers
625 views

LXC error in Ubuntu Precise 12.04, can't find apparmor, this worked fine in 11.10

I'm getting this error using 12.04. When I run sudo lxc-execute -n foo -f lxc.example.conf ls, I get /usr/lib/lxc/lxc-init: error while loading shared libraries: libapparmor.so.1: cannot open shared ...
1
vote
2answers
532 views

`free -m` shows a program on linux use 322M ram, but `top` show it use 58M, why?

I have a 512M vps box on burst.net, and which has no swap. My os is centos 6.x x64. When it started, it only used 58M ram. $ free -m: total used free shared buffers ...
1
vote
2answers
348 views

Modify PATH variable for X11 during log-in

I am working on some lab computers (read: no administrative rights) that, if I log in, I need to change the PATH variable as X11 starts. The reason is that I need to change the PATH variable at this ...
1
vote
2answers
144 views

How to resize a partittion on Linux for install Windows Seven?

When I installed Redhat Enterprise Linux 5.4 on my laptop, there is only one partition(about 490G) and a swap partition, now I want to create another partition to install windows 7. What should I ...
1
vote
2answers
536 views

installing vlc-tar.bz2 and gcc.tar

I need to install vlc player in fedora which is a tar.bz2 file. How can i install it ? Someone told me that gcc is needed to install this software. How do install gcc-4.6.2.tar ? Please list the ...
1
vote
2answers
369 views

Boot from flash drive then start VirtualBox

I want to put a very small OS on a flash drive with minimum necessary requirements for running VirtualBox 64 bit machines. Can I make it with Tiny Linux or something similar?
1
vote
2answers
1k views

Can't ping Linux IPv6 address from Windows XP

I gave an IPv6 address to my SUSE Linux machine on a VirtualBox VM with ifconfig eth0 inet6 add ... I can't ping that address from Windows XP (vice versa) The address of the Linux machine is efbb::26 ...
1
vote
2answers
315 views

Konsole font truncation - only with consolas

When I use Consolas (of any size) as my terminal font, any pixels which hang below the line (such as the tail of a y) get truncated. Look at the second line in the screenshot below. Notice that the ...
1
vote
2answers
2k views

How to clone Git repo on my local server

I'm trying to use Git for the first time (I have used Mercurial before so I know the basic setup). Everything is ready on the server side with the following properties: User name: git Domain: ...
1
vote
2answers
686 views

linux permission for windows mounted partition

I have installed windows 7 and linux opensuse in my laptop. In linux the windows is mounted under /windows/A OR B OR C OR D When ever i write or do a touch in any of this location it says permission ...
1
vote
2answers
696 views

Share a printer between Windows and Linux

I have a Canon LBP2900 printer. I have connected the printer with my desktop PC running windows xp and shared it. I have Ubuntu in my laptop and connected to the local network. Is there any easy way ...
1
vote
2answers
476 views

Skype answer button appearing off screen on multi monitor Linux setup

Im using Linux Mint LMDE and have Skype installed, running KDE desktop. I have 4 monitors connected of varying sizes. The issue that I'm having is that when Skype rings, there is no button to click ...
1
vote
2answers
39 views

Visual annotator for large images

I have a few hundred images of 30000 x 10000 pixels in size. Each image has lots of text (rendered as pixels) on it. I'd like to translate all text to another language. I speak both languages, and ...
1
vote
2answers
604 views

RSYNC - Ignore a Directory on destination box

I am performing a dry run using Rsync on 2 different boxes. While i'm doing that, Under destination directory, I want a specific directory x to be ignored for sync. Please let me know the exact ...
1
vote
2answers
587 views

Is there a open source monitoring package that monitors logs for specific string patterns?

In our current system, we are not effectively monitoring the logs for errors as most of the errors are not serious enough. I want to basically warn users on the important errors. I cannot touch the ...
1
vote
2answers
1k views

How to execute a command on X-session owned by another user?

Is possible (by root of course) to run a command from console, that will be executed on X-session owned by another user on the same linux box/machine ? Example: Can root open xclock for another local ...
1
vote
2answers
838 views

Why is my home directory encrypted and inaccessible?

Yesterday I installed Ubuntu Server because I want to learn Linux and I want to learn about servers. I did a newbie tutorial and then shut down. When I booted up today, the files in my home directory ...
1
vote
2answers
1k views

problem faced during sending attach file using mail -a

i am using a Red Hat Enterprise Linux AS release 4 (Nahant Update 8) and i am facing problems while i try to send an attached file via email using "mail -a" option. the below is displayed: mail -a ...
1
vote
2answers
252 views

How to Repair Ubuntu boot

I have hard disk contain Windows 7 and Ubuntu 11 so I cloned it to new one but when I replaced it no OS working just dell mark appearing then restart by itself. In the past started up by Ubuntu menu ...