0
votes
0answers
977 views

Lock screen after blanking with gnome-screensaver and XFCE

I'm using XFCE4 with Fedora 18 and replaced xscreensaver with gnome-screensaver. I have gnome-screensaver checked in session and startup and xscreensaver unchecked. By using power manager, I have ...
1
vote
1answer
604 views

Install vmware-tools using yum in vmware fusion

I added vmware-tools repo [1] to my virtual CentOS box. What is the exact set of packages I have to install? The rationale is to be able to update vmware-tools using yum. Environment: Host OS: Mac ...
12
votes
4answers
6k views

Recommended way of installing python packages on Arch

What's the recommended way of installing python packages on Arch? Searching for them on the AUR and installing them from there (or create a PKGBUILD file to make a package yourself) or using pip? I ...
4
votes
1answer
113 views

How-to diff distributions?

I am using a Raspberry Pi. There seem to be all kinds of linux distributions, all in .img Format that I use Win32DiskImager for to burn to SD-card. How do I find out, which files were changed(some ...
2
votes
1answer
923 views

GDM not showing when I boot my FreeBSD system

I've installed FreeBSD 9.1 in a VirtualBox VM, and did some basic setup. After that, I had installed Gnome2 via sudo pkg_add -r gnome2. Along the way, there were some errors. Mostly it was (I think) ...
2
votes
2answers
948 views

Search class names in jars

I'm using this command to search *.jar files for java classes, and I only get the name of the jars that contain those classes: grep -ral --include=*.jar SignonEJB . How can I also get the class ...
16
votes
2answers
14k views

Who sets $USER and $USERNAME environment variables?

Also, will these variables always match currently logged-in username (they do on my Debian system)? Can I assume their availability in other Unix(-like) systems? I'm also curious why one would use ...
1
vote
1answer
243 views

Cannot connect to ssh from crontab

I can create ssh connection from the command line with this command(without password): ssh -R 9900:localhost:22 user@host I need to run this command whenever the system reboots, so I put it in a ...
1
vote
1answer
46 views

Matching hexadecimals with gawk

I have a binary file with the following content (printed in hexadecimal): $ xxd -p virus.com 5669727573b440bb0100b90500ba0000cd21 I can match the first 5 letters (which are the alphanumeric string ...
1
vote
1answer
438 views

Start the GUI automatically in OpenBSD

I can't find the GUI to start up automatically in OpenBSD hppa 5.3. What commands must I use to get this working? I want to use Gnome like in OpenSuse which I am more comfortable with.
0
votes
1answer
346 views

is there a libboost-all instead of libboost-all-dev?

I need libboost dependency for a package I'm running, but the only package I can find is libboost-all-dev, and I'm not sure what the "dev" means and if I need it. Is there a ...
1
vote
1answer
1k views

How can I create an encrypted, file-system–agnostic, mountable volume?

At work, we have an iMac (running OS X) that shares a partitioned hard drive over the network. I'd like to back up to my partition from my Linux machine. I've attempted connecting via cifs, then ...
1
vote
1answer
570 views

Udev rules involving X11 don't run on startup

I have some udev rules written to run when I connect certain usb devices. For example, I change pointer velocity for certain mice, and change xmodmaps for particular keyboards. The scripts work well ...
1
vote
2answers
440 views

What does longterm mean on kernel.org?

It's fairly easy to understand EOL, mainline and stable kernel, but I'm not sure about longterm here, What does it mean, or how does it differ from stable kernel?
3
votes
2answers
2k views

Option “user” work for mount, not for umount

I am experimenting mounting options for a program I am writing. I am running Linux Mageia 2. I added the following line to /etc/fstab /dev/sr0 /mem auto user,noauto, 0 0 and I removed all other ...
1
vote
1answer
1k views

TP-Link TL-WR1043ND as dumb access point

I followed these instructions on how to set up my TP-Link TL-WR1043ND as a dumb AP: Flashed brand new Attitude Adjustment 12.09-rc1 Logged into LuCI, set up a password Disabled and stopped firewall ...
5
votes
2answers
261 views

awk + paste for cleaning up PATH?

I have seen this code in .cshrc init files on a few machines. I went through a few awk tutorials in trying to understand how it works, but I am still unable to decrypt it. setenv PATH `echo $PATH | ...
0
votes
1answer
120 views

Linux snapshotting issues [duplicate]

Is there any way to deal with incoming writes while a backup is in progress in linux. Example, you are writing to your sql database and lvm snapshotting at the same time. This will result in corrupted ...
2
votes
1answer
263 views

Any other way to define an environment variable?

I'm quite new to Linux. Debian Wheezy is now running on my Laptop (64 bits). I recently installed Oracle 11g R2 database for evaluation purpose, and defined environment variables (such as ORACLE_SID) ...
4
votes
2answers
16k views

Change Password of a user in /etc/shadow

I would like to change the password of a user in the /etc/shadow. I can't use password changing programs like passwd. It must be done by editing the /etc/shadow. The /etc/shadow is on a mounted hard ...
3
votes
2answers
474 views

Create custom wordlist

I want to create a custom list of (scientific) words for purposes like spell checking and OCR based on my collection of scientific papers in pdf format. Using pdftotext I can easily create a text file ...
1
vote
1answer
2k views

Xfce: Upgrade from Squeeze to Wheezy broke xfce's user policies

While using Debian squeeze, I was able to allow a user shutdown in xfce by adding users to the powerdev group (see here: xfce: Allow shutdown for non-root users). Now, I upgraded my system to Debian ...
3
votes
1answer
806 views

Writing triggers for mcelog

Just starting to look into mcelog for the first time (I've enabled it and seen syslog output before, but this is the first time I'm trying to do something non-default). I'm looking for information on ...
3
votes
0answers
240 views

How do I make the CLI run on dedicated graphics?

I just finished my Gentoo minimal install and the first thing I wonder is why I get no picture. I did have signal on the live CD, so that was pretty odd. I plugged the monitor into the Intel HD ...
3
votes
2answers
363 views

First key pressed repeates forever

I just installed CentOS 6.4 on an old machine I acquired for a development box, but I am running into keyboard issues I can't get around. I start the machine and go to type a user name in and ...
2
votes
0answers
80 views

Why some gnome-terminal tabs look depressed

On my Ubuntu 12.04 Linux 3.2.0-43-generic system with AMD Athlon 64 X2 5000+ cpu, with Unity desktop, ubuntu-2d desktop-session, and Metacity window manager, some of the tabs on a GNOME Terminal ...
1
vote
0answers
726 views

linux mint cinnamon - AR9485 Wireless Network Adapter keeps disconnecting

Lately I got a DELL inspiron 15-3521, I installed the latest Linux mint cinnamon. I have been having some problems with my Ethernet card, when i start my pc everything works perfectly for about 10 to ...
7
votes
2answers
18k views

IPTables - Port to another ip & port (from the inside)

I currently have a NAS box running under port 80. To access the NAS from the outside, I mapped the port 8080 to port 80 on the NAS as follow: iptables -t nat -A PREROUTING -p tcp --dport 8080 -j DNAT ...
1
vote
1answer
1k views

Install postgresql 9.2 on debian wheezy (on virtualbox)

I have virtualbox with Debian Wheezy. I'm trying to install Postgresql 9.2 on it. When I trying do it by this instruction i have next: Reading package lists... Done Building dependency tree Reading ...
12
votes
2answers
2k views

hook a script to apt-get

I have /tmp on a separate partition, and mounted with noexec. I am using Debian. The installation of some packages fails, because the post-installation scripts of some packages need to run from /tmp. ...
2
votes
1answer
504 views

Can iptables be used to convert a single-homed host into a NAT server?

Given: I have a machine (HostA) with only one NIC which has Internet connectivity. I have another machine (HostB) with one NIC on the same switch. HostB is not configured for Internet access yet. ...
4
votes
2answers
2k views

How to install GNU/Linux on a Windows PC without the BIOS password?

I want to install a GNU/Linux based operating system on a computer with Windows preinstalled, but unfortunately, the BIOS is set to only boot from the harddisk, and there is no way to boot from ...
2
votes
2answers
619 views

Firewall distro to share bandwidth evenly between connected users

I'll first describe my situation. I have a network made by a central x86 server/firewall, 5 access points and 2 unmanaged routers in between. 20 Mbits download and 1 Mbit upload ADSL. Upload is ...
1
vote
1answer
622 views

How do I set affinity of a particular thread on FreeBSD?

As the title says, I'm trying to figure out how to set the affinity of a particular thread (but not the entire process) on a FreeBSD system. On Linux, I'm able to do this with ps -L uH [pid], ...
2
votes
1answer
276 views

How to make Ctrl+PgUp and Ctrl+PgDn change window tabs

I am running GNOME 3.4 (Debian 7.0) and my laptop (Gigabyte Q2532), unlike all those I've used before, doesn't change application tabs with CtrlPg Up and CtrlPg Dn. This forces me to use Alt0...9, ...
2
votes
1answer
190 views

SED Showing CRLF While Vim Not Showing

Why sed l\;q shows a CRLF while opening the file in Vim with :set list doesn't show any CRLF
3
votes
1answer
63 views

Why aren't CD image files listed when mounted in current directory?

When mounting a disk image in the current directory using : sudo mount -o loop -t iso9660 wall.iso ./ Listing files in current directory only returns wall.iso . To view the actual files on the disk ...
5
votes
1answer
5k views

iptables: recent module

I am using the "recent" module to prevent port scanning, such as: -A INPUT -i eth0 -m recent --name PORTSCAN --update --seconds 60 -j DROP -A INPUT -i eth0 -p tcp -m tcp --dport 22 -j ACCEPT -A INPUT ...
0
votes
1answer
50 views

Keyboard shortcut to switch files in one Emacs instance?

I've multiple files opened in an Emacs client. Right now, to toggle between files, I've to click on the file name at the bar below in the editor. Any keyboard shortcuts for switching between files?
2
votes
0answers
425 views

Accessing multiple wifi networks simultaneously from debian wheezy

I have got 2 wireless adapters on my machine (one built-in and the other a purchased USB wireless adapter) is there a way I can utilize different WiFi networks simultaneously? I have in mind ...
0
votes
2answers
3k views

`ps | grep | kill` aborts my script prematurely [duplicate]

I have a Linux computer that I remotely SSH into using plink on a Windows XP machine. I have the Plink program set to execute commands in a script using automated login: plink -ssh [domain name] -l ...
6
votes
5answers
13k views

How to build a live Debian CD/USB in Windows, bootable in EFI mode?

I tried to install the latest stable Debian release (Debian 7.0 "Wheezy") using the Debian Multi-arch netinstall (AMD64) "debian-7.0.0-amd64-i386-netinst.iso" on my laptop. My laptop has a SecureCore ...
1
vote
1answer
2k views

Nouveau doesn't work after upgrade to Debian Wheezy

I upgraded from Debian squeeze to wheezy. My box contains an old graphics card not supported by current Nvidia drivers for distros newer than lenny (NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]), so in my ...
2
votes
1answer
360 views

Http proxy to select external interface based on host header

I have a very specific use-case at work where I have several external IP addresses (a full class C), and I need to select the outbound IP address I'm using. The requests are http, and the application ...
1
vote
3answers
2k views

Setting file permissions in bash script

This script is not working the way I thought it would .I though it would find all the scripts that have every one rwx permissions changed to the permissions of xx5 #!/bin/bash # the / makes find ...
2
votes
3answers
438 views

Unix command to rename multiple files

I have some dirs with different plugin-cfg.xml files that I want to take a backup of and keep in the same dir. E.g. Plug6_a1/plugin-cfg.xml Plug6_a2/plugin-cfg.xml Plug6_a3/plugin-cfg.xml How can ...
1
vote
1answer
79 views

What are the relative merits of the various standard Unix archival utilities? [closed]

There are many archival tools for Unix, with varying degrees of availability. To make matters more confusing, many of them can write each other's formats. I am seeking more information on their ...
1
vote
4answers
2k views

awk a specific column with unexpected line break

I can't seem to find a solution for this and it's driving me crazy. I know I can use awk to print a column(s). I'm having trouble printing a specific column though because of the way my file system is ...
6
votes
2answers
10k views

rsync certain files, excluding the rest, ignoring .svn/ directory, recursively

I'm using rsync to copy some files from a share to another. Recursively, I need to: Delete files at destination that were removed from the origin Only sync php and js files Exclude every other file ...
7
votes
4answers
913 views

How to make `cd dir/filename` take me to dir/?

I would find it very convenient to be able to use cd with a file argument. cd myDirectory/anyname.anyExtension would be equivalent to cd myDirectory/ What would be the best alias or function to ...

15 30 50 per page