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

0
votes
1answer
2k views

transmission-daemon web 403 forbidden

Using transmission-daemon on a Raspberry Pi with Respbian, I always get 403 Forbiden when I try to visit RPi_IP:9091/transmission/ from another computer via local network. My settings.json: "rpc-...
1
vote
1answer
3k views

How to load ~/.Xresources when starting X?

I've edited my ~/.Xresources and issued xrdb -merge ~/.Xresources and it worked perfectly. However when I restart X, the settings are changed to default. I've also added xrdb -merge ~/.Xresources in ~/...
0
votes
1answer
43 views

Is it possible to compile together OS and web server/server apps into a single executable?

I was discussing with a friend the idea of a "single application compiled server", in which the server is compiled together only with the its dependencies into a single executable. Nothing else is on ...
-2
votes
1answer
202 views

Why can linux users see each others files?

I would have thought that basic security principles would mean that users can't see files in the home directory of other users. Many many years ago I worked on Novell servers and I seem to recall ...
0
votes
1answer
53 views

How to store setings

I have made my .bashrc give me two types of prompts; longp: xanth@X-VboxTux:~➤➤➤ and shortp: ➤ I have done this by writing a 0 or a 1 to a file and then to determine what prompt should be shown ...
0
votes
0answers
106 views

Dual Boot SteamOS from VHD [duplicate]

I have a Windows 8.1 machine. I made a SteamOS Virtual Machine on HyperV, using the Ye Old SteamOS ISO I know it's possible to dual boot from VHD, however Windows bootloader does not support non ...
3
votes
0answers
292 views

How to obtain a version of ImageMagick compiled for OpenCL (Linux)

For reasons I do not understand, ImageMagick requires a special compilation to make use of OpenCL drivers on the host machine. Does anyone know of a place where I can obtain a Linux version compiled ...
0
votes
1answer
906 views

ImageMagick for Windows not listing OpenCL as enabled

I'm trying to experiment with GPU-accelerated resize operations using ImageMagick. On my Windows machine, using convert -list configure lists only FEATURES OpenMP and not the OpenCL I expected since ...
2
votes
3answers
11k views

How to login as root from Bash and do stuff

This is my simple bash: cat test.sh #!/bin/bash echo "hello" su - root -c /path/to/script.sh <<EOF password EOF whoami echo "good bye" But I get this error: ./...
1
vote
2answers
3k views

Limit users only to their home folder and sub folder

Today i did give acces to SSH to my friend,and i want hem only to shay in folders that he is owning.So that is his home folder. So,how can i make sure that he will only have acces to that folder? I ...
2
votes
1answer
223 views

Why do print jobs to a /dev/null printer hang on the gziptoany filter?

I have a /dev/null printer set up for testing: lpadmin -p Testing -E -v file:///dev/null but whenever I print to it lp -n 1 -d Testing -t "This is a test" some_text_file.txt The job just sites ...
2
votes
1answer
2k views

How to setup touchegg with gnome on debian

I am trying to setup touchegg on debian testing with gnome. I was able to compile and run it (without gui, daemon only). But unfortunately gestures doesn't work, though gnome two finger scroll works. ...
2
votes
1answer
412 views

How to type ñ on my debian system?

Dead keys used to work as they should until months ago but since whatever update of my debian/gnome/whatever I fail to both type ñ and to find a solution. I live in Viña, Chile, so it's not so ...
0
votes
0answers
244 views

Steam not work in Debian 7 - Illegal instruction

I don't know what can I do to make this work, help is needed. I installed steam from Debian repos - by synaptic, all I have is "not found": Illegal instruction /usr/games/steam: 16: /usr/games/steam:...
0
votes
2answers
192 views

How to enlarge “/”?

I'm using Red Hat 6.3 MP with two disks: VMware virtual disc (sda) with: /boot (sda1) swap (sda2) lvm2-disc (sda3) /dev/dm-0 mounted on / On /dev/dm-0, there is no free space available. /dm-...
0
votes
1answer
84 views

unable to set group permissions for a folder

I need to give writing permissions within a folder for all the user in the www-data group. So far, I tried to ad myUser to the group: sudo usermod -a -G www-data myUser Then, I changed the owner ...
0
votes
0answers
118 views

