Questions specifically about Linux, as opposed to Unix-like systems in general, or to questions about a specific distribution or program.

learn more… | top users | synonyms

2
votes
0answers
149 views

program needs to be run as root by any user and can be located anywhere

I have some program called foo that needs root privileges when it executes. foo needs to be able to be run by any user and can be located at any path. The reason this program can be at any path is ...
2
votes
0answers
4k views

Touchpad not recognized on linux (ASUS R751LB)

I have just bought a brand new laptop. Unfortunately, touchpad doesn't work on any linux distribution (tried mint Ubuntu 12.04, Ubuntu 14.04, Mint 14, Mint 16, also Mint 16 with recent 3.13.5 kernel). ...
2
votes
0answers
300 views

Vagrant-lxc container not starting

Firstly I'd like to say that I'm new to LXC and I may have some problems getting the right idea of how the things should work. The thing is I'm trying to start a previously download vagrant-lxc box ...
2
votes
0answers
232 views

How can i determine the block size of an vxfs filesystem?

I am looking for a way to see what the current blocksize of an filesystem is. Normaly i would use tune2fs -l | grep "Block size", but that doesn't work on vxfs. I googled a bit and found fstyp -v ...
2
votes
0answers
381 views

/proc/self/maps - 3rd mapped piece of file?

I'm running Arch linux on my laptop, which is kernel 3.12.9 right now. Something has changed about the way the kernel maps in a dynamically-linked executable and I can't figure it out. Here's the ...
2
votes
0answers
106 views

audit activity on abstract domain sockets?

Using the audit system (auditd, auditctl) on Linux, is it possible to log connections to Unix domain sockets on the abstract namespace (or more exactly to filter them based on the (abstract) path)? ...
2
votes
0answers
74 views

rsyslog.conf only partly honored

I followed this description on how to enable audit for Samba (entry of Aug 10, 2009) and wanted to get all additionally enabled logging in a special log file (/var/log/samba/log.audit). The mentioned ...
2
votes
0answers
1k views

Graph is too large for cairo-renderer bitmaps Error

Im trying to use pyreverse to generate images of UML diagrams for a project source code. When I run the pyreverse command and specify to generate .png images, it runs and then after a while, it shows: ...
2
votes
0answers
278 views

How to reset linux centOS 6.0 keyboard shortcuts with custom changes to default one?

On Single Desktop Environment.... I created some custom shortcuts, but currently I want to revert all the changes to default settings (which having no custom changes). Example: created like CTRL + N ...
2
votes
0answers
1k views

Can't Install ImageMagick on Centos using Yum

I am trying to install ImageMagick on my dedicated-virtual Centos server for use with PHP. I first ran the following commands successfully: # yum install gcc php-devel php-pear # yum install ...
2
votes
0answers
1k views

CUPS denies access to printer

I've got a printer hooked up to my workstation (running PCLINUXOS2012) by USB. All was well until the last time I tried to apply updates to the packages - it went rather pear shaped - lots of upgrade ...
2
votes
0answers
64 views

Automating startup tasks

I have a "morning ritual" that occurs on every boot of my machine: starting up a few browser tabs, starting up skype, starting up terminator and subdividing some screens, etc. Is there any tool that ...
2
votes
0answers
67 views

Detach keyboard from the kernel

I am writing a remote controller app for an octocopter and want to use a keyboard as an input device for this app but I don't want it to have any effect outside this app. Somehow I would like to make ...
2
votes
0answers
55 views

Driver not showing in /sys/bus tree

I'm trying to bind the "rt3572sta" to a USB device that previously had the "rt2800usb" driver bound to it. I ran this: $ sudo sh -c "echo [device-bus-id] > /sys/bus/usb/drivers/rt2800usb/unbind" ...
2
votes
0answers
105 views

NFS mount edits on local NFS-exported filesystem change permissions on the remote NFS mount

I believe there is a noperm or something to that effect option in NFS, but how do I make sure that if server A is exporting /opt/nfs and it is mounted as an NFS mount on server b /export/serverA that ...
2
votes
0answers
283 views

udev rule for bluetooth device(logitec)

I want to write udev rule for a Logitec Bluetooth. My keyboard and mouse connect to PC as one Bluetooth device. When I monitor udev, I see there are separate events for keyboard and mouse. I want to ...
2
votes
0answers
291 views

