A family of Unix-like 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
262 views

Vnc and ssh tunnelling not working

I am trying to access my work computer (server C) via vnc. I have root on this machine. I can't access it directly so I have to go via server B. I have done the following steps. First on my local ...
3
votes
1answer
608 views

94% Memory usage on Host OS using VirtualBox

I'm running a 32 bit Windows 7 Guest on a 64 bit install of VirtualBox 4.2.10 r84104. The Host OS is Ubuntu 12.10 64 bit. The host os has 8GB of memory and the guest is told to utilize 2GB max. ...
0
votes
1answer
466 views

Copy all files from one place to another whilst keeping group permissions

I'm trying to copy files from one place to another, I am using this: cp -R /from/ /to/ However, whilst this is keeping the standard permissions, it is setting the group permissions to 0 0 (Owner/...
0
votes
3answers
124 views

What types of users can I use with “sudo”?

I thought you could only use sudo to temporarily become root: sudo vim /etc/resolv.conf But recently I saw a shell snippet depicting a user using sudo to become a specific user: sudo -H -u devops -...
0
votes
1answer
581 views

Detect HTTP sessions using tcpdump [closed]

I have a tracefile and I want to find all web servers that were successfully visited in the trace, contacted via HTTP. I'm using: tcpdump -r file.trace - tcp port 80 Maybe I have to search for a ...
0
votes
2answers
7k views

How to install 2X Client on 64-bit ubuntu?

Installed it with .deb from 2X website. Now got: > /opt/2X/Client/bin/2XClient: error while loading shared libraries: libXpm.so.4: cannot open shared object file: No such file or directory I ...
0
votes
1answer
249 views

VMware: Best way to assign static IP and DNS entries for guest machines?

I'm looking for a scriptable solution for assigning a static IP address and DNS entries for VMware guest machines. There is a pool of IP addresses we allocate for internal use, so I need to be able to ...
0
votes
1answer
349 views

Trying to access MySQL Database on Linux Guest from Host

I am trying to access MySQL Database on Linux Guest from Host and I am getting the following error: ERROR 2003 (HY000): Can't connect to MySQL server on 'REGAN' (111) I already setup port forward ...
10
votes
1answer
4k views

Customise Okular to modify highlight tool properties

I am using Okular as my pdf reader on Linux. I want to know how I can modify the color of the highlight permanently. I know I can modify the saturation of the color used by highlight tool by right ...
1
vote
0answers
142 views

android emulator hardware acceleration on i5-2500K

I just wanted to know if anyone have managed to start the android emulator with the "Use Host GPU" option checked on the i5-2500K buildin gpu using linux. Each time i start it with "Use Host GPU" i ...
2
votes
1answer
433 views

copied chroot jail directory cant be chrooted

I am developing a package so when users login through ssh they are forwarded to a chroot jail. The jail directory is created via makejail program on building process. But when the jail package copy ...
1
vote
1answer
77 views

Booting an encrypted system from a flash drive without user interaction

I have an unused desktop that I'm planning on turning to a household server running (hopefully) Arch Linux. I know that I can fully encrypt the system and have to enter a password upon each boot but I ...
3
votes
4answers
2k views

Running sshfs as user via autofs

My situation: There are several servers on my LAN which I do not administer I access them using SSH for sshfs, shells, and remote X11 apps I have set ControlMaster auto in my ~/.ssh/config file so I ...
1
vote
0answers
1k views

mpeg_decode_postinit() failure [closed]

I'm trying to take some thumbnails via ffmpeg command. My file name is "aaa.ts" and I want to take some thumbnails every second. Frankly, it works, but I have 4 red lines in terminal. So can you tell ...
2
votes
0answers
236 views

How do I change the output monitor for a text console in Linux / Ubuntu 12.10?

I'm working with an nVidia card and multiple monitors, and the monitor that is used by default for text mode is in portrait mode, forcing me to crane my head to the side to use it when I switch to a ...
2
votes
0answers
202 views

Linux bootloader on USB-stick, load different kernel depending on hardware

I'm experimenting with a setup where I keep my kernel and initrd on a USB stick, and thus I can keep everything on the actual computers fully encrypted. Nothing is stored in clear text, and nothing ...
1
vote
1answer
740 views

