Linux refers to the family of Unix-like computer 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
17 views

Sudo usermod -a -G is totally ineffective

Really simple, I run the following in Ubuntu 14.04 Server, logged in as max: sudo usermod -a -G www-data max When I run groups as max after doing so, www-data is not in the output set of groups. ...
0
votes
1answer
13 views

Mouse focus stuck (Linux)

Sorry for crappy post layout, posting from my phone. Problem: mouse focus gets stuck. Not sure how to explain it, I can sometimes get it to switch to a window, but once there it's locked until that ...
1
vote
1answer
26 views

How to set DNS entry with no domain in local network?

I would like to refer local network computers with short DNS names, without full multilevel path. What is required for it? Probably I need to know terminology or something. I wish to configure both ...
0
votes
0answers
12 views

SELinux Error with chcat “Requires at least one category”

I have been trying to figure out what's wrong with my chcat syntax. I keep running into this issue: root@dangerzone:~# chcat -l -- +SystemLow,+SystemHigh john /usr/bin/chcat: Requires at least one ...
2
votes
2answers
2k views

Android emulator performance on linux

I installed the android SDK and eclipse plugin on my laptop, but I was surprised to find out that the emulator eats up 100% of one of my cpu cores. I have exactly the same setup on a desktop machine ...
0
votes
2answers
24 views

In Linux, how can I determine the power consumption of my HDD?

Is there a way to determine how much power my HDD(s) are using? I'm running typical (oldish) desktop with an 848P chipset and Debian GNU/Linux 7.6 (Wheezy).
4
votes
3answers
30k views

How do I know which /dev/ttyS* is my serial port?

I have a laptop which has only one serial port. I went into: /dev directory, and I found: ttyS0 ttyS1 ttyS2 ttyS3 How do I know which of those "ttyS" refers to my serial port?
0
votes
2answers
45 views

Can't start MySQL to reset root password

I've installed mysql-server on a Linux box and forgot (oops) the root password. Having looked around the internet, the general method is so: Stop MySQL (sudo service mysql stop) Start MySQL in ...
0
votes
1answer
72 views

kvm+vfio+vga passthrough, got “root.1” not found

I have a 64bit windows VM using KVM. I want to try VGA passthrough. I started my VM with: qemu-system-x86_64\ -monitor stdio\ -enable-kvm -m 2048 -no-fd-bootchk -localtime -M q35\ -bios ...
16
votes
3answers
29k views

How to get file/folder size with SSH on linux?

I am using SSH to connect to a CentOS server and I want to get the file in mb of some files and folders, how can I do it?
0
votes
0answers
15 views

Ubuntu 13.10 can't start Unity after upgrade

Last night I ran a apt-get update/upgrade which installed several packages. This morning however, I am unable to log in...as soon as I entered my password I see just wallpaper. I've tried: ...
0
votes
2answers
53 views

du and ls report different directory size?

