Questions specifically about Linux but not specific to a particular distribution. If the question could apply to any Unix-like system, specify your Linux distribution in the body of your question but do not use the /linux tag.

learn more… | top users | synonyms

0
votes
1answer
49 views

steam opengl glx extension not supported by this display nvidia drivers

So this is a story of me being dumb. I got a used desktop from work and wanted to put debian on it.I did and then I wanted to install Steam.I did that. Now here is where the dumb part starts. I have ...
0
votes
2answers
18 views

How to get PPID with PS using BSD options

I'm looking for a ps string that will give me all the output headers of "ps aux" but with the PPID. So far, I can only get the PPID column using ps -ef. I have tried numerous combinations but have ...
0
votes
2answers
80 views

Difference between two linux machines

I have two machines and I am trying to see which one is more powerful machines. I can check memory and cpu but not sure how to understand other things from lscpu: Here is machineA "lscpu" result: ...
1
vote
0answers
23 views

Print kernel memory layout

Userland memory layout can be inspected by looking into /proc/self/maps. I am wondering if there is a similar facility allowing to inspect runtime kernel memory layout?
0
votes
0answers
16 views

Server network connectivity problem

I have a server (RH6 x86_64) that is pingable from a remote host but does not allow ssh. On the server the ssh and network service statuses are both up however the server gets no response when pinging ...
1
vote
0answers
33 views

Using tar to backup and restore a path mounted with overlayfs

I have a system running OpenWRT with Linux 2.6.39.2. In my filesystem, I have symlinks contained in /etc/rc.d on ROM and more symlinks contained in /overlay/etc/rc.d in flash. overlayfs does a union ...
1
vote
0answers
8 views

setxkbmap reverts after typing on second keyboard

I am running Manjaro-i3 linux. My setup is two keyboards, one built into my laptop, and another usb. They are both qwerty keyboards. I would like it so that the one built into my laptop types in ...
1
vote
2answers
34 views

Disk usage in stat output and inode