Linux, Debian, Wheezy, Aptitude/DPKG consistency check

In a foolhardy and stupid attempt to solve space issues on my desktop machine, I on purpose deleted Spotify from /opt before realizing that I could remove it using the package manager. After deleting ...
0
votes
1answer
6k views

Installing wireless Broadcom drivers on Arch Linux

So how do I accomplish this last step to this journey? I already installed Xfce even, thanks to Ethernet I was able to. However I still need to figure out the wireless drivers. I've already tried ...
0
votes
1answer
278 views

Dropbox on Linux Mint permissions issue

I have been developing a python package in dropbox. DB seems to be causing a very strange permissions issue. I own and have RW permissions to the directory and all of it's contents. Yet, when I try to ...
1
vote
2answers
46 views

Find the differences between versions of a log file

Is there a utility that will show you a difference in a directory of log files at one point of time and at the current moment? Current a method in debugging applications is to remove all of the logs ...
0
votes
1answer
186 views

Xerox D95 support on linux?

I failed to find any official or unofficial driver for this printer. Usually for my brother and canon printers i can get away by using a close model (e.g. using the driver for DCP-8060 to print on a ...
1
vote
0answers
987 views

How to only add lines using patch?

I'd like to be able to use diff & patch in order to write new lines to a file. To clarify what I mean a bit: Original file: test1.repo exclude=mongo* exclude=sqlite* exclude=...
0
votes
2answers
1k views

Get list of distinct file endings in a directory (UNIX shell)

I have a directory with many image files in different formats. I'd like to see a list of all distinct file endings in that directory, so that I can see what kind of image formats are present. So ...
2
votes
2answers
4k views

How can I clean HOME folder in linux?

There is a way to clean in a controlled way the $HOME folders than usually save cache files? E.g: I have a .config folder with more than 300MB. How can I clean it?. Is there a program that can be ...
0
votes
1answer
275 views

Wifi working while iwconfig shows no wireless - iwconfig

I am using ubuntu 12.04 on a virtual box with osx as a host. I tryied to run iwconfig, but I can't see any wireless extensions. But my wifi is working using my ubuntu machine! How can I manage this ?
0
votes
1answer
518 views

Traffic shaping linux upload issue

Im currently working on a traffic shaping in linux. We have a client connected to a server running nat and dhcp. What we want to do is limit both the upload and download speed of the client/clients. ...
-1
votes
1answer
837 views

How can I “flatten” a PDF scatterplot with many points generated with R?

I have a scatterplot which I generated with R, it shows many thousands of overlapping points. I need to graphically annotate the generated PDF further, in PDF format, with Inkscape. However, it is ...
0
votes
1answer
6k views

All fans spinning at maximum speed with Linux

I installed Fedora 18 on my desktop computer and I've got an issue. All the fans are all the time spinning at maximum speed. Like, you know, when my computer boots they are too, which is normal ...
0
votes
3answers
1k views

Remote desktop server as daemon

I'm using KRFB as remote desktop server in my Linux Mint KDE. It works fine as usual remote desktop server but I've to log-in then run it manually (or at start up) How can I run KRFB of any remoter ...
1
vote
1answer
1k views

How to correct sudo permission?

I'm running AWS EC2 Micro instance and had issues getting permission to the root access with EC2-user. Followed a tutorial online and ran the following commands: sudo chgrp ec2-user /etc sudo chmod ...
0
votes
2answers
714 views

run command with root privileges as nonroot user

I want to set up steam to run automatically with a higher than default priority, which involves starting it with nice. But to set a priority lower than 0, I must be root. Problem is that steam doesn't ...
0
votes
1answer
34 views

No sound and no network connection in Ubuntu

I changed the permission of /usr today. So stupid. Then I went into recovery mode and changed the permission back. But after that, there are no sound and no network connection on my system. What ...
0
votes
1answer
88 views

Colorize ls-output by filetype [duplicate]

Every once in a while I have to list some files (~20-50) in Bash on Linux || Mac. These files are from four different file types. ls nand2tetris/myChips/ And16.**hdl** And16.**cmp** And16.**tst**...
1
vote
1answer
603 views

Cron job not abiding by the nice command

I got a script that backs up minecraft worlds, when ran by command (nice -19 ./backup.sh) it doesn't lag what so ever, server load stays low. When I try to do nice -19 ./backup.sh in a cronjob, it ...
1
vote
1answer
105 views

Found this logentry on my server in the cron.logs, seems to be a hack-attempt, any suggestion for further proceeding?

Here is a logentry, which was executed: mkdir /root/.ssh/;echo "ssh-rsa <some unkown public-key> > /root/.ssh/authorized_keys I'm guessing that I was hacked. Any advice for cleaning up (...
0
votes
1answer
76 views

Low-level sending of mail from file via cmdline

I have a saved mail (in Maildir format) including all headers and attachments. I would like to send this file as email (with all the given headers intact) to a new email address, something like: $...
2
votes
0answers
448 views

Error compiling and installing mcrypt from source

I'm hoping someone can help shed some light on my current issue. Scenario: Installing libmcrypt, mhash and mcrypt from source in order to compile PHP5.4 with the mcrypt extension enabled. OS: RHEL-...
2
votes
1answer
1k views

Linux: How to eval the contents of STDOUT?

Consider you have a file with some sort of terminal command. How might each line be executed? Can you pipe the output of more into an eval? %> more ./foo.txt Edit: After some help/guidance ...
0
votes
2answers
73 views

Create from bash an image from a Windows / Linux partition

I want to make an image with existing Linux tools from the bash console. Can somebody tell me how to accomplish this task? Let's assume /dev/sda including its master boot records need to be backed up....
0
votes
1answer
53 views

Multiple drupal installations on apache work with their own DNS entries but not with Alias

So my localhost server has never had a problem because I've never been developing with other people on multiple websites. Now, however, accessing a secondary site via an Alias is running into a ...
1
vote
2answers
2k views

Renaming a volume under Linux

It may be a very basic question, but I have USB devices that keep their old name after reformating it with mkfs and even after a repartitioning with fdisk. I wonder if there is a way to change the ...
0
votes
0answers
48 views

Linux shell equivalent to “cmd /k” [duplicate]

I am working in a multi-platform (Windows and Linux), multi-shell environment. The Windows "shell", cmd, can be executed as cmd /k command, which makes it execute command, but then its console remains ...
0
votes
1answer
388 views

Where is my /boot/grub/menu.lst file

I m using VMware for my linux version Ubuntu 11.04 and i have searched for /boot/grub/menu.lst file but this file was not there. Why?? I was creating a new kernel in virtual linux but unable to ...
0
votes
1answer
432 views

How to config sudoers file?

I'm using ubuntu server 12.04 LTS I want to know how to configure my sudoers file (obviously, using visudo), to permit an user to run commands like root (doing something like "sudo service x restart")...
0
votes
1answer
757 views

Arch Linux Terminal is Garbled After Install (latest)

I've installed Arch Linux successfully on a Virtual Machine (VMWare) with no issues. However, when I installed Arch on an older physical box I'm getting a bit of weirdness (Old Gateway PIII, 766 Mhz ...
1
vote
2answers
6k views

Match regex pattern only in filename.extension

I need to use find to locate a file matching a regex pattern in filename.extension instead of the default, which matches /path/to/filename.extension. For instance: /folder |--a-love-song.ogg |--...
0
votes
1answer
180 views

Where do I store sshfs configuration settings?

When using sshfs several sites recommend using options like: -oauto_cache,reconnect,defer_permissions,negative_vncache,volname=RemoteHome I tried adding these in ~/.ssh/config under the hostname: ...
-1
votes
3answers
161 views

Safest way to recover data from a broken hard drive

A portable external hard drive was dropped a couple of days ago by someone I know. It is a 320 gb seagate 2.5 inch usb 2.0 hdd. If you plug it into windows it shows up in the disk manager as a "raw ...
0
votes
1answer
555 views

How to install Linux software and make it available to a particular group

I just installed my first Linux desktop (Ubuntu 12.04) and am playing around with it. I would like to download/install several pieces of software and make them only available to a new group, called ...
0
votes
1answer
955 views

Can UDEV somehow trigger zenity for a logged in user in a session?

I would like a zenity dialog popup to ask me if I would like to run a backup, when I attached a specific external drive. Unfortunately, I am having trouble with the UDEV rule syntax. I've got this ...