In trying to verify that a copy-operation completed successfully (or at least that it didn't skip any files), I ran du -b inside the source and destination directory and it showed a difference of ...
2
votes
1answer
4k views

Wirelss card not being detected in backtrack 5

I just installed backtrack 5 and I am unable to detect my wireless card. iwconfig doesn't list my interface. I can see that the hardware is present in lspci -vnn (see below) but I can't get the ...
-1
votes
2answers
19 views

is there any refresh needed to update `du` command results?

I have a disk of size 80G I ran du to find that I have a directory which consumed about 60G so I found the file which caused all this a log file (had size of 60G) I deleted it and now df shows that ...
5
votes
4answers
2k views

What is the reason for rmdir(1) and rm(1) to co-exist?

I use BSD and Linux every day, I have never had a circumstance which I must use rmdir(1) rather than rm(1). What's the purpose of rmdir's existence?
0
votes
1answer
35 views

How to make tap interfaces persistent after reboot?

Some tasks requires having tap interfaces configured + assign ownership. So, I am doing it manually: sudo tuntap -u <username> sudo ifconfig tap0 up sudo ip a a 192.168.1.1/24 dev tap0 or ...
0
votes
0answers
17 views

Alfa Wireless Card disconnects randomly from VirtualBox Linux Guest

I have an Alfa wireless card connected to VirtualBox running a Linux guest. It works, and I can connect to networks, but then it disconnects shortly afterwards. I have to bring the wlan0 interface ...
-1
votes
0answers
30 views

Python script to create users and upload ssh keys to remote server from a local machine [closed]

This is what I am trying to do. I have a user list csv file containing: user1, SSHkeys/user1.pub user2, SSHKey/user2.pub Store them respectively into $username and $SSHKey Another server list csv ...
0
votes
0answers
18 views

Trying to build liquidsoap libportaudio not found

I'm trying to build liquidsoap on openSuse 12.2. ./configure is stuck at : configure: error: libportaudio not found However, when I tried installing from rpm: sudo rpm -Uvh ...
1
vote
2answers
3k views

Installing different keyboard layout on live debian image

I've downloaded a debian vm image for some testing: http://exploit-exercises.com/download (280mb) It's a Debian Squeeze machine. I want to use the Belgian layout (which is AZERTY) in stead of the ...
0
votes
0answers
18 views

Chrome keeps opening maximized

Chrome keeps opens up in a maximized windows while I prefer it to open in normal size. No matter how many times I resize it down it stays the same on new windows. I tried resizing the windows then ...
1
vote
2answers
46 views

Can `ls` be set to only list the first X files/directories?

I'm trying to make a command which only displays the first 30 files when the ls command is invoked. I found this method... ls | head -30 ... but it ends up spitting out the files in one long list, ...
0
votes
2answers
2k views

Sending Mail on Linux via Bash/Command line

I'm currently trying to send mails via bash script on Linux. I searched the internet and found this code: echo "This is my body" | mail -s"this is my header" thisis@my.mail I don't get any ...
2
votes
1answer
2k views

Cannot find grldr in all devices

I'm running wubi on XP machine. Started out originally with 8.04, and gradually upgraded to 10.04. Recently, I was creating linux bootable USB drive, and put it in my system to see if it would work. ...
4
votes
1answer
935 views

PAM Authentication / Login

I'm having a little issue on Ubuntu where any commands that require root privileges takes longer to execute than normal. I managed to identify the culprit to the cause after checking my ...
0
votes
1answer
23 views

Stop automatically scanning for Wi-Fi on Linux Mint

How can I disable the automatic scan for other Wi-Fi networks when I'm already connected on Linux Mint? I have an HP laptop with touchscreen buttons and the Wi-Fi button doesn't act as usual. It ...
1
vote
0answers
24 views

My laptop often resumes when its lid is *closed*

I have an Alienware M17x with Kubuntu 14.10. When I suspend to RAM and close the lid, very often it will wake up after a few seconds of sleep. Sometimes not. I get the feeling it's related to how ...
0
votes
1answer
36 views

What's the easiest & most elegant way to edit files on a remote web server? [closed]

I need to edit remote files (web application) on remote server. How do I do this most easily? Remote server is Linux web server, files are on shared hosting, where I can use FTP/SFTP, and jailed SSH ...
2
votes
3answers
1k views

Vagrant provision script: echo “source /root/.venvburrito/startup.sh” >> ~/.profile fails

I'm running my vagrant provisioning with a bootstrap.sh script. The script runs fine except for one line: echo "source /root/.venvburrito/startup.sh" >> ~/.profile This line fails. I don't ...
-1
votes
0answers
14 views

Is there a way to check if driver si working correctly in VM [closed]

Before a few weeks I had problem with one driver on Linux it was about my network card. I was unable to fix the driver and I also destroyed the Windows installtion(i was using doul boot). My question ...
0
votes
0answers
16 views

CRON @reboot vncserver?

Is there any reason per-user cronjobs running vncserver @reboot wouldn't run? When I reboot the machine and look into /var/log/syslog, I see the jobs being run, then cron saying (CRON) info (No MTA ...
0
votes
1answer
5k views

remote desktop to Fedora 20 with xrdp

I was able to setup xrdp on my Fedora 13 machine and access it from my Windows 7 machine by follow the steps on the first post on this thread It was simple and easy. But when i try the same on my ...
0
votes
1answer
20 views

How can I change rename shortcut key to Enter (Return) in Thunar file manager?

Mouse hover method works for all other keys expect Enter. Editing /home/username/.config/Thunar/accels.scm has no effect and it reloads to previous values after logging in again.
0
votes
3answers
39 views

Find files then tar with wildcard

I have a series of files called: 2014111test.log 2014111test.log.stuff 2014111test.log.flibble 2014115test.log 2014115test.log.stuff 2014115test.log.flibble I want to find all the log files over a ...
0
votes
1answer
372 views

Input/output error reading file

I have a file that is 6.6GB, it just so happens to be a video file, and I'm trying to copy it to an external drive since its quite important for me to keep, however when I try copying it whether with ...
0
votes
1answer
16 views

Sourcing ~/.bashrc in ~/.profile?

I'm quite new to developing under OSX and assigned some aliases and other preferences in the ~/.profile initially, however it got quite big and messy after a while because I had a lot of Environment ...
1
vote
1answer
18 views

Password less ssh AIX Linux

I tried to configure password less SSH from AIX to Linux. I executed the command. scp .ssh/id_rsa.pub root@10.170.163.74:/root/.ssh/authorized_keys When I execute the command and try to connect ...
3
votes
1answer
91 views

apt-file update: No Index available

Why do I get this message (“No Index available”): Downloading Index http://http.debian.net/debian/dists/wheezy/main/Contents-amd64.diff/Index: No Index available. Downloading complete file ...
0
votes
1answer
14 views

Permission denied (publickey,gssapi-with-mic,password)

When I ssh, I get the prompt [host@sma1 ~]$ ssh -Y c00 host@c00's password: Permission denied, please try again. host@c00's password: Permission denied, please try again. host@c00's password: ...
2
votes
2answers
502 views

Reversing scroll direction across Synergy connection

I am running synergys on an XFCE desktop, with the scroll direction reversed (to provide "natural" scrolling, as I prefer these days). I am running synergyc on a Mac laptop running Snow Leopard (as we ...
3
votes
2answers
3k views

Can I access my desktop over VNC at a different screen size?

I've already installed x11vnc and have it running well on my laptop upstairs. I can access my existing desktop session with no real problems, it works great. The problem I'm running into is the fact ...
0
votes
0answers
39 views

grub-mkconfig doesn't detect /boot

lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 596.2G 0 disk ├─sda1 8:1 0 25G 0 part /mnt/arch ├─sda2 8:2 0 2M 0 part ├─sda3 8:3 0 4.5G 0 part ...
0
votes
0answers
27 views

How to find which web technologies were used to develop the web interface of a server only accessable through the local LAN?

We access the server by entering the IP address in the address bar of our browsers, e.g. http://172.16.50.4/ Server OS: CentOS Server Apache 2.2.15 FTP: vsftpd 2.2.3 I use Wappalyzer in my browser ...
0
votes
2answers
60 views

How to install libav-tools in centos 6

I used tutorial to compile it from source but it never worked for me. I am facing error on following points Download x264 codec and compile it: git clone git://git.videolan.org/x264.git x264 cd ...
5
votes
4answers
8k views

Creating WiFi Access point on a single interface in Linux

I am trying to create a WiFi hotspot or an access point on my Linux laptop. I am using Opensuse Kde 12.3. I found out a software called hostapd which lets you create hotspot but it requires two ...
-1
votes
0answers
47 views

Samsung Galaxy S4 Verizon stuck in boot loop [closed]

I have a Verizon Samsung Galaxy S4 (jfltevzw) and i had a rooted phone until it stopped working. The thing with my phone is that clockwork mod was not installing so i used safestrap... using safestrap ...
0
votes
1answer
38 views

guess the secret text inside a jpg file using outguess in linux

How can I get the secret content of a jpg file using outguess command without knowing the passphrase ? Before all is it possible to do so, guessing the content using outguess in linux without knowing ...
6
votes
8answers
2k views

how to remotely open an URL in Firefox in a specific profile?

I have several instances of Firefox with several different profiles running. Among them profiles with the names "software" and "test". I am trying to open an URL from a bash script to have it open in ...
0
votes
1answer
4k views

Can't get 1440x900 resolution with GRUB2 although vbeinfo says it's available

I'm trying to use GRUB2 in graphical mode with 1440x900 resolution, but the result is always garbled nonsense: the highest resolution I can get is 1280x800. Word is from googling that long as vbeinfo ...
0
votes
0answers
20 views

linux can not excute binary file

Recently I am doing a C++ project in Linux.I have executable file in Linux. I tried to run it and there showed an error: can not excute binary file. I saw similar questions here in SO and they said ...