Lost executable +x permissions after home folder encryption

I have encrypted my home folder, where I have many compiled installations of Qt, and now every executable file in all those installations have lost their +x flag in permissions, and I can't execute ...
1
vote
1answer
454 views

Two Linux PCs sharing One Tethered Connection

I've got two ubuntu PCs and one Android tablet. Android tablet tethers via usb with PC1. I'd like to connect the PC2 with PC1 so PC2 also becomes able to access the internet. Moreover it should also ...
0
votes
1answer
1k views

Can't install .ipk files on router

I am following this tutorial: WRT54GL v1.1 wired IEEE 802.1x client TTLS PAP:(surfnet / eduroam / securew2 wpa_supplicant, EAPOL TX RX) to setup my Linksys 160NL router with authentication. I have ...
8
votes
1answer
3k views

OpenSSH ~/.ssh/config host-specific overrides not working

I've tried setting up my ~/.ssh/config file with the help of this guide. However, the host-specific User override has no effect and ssh tries to connect using the global username instead of the host-...
0
votes
1answer
33 views

What is is the bitmask for these SysRq commands?

I for the life of me still can't wrap my mind around bitmasks. I am sure they are very simple, I just haven't found something that makes how they work click in my brain yet. What would be the bitmask ...
1
vote
4answers
11k views

Can't see external hard drive formatted by linux, inside windows

I formatted a usb external hard drive in linux with ext4 format. In windows 7, I deleted all these partitions using disk management. Windows doesn't display the drive when I connect it. How do I ...
1
vote
0answers
549 views

How can I use a virtual sound card without the hardware?

I'm trying to generate and stream audio+video via aconv to a remote location such as Youtube from a headless linux server, which will then be multicasted out to the internet at large. I have ...
2
votes
1answer
707 views

difference between root executing command as sudo vs not using sudo?

I have a Linux question regarding the sudo command and the root user. If I log into the root user using the su command, what is the difference between the following two commands? root> sudo ./...
2
votes
2answers
2k views

Bind & Debian - Host not found

I need to use a Debian system for a project. I configured many DNS servers on Ubuntu server without problem, but now I have a big one... Impossible to find a solution on others discussion so I ask ...
1
vote
1answer
263 views

create a very small filesystem 4k or smaller

I'm trying to create a very small Linux filesystem. Something 4k or smaller. It's for an experiment with backup software that does block level backups. I've got a Linux logical volume that's 4K in ...
0
votes
1answer
308 views

bash: Running a program from the console without holding it up or line noise

I would like to run programs (for example, opening PDFs in Evince) from my bash shell. However, when I do this the simplest way (evince filename.pdf), the shell doesn't let me input anything until I ...
1
vote
0answers
114 views

scanner shows up in xsane under a false device address

i have a problem communicating with my Brother DCP-8040 which can be used for scannig and printing as well. I cannot really tell what the problem really is but here is the output of commands that i ...
0
votes
0answers
106 views

Route outgoing network traffic via script

I need to monitor network activity on the server. I would like all traffic to pass through a script, like a proxy. My proxy script will inspect the request and then serve the response. How can I do ...
1
vote
1answer
437 views

Arch Linux installation error

I'm trying to install Arch Linux, and have successfully connected to the internet via wifi. I'm also able to ping servers, but when trying to install the base system from pacstrap /mnt base, I'm ...
1
vote
1answer
252 views

Compiling Shrew on Linux

I'm trying to build Shrew VPN, version 2.2.1 on Debian 7.1; however, I've run into a problem that I can't get by. README.TXT says I need to use cmake to build the Shrew client... The following ...
1
vote
1answer
100 views

Forwarding all traffic to other server with iptables

Assume I have a sever with X.X.X.X IP address and a web server with Y.Y.Y.Y IP address. How would I forward web traffic from X.X.X.X to Y.Y.Y.Y using iptables? My servers run Linux and use iptables
1
vote
1answer
2k views

Why is gdisk's default starting sector different than the first available?

When creating a new partition on an empty drive with gdisk, it tells me the default first sector is 2048. Why not 34? First sector (34-1953458142, default = 2048) or {+-}size{KMGTP}:
1
vote
1answer
64 views

How to get the path of the newest file among the set of files which contains the same ID?