Why does `xvfb-run glxgears` fail with an swrast error?

xvfb is supposed to let me run X programs in a headless environment. But when I run xvfb-run glxgears, I get: libGL error: failed to load driver: swrast libGL error: Try again with ...
2
votes
0answers
118 views

Limit CPU cycles inside of Xen

I'd like to run some minimum-expectation benchmarks on EC2, but I'm having an issue of high variability in my output data. Specifically, they keep giving me more CPU than I'm minimally entitled to, ...
2
votes
0answers
204 views

lsusb partially fails, is the problem with the USB bus or with the command?

What does Couldn't get configuration descriptor 0, some information will be missing mean? Did the Host fail to get the descriptor from the device, or the command lsusb failed to fetch that ...
2
votes
0answers
899 views

“Kernel panic - not syncing” after building Centos-6/elrepo 3.10.19 kernel from source

I need to rebuild the Centos-6 / elrepo 3.10.19 kernel from source. Background: the GVision touch screen drivers are incompatible with kernels > 3.8 and require source code patches to add code to ...
2
votes
0answers
289 views

iptables REDIRECT in combination with matching on interface vs. IP address

I've successfully set up Tor for transparent proxying using iptables (ie, all outgoing traffic is sent through Tor without the application's knowledge). In doing so, I discovered both an odd problem ...
2
votes
0answers
43 views

Find out if system startup was initiated by rtc alarm

How can I know if a system startup was initiated by an rtc alarm event in linux? I am writing some scripts that handle sleeping/shutdown of my htpc. I want the machine to sleep after recording has ...
2
votes
0answers
98 views

Segmentation fault with dialog

I'm getting a segmentation fault with the following script when it's more that one child dir past the pwd. The program kills with the error message and I have to reset the shell. For example: I start ...
2
votes
0answers
47 views

at and daylight saving time

Suppose I have added a task via at -t specifying the next day in my timezone. The next day my timezone changes as of daylight saving time. The question is whether the task will be executed correctly ...
2
votes
0answers
87 views

luks single signon

I've got LUKS (Linux Unified Key Setup) running on a couple of my Linux boxes. I've looked online but haven't seen anyone document how to make it work in a single signon option, but was hoping ...
2
votes
0answers
211 views

Network block after restart

I'm running wheezy and I don't want to install network-manager. I have a problem with network interfaces. When I restart the interfaces I cannot use any connection anymore. I cannot reach internet ...
2
votes
0answers
186 views

Issues accessing CIFS share directories

Disclaimer 1: Crossposted from Serverfault because there was no activity over there. Disclaimer 2: This question is similar to Automounting not working correctly for CIFS shares; weird results but ...
2
votes
0answers
290 views

SNAT problem in iptables

I am trying to reroute traffic from specific devices in my house over openvpn. For this, I've created an OpenVPN tunnel between my house wifi router and my server. Here is my setup: Wifi router's ...
2
votes
0answers
378 views

How to setup QoS on router (prioritize VOIP and web browsing over downloading)?