Below is my stat output: [alankoh@SJOAM swap]$ stat myswapfile File: `myswapfile' Size: 2147483648 Blocks: 4194312 IO Block: 4096 regular file Device: fd03h/64771d Inode: 1179650 ...
4
votes
2answers
91 views

How to tail a log file by time?

Say my log file(log.txt) is something like 2014-01-01 22:30:30 something happened.... 2014-01-01 22:30:31 something happened.... 2014-01-01 22:30:41 something happened.... I want to tail this file ...
1
vote
0answers
37 views

Error when trying to mount MTD device from Linux

How do I mount an MTD device from Linux? The mount command is failing, see below: [root@10 ~]# cat /proc/mtd dev: size erasesize name mtd0: 00400000 00080000 "UBoot" mtd1: 00400000 00080000 ...
0
votes
0answers
17 views

Test program to configure MPLS datapath in Latest Kernel 4.1.3

Latest Kernel supports MPLS datapath in kernel, However there is no test program, or any guide how to write user space program to configure a MPLS datapath in kernel. I browse the kernel code and ...
0
votes
0answers
9 views

Grub screen on HDD_A after Linux install on (another) HDD_B, how to fix?

When I start my machine (linux mint), I get this Grub screen (http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2015/02/Boot_Repair_Ubuntu_Linux_1.jpeg): GNU GRUB version ...
0
votes
2answers
93 views

Why is my /etc/hosts file not being read?

My /etc/hosts file looks like this: # Your system has configured 'manage_etc_hosts' as True. # As a result, if you wish for changes to this file to persist # then you will need to either # a.) make ...
0
votes
1answer
29 views

mongodb unmet dependencies

When I try to install mongodb (sudo apt-get install mongodb), i get this : The following packages have unmet dependencies: mongodb : Depends: mongodb-dev but it is not going to be installed ...
0
votes
0answers
17 views

GNOME Desktop Dconf Settings Are Present Even Though Using Cinnnamon

I installed cinnamon on Arch. Everything works fine, but a little annoyance I am having is that there are still org.gnome.dekstop settings present. I removed gnome-desktop, which was installed as a ...
2
votes
1answer
14 views

How can I view an application shortcut's content to find what exact executable line it runs?

I have been wanting to inspect the executable lines from these application shortcuts for several applications as I am having trouble opening each, or would like to know what settings they use by ...
1
vote
0answers
28 views

Can't determine where umask is being changed

On my RHEL system, my /etc/login.defs has the line UMASK 077. I have one user who has a .cshrc which changes his umask to 022. I also have a second user who does not have a .cshrc or .bashrc or any ...
1
vote
1answer
32 views

How to paint on linux graphical console?

I need to display QR codes on graphical console on Linux. I am using qemu. Can you give me a sample code of painting something on graphical console or a hint how to do that?
2
votes
0answers
54 views

X11 controlling root window or setting a window to be the background window (wallpaper)

I would like an animated background image. Or better, to make an application be the background, with no interactivity, so I don't accidentally click on it. I've seen many discussions about setting ...
0
votes
1answer
34 views

Systemd postgresql start script

I'm in the process of installing postgresql onto a second server Previously I installed postgresql and then used the supplied script ./contrib/start-scripts/linux Placed into the correct dir # cp ...
1
vote
2answers
38 views

WIFI Connection with Live CD but not with installed OS

I am really confused and hope somebody could help me solving my problem. i want to install Kali Linux but the problem is, when i start it from the Live CD my wireless adapter works, but when its ...
2
votes
1answer
23 views

how to set Internal Variables in mailx in linux?

save internal variable enable saving of messages in the dead.letter file on interrupt or delivery error.The default is save. problem: default is save so dead.letter file is created at home directory, ...
2
votes
0answers
77 views

scp does not honor .ssh/config

Used for a few years arcfour as default cipher for SSH2 connection in my ~/.ssh/config file host namaka hostname localhost port 2022 ciphers arcfour IdentityFile ~/.ssh/virtualbox ...
0
votes
1answer
4 views

How to disable vcstime

There's a program /usr/sbin/vcstime which prints the date/time in the top/right corner of your terminals. You can enable it in /etc/kbd/config (on the last line). It's disabled by default. I'm having ...
3
votes
2answers
72 views

Is it bad to have a low entropy in /dev/random?

I wonder whether for the average Linux user it is considered as bad -from a point of view of security or any other relevant viewpoints- to have no or almost no entropy left in /dev/random. Edit: I ...
1
vote
0answers
16 views

Adwaita Background Appears Much Darker in Reality

I like the default Adwaita background that came with cinnamon installed on Arch linux. For some reason however this background is very dark, much darker than it appears in the settings for choosing ...
8
votes
1answer
101 views

How to add additional steps to login?

What I would like to achieve is an interactive program that runs either before or after asking the user for the password, but won't handle over the access to the computer unless it exited with ...
0
votes
1answer
55 views

Problem with touch pad in linux

I have a Lenovo g500 laptop and I recently installed Ubuntu 14.04 in it. The problem is that the touchpad in not being dectected. I ran Ubuntu in live mode before installation and the touchpad worked ...
0
votes
0answers
285 views

Failed unmounting /home during shutdown arch linux

I've installed arch on my system multiple times and everything has worked fine, but since last installation I've been seeing messages : Failed unmounting /home. and Failed unmounting /run/user/1000. ...
0
votes
0answers
21 views

Prevent other user read my files

Hello i have 2 users Joe is root and Gary (normal user) but if gary enter 'cat /home/joe/function.php' gary can view all code with mysql password into this file. What is the solution for disable all ...
2
votes
1answer
61 views

Local port is not accessible with public IP address

I have a linux server which has public IP and Private IP. So, when ever I login with public IP, the terminal directly shows private IP. example: $ ssh root@55.27.XX.XX root's password: ...
1
vote
1answer
34 views

Vi mode or emacs mode in the whole system

I use vi mode in zsh, tmux and my favorite text editor (vim obviously). I'm interested to have this behavior in the whole system. I know I can use plugins in firefox, thunderbird, etc. but if there is ...
1
vote
1answer
18 views

Limit line output rate in XTerm?

I have a problem where my Python script that I want to run in XTerm outputs too many lines simultaneously, which eventually makes the script crash with an error message: close failed in file object ...
1
vote
0answers
37 views

Where do these boot log entries come from and who creates them?

I'm wondering what kind of code writes these first two lines into /var/log/syslog while booting my machine: Aug 4 10:13:48 HOSTNAME kernel: imklog 5.8.11, log source = /proc/kmsg started. Aug 4 ...
1
vote
0answers
19 views

linux + how to restore sdaXX.fsa files by the fsarchiver tool

I get the following files (that was backup from some Linux machine ) swap.label sda-partition-info.sfdisk sda.mbr sda1.fsa sda2.fsa sda3.fsa sda.labels sda7.fsa sda5.fsa in order to build ...
-1
votes
1answer
36 views

Mint, install and LUKS/LVM

I want to make my linux laptopwith LUKS Encryption. OS : Mint 17. Is it better to make the disk LUKS-encrypted: at the installation process ? after it ? Quite a noob question, I need to be sure. ...
4
votes
2answers
384 views

Is clearing a full swap necessary / wise?

We have a linux machine, in which the swap partition gets filled to the limit from time to time. There's still enough of RAM free, so there should be no risk of running out of memory. The usual course ...
-1
votes
0answers
16 views

Will copying everytime from Windows EFI partition to my new EFI partition work? And how to configure my loader conf's

During my Arch install, I didn't like the Windows 10 EFI partition being so small. So I created a new one and moved everything over and deleted it and set the boot flag. I am at the end of the Arch ...
0
votes
0answers
11 views

Problems / Issues with Importing osm-file inside Nominatim

Getting the following error while importing OSM data during the installation of Nominatim on Centos 6.6 cPanel server: ./utils/setup.php --osm-file india-latest.osm.pbf --all --osm2pgsql-cache 18000 ...
2
votes
1answer
25 views

Directory traversal cache eviction despite having plenty of memory?

I have a huge Mercurial repository (take a guess how many directories it has -- it's gonna be more than you guessed). The time taken to do basic repository operations is heavily dependent on whether ...
0
votes
1answer
17 views

dosfsck of pendrive taking too long

I have started running sudo dosfsck -a in a 512 GB flash drive and it's already been running for almost 2 days. Is this at all normal? This is happening in a relatively new i5 laptop. I am running ...
1
vote
0answers
17 views

Routing only VM traffic through VPN

I'm stuck on a problem and would like some help if possible :-) My goal is to make my VM going through my VPN connection and my HOST through the standard gateway. Configuration : VM (192.168.100.1) ...
3
votes
1answer
35 views

Same salt/hash value in /etc/shadow

Looking in /etc/shadow, I can see several users that have the exact same salt and hash value (and thus password). How could the system end up like this? Does this mean the password was not ...
0
votes
1answer
57 views

Redirect console output in sed in background process don't give back hand

I'm using sed to add the date at the beginning of every lines given by a command (which use vlc and never stops...). I found this way on another stackexchange post and that works as expected. command ...
0
votes
1answer
39 views

Linux Userspace PCI driver options? (uio_pci_generic)

I have a Xilinx FPGA PCIe end-point on the PCI Bus. Linux picks up the device just fine and everything in lspci looks perfect. My question is about PCI access options from user-space and what would ...
0
votes
1answer
23 views

Network access behaviour problem

I have Debian Wheezy 64 bit installed on my PC. The problem is that in some situations I can only ping localhost and 127.0.0.1 and don't have access to outside world. And in other cases I can ping ...
2
votes
1answer
42 views

How to passively capture from Unix domain sockets (AF_UNIX socket monitoring)?

TCP/IP and UDP captures can be made using tcpdump/dumpcap and produces a pcap/pcapng file which can be fed to Wireshark for further analysis. Does a similar tool exist for named Unix domain sockets? ...
1
vote
2answers
44 views

How to forcibly update a file if left unchanged after 55 minutes? [closed]

I need a log file to be updated if it has been left unchanged during 55 minutes. For example, say it is now 19:00 and IOstatDisk2.log hasn't changed since 18:00: solaris1a:/var/tmp ROOT # ls -ltr ...
8
votes
3answers
108 views

Will a usb key have the same name everytime I mount it?

I have a usb key which will be used to save data on it daily, via a bash script. I managed to mount it for a specific user to be able to write folders in it using the command mount /dev/sdc1 ...
0
votes
0answers
22 views

Unable to boot Linux Mint due to Wi-Fi adapter

I have a Lenovo Flex 2 14D notebook with AMD A8 processor and factory installed Win 8.1 OS. Recently I dual-booted it with Linux Mint 17.1 Cinnamon. However the boot fails all the time. I ...