I want to write a script which will take the ID as an input from the user. Based on that input it will search the directories to match a file which contains the given id. Now, the directory has more ...
0
votes
1answer
67 views

can I `dtach` or `renice` graphical programs like `evince`?

I sometimes open PDF's and then want them "sort of" open "to read later", but I'm not looking at them at the moment. While I'm not looking at them I'd like the OS to spend less effort keeping them up. ...
1
vote
1answer
2k views

Connecting an Android device through ADB in Arch Linux 64-bit

I'm trying to connect Nexus 5 through ADB in my Arch Linux but it's refusing to connect. I've istalled the SDK but I think I need to set udev rules and install some 32-bit packages. I've successfully ...
0
votes
0answers
57 views

Make linux spin up all disks at once

I have a server running an 8-disk software RAID. On boot, all disks are spun up simultaneously, which takes about 5 seconds. To save energy, I make them spin down after 15 minutes of inactivity. When ...
0
votes
1answer
555 views

Archlinux - Autostart `screen` after boot

I'm building some small internet radio player using Archlinux. All I need right now is to autostart (without login!) script or just command: su -c 'screen "vlc (a lot of parameters)"' vlc_user By ...
0
votes
1answer
901 views

Use Windows Key in tmux

I'm using a PC a lot where X is not running. I want to use the left windows key instead of control-b as the escape character for tmux How can I achieve this? Without xev, etc. I don't really know ...
2
votes
0answers
1k views

USB disk not auto-mounting in Ubuntu 12.04

It used to, but suddenly now it doesn't. The device shows up in the following: dmesg | tail -1 [394191.758315] usb 2-1.3: new high-speed USB device number 9 using ehci_hcd ...which I know is the ...
0
votes
1answer
107 views

Best way to access ext partion in windows?

What is the most stable and easiest way to get readable access of linux partitions in windows? All software and drivers I´ve found seem to have been dead/inactive for at least 4 years. Native ...
1
vote
0answers
361 views

USB flash memory is not mounted after is connected?

I have a Trancsend Jetflash TS2GJF210 USB drive. When I connect it to my old laptop (Dell Latitude D630) it is not mounted. dmesg shows following messages: [108884.154796] usb 2-2: new high-speed USB ...
0
votes
1answer
13 views

Configuring who to output seconds

I need to see who is logged in when. That's pretty simple using who, the problem is that the time output looks something like: Feb 14 15:15 I need the seconds as well. How can I make this ...
0
votes
1answer
291 views

Determine which session manager restored Konsole a script is running under

If you log out of a KDE session with any Konsole terminals still open, they'll be there when you log back in (unless you've configured KDE otherwise). How can any scripts running under these ...
0
votes
1answer
76 views

need write permission to network server on Linux and Macintosh

I can read from a remote server using sudo mount //Bor*ges/imgdisk4 /home/ilan/remoteDisks/biMnt -o user=,pass=* There is something similar for the Mac, which also can't write, but I want to ...
0
votes
1answer
160 views

Linux: Use TabletPC as Drawing Tablet for PC

Since my tablet pc isn't really strong (or the screen really big...) I'm working with CAD on my tower, currently only with keyboard and mouse. Now I would like to use my tablet pc as a graphics tablet ...
1
vote
0answers
76 views

Can I set Ubuntu or Fedora to use a UAC-style prompt when something fails due to privileges?

Can I set Ubuntu or Fedora to use a UAC-style prompt when something fails due to privileges? As in, in Nautilus, when I open a .run installer and it requires root, can I have it automatically burst an ...
0
votes
2answers
648 views

How to copy all end files in a directory to another directory in unix?

How can I copy all of the files that are found in subfolders within one directory, to another directory? I am having trouble with this because some of the end files are in more folders than others. ...
0
votes
2answers
353 views

Formatting a file for sendmail

How can I format a file so I can just do cat file | sendmail? By putting Subject: This is the subject, I don't need to specify the subject in sendmail, but adding the To: myemail@hostname.com field ...
0
votes
1answer
129 views

rsync over ssh but block changes to authorized_keys file on remote computer

OK I finally got rsync over ssh setup with authorized keys. Since I don't want my users browsing the filesystem, I have modified the authorized_keys file to run an rsync script. That way they can't do ...