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

2
votes
1answer
955 views

Lock screen after auto login Debian/Ubuntu

My situation: Need auto login for my Wheezy. Sometimes I'm away from my PC when it rebootsso I need to lock the screen after auto login. When I type /usr/bin/gnome-screensaver-command -l it locks ...
9
votes
2answers
10k views

Problems installing ping in docker

I am trying to follow the docker tutorial but in a virtual machine. I've tried to install ping in ubuntu docker container with the command sudo docker run ubuntu apt-get install ping The problem ...
0
votes
1answer
543 views

Debian wheezy offline UPGRADE

I using Debian(Wheezy) with 3.2.0-4 amd64 kernel version,I was installed both of "usb-modeswitch" and "usb-modeswitch-data" packages but Debian don't detect my 3g-modem-usb dongle. Now i think i ...
0
votes
1answer
100 views

Gentoo Linux: emerge installs several versions of portages

I'm a beginner in Gentoo Linux. Just have been installed Calculate. I want to install Ruby. But when I call emerge -av dev-lang/ruby it installs 1.8.7 AND 1.9.3 AND 2.0.0. Why?? Ok. When I specify a ...
0
votes
1answer
359 views

Is there any command line docx to image converter available?

Is there any docx to image (jpg, png, bmp, ...) available with command line support? It's better to have one in windows, but if there is any in linux, that's great too.
0
votes
2answers
80 views

Replace words on given line numbers

I have a file 1.txt INTEGER-d_int () INTEGER-d_int () INTEGER-d_int ( ) INTEGER-d_intClass() INTEGER-d_intClass new() and I want to replace the occurrence of d_int with d_INT on the ...
0
votes
1answer
2k views

Linux: command to find out number of cores the process is running on at any instance [duplicate]

What is the command to find out number of cores the process is running on at any instance ? -Thanks
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
902 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
222 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
411 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
191 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
117 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
438 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
547 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
706 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
307 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
434 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
251 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
63 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
900 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
106 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 ...