I've got Asus WL500GP-v2 router with renewed Oleg's firmware installed (http://code.google.com/p/wl500g/ , the stable version). I would like to setup some Quality of Service to ensure all users are ...
2
votes
0answers
928 views

Adding multiple gateways for separate physical interfaces with various metrics/priorities

My system has 3 interfaces. These are eth0, eth1 and usb0. eth0 is linked to my router and is the line I want to be used by default. eth1 is un used. usb0 is a 3G phone that's tethered. My issue is ...
2
votes
0answers
177 views

Possible to limit number of cups printers?

The way I have configured CUPS on my workstation is by echo 'CUPS_SERVER=cups.example.com' >> ~/.profile echo 'export CUPS_SERVER' >> ~/.profile When I open the print menu in any ...
2
votes
0answers
865 views

openwrt firewall - block a set of ip addresses from internet access

I'm running OpenWRT Attitude Adjustment r33556 / LuCI Trunk (trunk+svn9325) on my WNDR3800. I would like to configure my firewall to: Only allow a specific range of IP addresses to access internet, ...
2
votes
0answers
149 views

mozilla sync server and mysql auth

Recently I updated my debian squeeze to wheezy. Unfortunately my firefox sync server (weave) stopped working. I saved the config files and downloaded the new version via hg. I already fixed some ...
2
votes
0answers
61 views

LXC: Have rootfs mounted without nosuid

I have the container's rootfs in a volume mounted with the nosuid option. When I start the container, its / mounted is then also mounted nosuid, which breaks programs such as sudo. How can I avoid ...
2
votes
0answers
364 views

After installing VirtualBox to Fedora 17 the system won't boot (NVidia drivers)

My luck I had couple of older kernels, which work. The new kernel, probably somehow patched by VirtualBox fails to load. What fails is X-server, when it tries to start, here's the log: [ 14.284] ...
2
votes
0answers
102 views

Which counter generates timer interrupts?

I did a iotop to observe the interrupts on my computer. This is the interrupt shown most often. 0 [PIC-edge time] 247 Ints/s (max: 389) I believe it's the timer interrupt, well since ...
2
votes
0answers
149 views

Where does Mutt put deleted messages if no purge is performed?

If I delete one or more email messages in Mutt and then say no when it asks (when changing folders or quitting the program) if I want to purge the deleted messages, what does Mutt do with them? After ...
2
votes
0answers
113 views

Problems with USB goflex 2 TB

I am using CentOS 5.5 and have been using cpio to write backups to a 2 TB GoFlex USB drive. This drive worked great for over a year, but am now running into a problem and not sure what to do. When ...
2
votes
0answers
1k views

find ount what [flush-8:0] is writing

Using iotop, I found out that [flush-8:0] is doing a lot of hard disk activity, which explains the annoying slowdowns. However, I can't figure out what's the actual cause behind this flushing. No ...
2
votes
0answers
2k views

Permission denied when Ubuntu is attempting to mount to a remote Windows share folder

Fellow guys, I encountered the error when I's mounting my Ubuntu server to a remote Windows share folder, the following is the error on terminal after I typed command line 'mount -a': mount ...
2
votes
0answers
430 views

How do I run Gnome from a systemd-nspawn container in a second X server?

I'm using systemd-nspawn to "boot" a second Linux OS from a USB hard disk. I'd like to launch that OS's Gnome Desktop in a second X server running on the same machine on a different tty than the ...
2
votes
0answers
38 views

A Linux Distro/Project for Digital Literacy

I am in Africa, and I wish to know if there's any project that introduces Linux/Unix to new users? A project like this one of Microsoft's on Digital literacy.
2
votes
0answers
87 views

xorg.conf.d not loaded when starting X while docked

Recently installed archlinux on a Lenovo T530 Thinkpad and using it with a Mini dock Series 3. Docking and undocking works just like it should, using acpid to execute scripts turning screens on and ...
2
votes
0answers
396 views

Bonding configuration on a blade server with Oracle 6.3

I'm trying to configure a mode 6 bonding on a blade server. Blade Enclosure: HP c7000 Blade Server: ProLiant BL460c G1 Redundancy part of the bond is working, I can pull out any one of the cables ...
2
votes
0answers
245 views

Windows shared network printer keeps using rear tray as source

I am trying to set up network printing on my Linux Mint 15 (64 bit) system (dualboot with Windows 7). The printer is a Canon PIXMA MG5100 and is connected (via USB) to a computer running Windows XP. ...
2
votes
0answers
120 views

Understanding getlogin spoofing

My question is in three (or so) related parts: 1) My understanding is that getlogin() will effectively return the auid associated with the process and so isn't actually changable by the user. Is that ...
2
votes
0answers
302 views

Including pending update list in motd

How would you include the list and / or count of pending updates in the welcome banner? Eg. username: User password: ***** Hi 'User', welcome on 'localhost' There are 8 pending updates, you need to ...
2
votes
0answers
2k views

sed couldn't flush stdout no space left on device?

What could be the reason for this error : sed couldn't flush stdout no space left on device This is come of the stuff that i am doing at last in my code sed -n '/.*needs to be executed ...
2
votes
0answers
98 views

How to set up remote graphical sessions on CentOs?

Trying to set up a Centos 6 server configuration where we can automate the running of an application that uses Selenium. In this case, ideally, we should be able to: Create a graphical session ...
2
votes
0answers
63 views

How to specify which interface an application uses?

Imagine this example: you have direct access to the internet on eth0, and you have a VPN on tun0. You want one application to access the internet directly through eth0 (using X public IP address) and ...