date
int64
1,220B
1,719B
question_description
stringlengths
28
29.9k
accepted_answer
stringlengths
12
26.4k
question_title
stringlengths
14
159
1,592,501,948,000
I want to connect my linux laptop (debian 8) with my windows laptop (windows 10) with ethernet over bluetooth. (This is a must have setup.) On the linux side I have bluez5. I found out that there is a org.bluez.Networkserver1 method to register a server (network-api). There I choose "NAP". But I don't know what to wri...
It seems that there is no need for a NAP for a point-to-point conenction. In this case it is enough if both devices are in mode "PANU". Just execute the bluez-test script "test-network" with thhe mac of the device which you want to connect to as argument. (After pairing) Then everything works fine without nedd for int...
Setup linux as bluetooth NAP and connect to windows over bluetooth ethernet (Bluez5)
1,592,501,948,000
I looked at the usual culprit /etc/apt/apt.conf but there is no configuration file for apt therein so it has to be somewhere else. Running reportbug against apt does give the dump but it doesn't tell where the configuration file resides. I know have used apt-config dump but it isn't easy or tell where it is sourcing t...
The configuration is split in multiple files in /etc/apt/apt.conf.d/. For me it is: ├── apt.conf.d │   ├── 00aptproxy │   ├── 00CDMountPoint │   ├── 00trustcdrom │   ├── 01autoremove │   ├── 01autoremove-kernels │   ├── 05etckeeper │   ├── 20apt-show-versions │   ├── 20listchanges │   ├── 20packagekit │   ├── 50apt-f...
how do I find out where the configuration file for apt is located?
1,592,501,948,000
I have a Dell XPS13 whose Philips UltraWide monitor connected is via a Thunderbolt 3/USB-C connection. As no monitor other than Apple monitors support this new fangled connection, I have an external converter to HDMI (I've also tried to DVI and Mini HDMI). My monitor is not detected by Fedora 23 however. There's not...
There is a bug where Thunderbolt connections aren't recognized in Linux kernel 4.1, 4.2 and 4.3 but are in 4.0. This has been fixed in kernel 4.4 so adding an updated kernel fixes it. As Fedora 23 didn't update to 4.4. till Fedora 24 (Actually 4.6). If you are using an older version, it can be done manually as fol...
Why is my (thunderbolt connected) monitor not detected in Fedora 23
1,592,501,948,000
I notice I spend a lot of time using tutorials to manually configure a CentOS 7 server. How can I convert the manual steps from a tutorial into an automated shell script that can be used to configure multiple CentOS 7 servers with the same settings? Let's use this tutorial as an example, but the answer should be gene...
You have several pieces to your question, and I can't claim familiarity with all of the commands you run, but here's my take: Either run the whole script as root (directly) or via sudo. That way, you won't need to run sudo in the script itself. If you require sudo for a particular step, then you'll either need to set ...
automating CentOS 7 configuration using shell scripts
1,592,501,948,000
Is there a tool that handles generic migration of config? For example if I have httpd, postfix, MySQL and users and groups data, is there a tool that can extract the config data for each service so that I can apply it on another system. Generally speaking is there a tool (or strategy) that handles this for all service...
One the popular accepted solutions to this problem is using a configuration management system. Some examples are puppet, chef, and saltstack. These systems allow you to define exactly what a server (or in some cases an application stack) looks like. Using these tools you define a server's state, including its configur...
Tool for migration of service configuration
1,592,501,948,000
This is a followup to Somehow managed to mute mplayer and can't figure out how to restore sound. I've noticed that the sound level settings in mplayer are saved on exit. However, I can't figure out where they are saved. There are config files in the .mplayer directory, but none of them are being written to. This is on...
PulseAudio stores stream state for each app independently. This lets you (for example) set your music player to a lower volume than your instant message alert tone, so you hear the IM alert over the music. If you have PulseAudio's module-stream-restore loaded—and the default config loads it—, then these settings will ...
Where are the sound level settings for mplayer saved?
1,592,501,948,000
I've downloaded a kernel binary which I am using now. In order to use the watchdog on my system I must recompile the kernel with watchdog support. Is it possible to obtain the current kernel configuration of the binary? The binary is obtained from this page. I've used version R5.
If the kernel config is not distributed in /boot/config-* or available at /proc/config.gz, it is nearly impossible to get it. As Alex wrote, they could also have patched the kernel and included proprietary drivers. But because the kernel is under GPLv2, the owner of the site where you download the binaries, have to gi...
Find or create kernel configuration of kernel binary
1,592,501,948,000
This is part of my config of xmonad in ~/.xmonad/xmonad.hs myWorkspaces :: [String] myWorkspaces = clickable . (map dzenEscape) $ ["web","doc","ssh","devel","chat","temp"] where clickable l = [ "^ca(1,xdotool key super+" ++ show (n) ++ ")" ++ ws ++ "^ca()" | (i,...
Make sure that Skype is capitalized. I use className =? "Skype" --> doShift "8" and that works, but if I leave Skype in lowercase it doesn't. I don't use Thunderbird, but perhaps it is also a class name issue. It looks like you should be using "Thunderbird-bin". http://ubuntuforums.org/archive/index.php/t-863092.h...
Xmonad: some apps do not start in workspace which I defined in config
1,592,501,948,000
I found myself enabling one of my computer on LAN to connect to a server through port 1236. A check on the list of services show: bvcontrol 1236/tcp rmtcfg # Daniel J. Walsh, Gracilis Packeten remote config server bvcontrol 1236/udp # Daniel J. Walsh I really can't recall why I open up this particular port. Would app...
The complete bit in my /etc/services is: # /etc/services: # $Id: services,v 1.53 2011/06/13 15:00:06 ovasik Exp $ # # Network services, Internet style # IANA services version: last updated 2011-06-10 [...] # Port 1236 is registered as `bvcontrol', but is also used by the # Gracilis Packeten remote config server. Th...
What is a remote config server?
1,592,501,948,000
From here: http://www.xenomai.org/documentation/xenomai-2.6/TROUBLESHOOTING Q: Which CONFIG_* items are latency killers, and should be avoided ? ... APM: The APM model assigns power management control to the BIOS, and BIOS code is never written with RT-latency in mind. If configured, APM routines are invoked...
You can find this option yourself: Press / in the menu menuconfig interface , and put CONFIG_APM there , if you find anything , it's supported I can only give you output from 3.3.7 version: But anyway , you could edit the .config file yourself , and append CONFIG_APM=y , then redo make menuconfig ,
Where is CONFIG_APM in kernel - 2.6.38.8
1,592,501,948,000
Are there any drawbacks to having Cygwin and Windows share the same $HOME directory, in this case the Windows profile directory?
Merging them will work fine. Cygwin proper doesn't store anything in your HOME directory. On first running Cygwin with a fresh home directory, default versions of .bash_profile and such get put there, but again, there is no conflict with things that already get put there. I, too, find it frequently convenient to be ab...
setting Cygwin's $HOME to Windows profile directory
1,592,501,948,000
I'm looking for a script that allows complete configuration of a CentOS 5 system via TUI (no GUI, X, etc.). I found system-config-network-tui but other than the fact it looks unprofessional (typos, bugs, etc.) I actually would like to find a script which supports the configuration of many other aspects (such as date/t...
Did you try setuptool ? Install it with yum install setuptool
Looking for a complete TUI script for configuring date and networking of CentOS 5
1,592,501,948,000
When I reboot machine disabled the docker.service, I do not have br1 in my ip a output. However, after start docker, the br1 appears. But sudo docker network inspect does not show any related network. Error response from daemon: cannot create network 33618cb1603a773a11d97750182fde9d8feb98c03a9882bb0c4539c3ea3fbe1d (br...
This happens when removing Docker network fails with bridge record left in database.  Database location is /var/lib/docker/network/files/local-kv.db (AlmaLinux).  Although the usual suggestion is to stop Docker, delete this database and then rebuild containers, this isn't the best solution for larger infrastructure.  ...
docker complain I have a bridge name conflict with a invisible network
1,592,501,948,000
I'm currently coding a network configuration role used by Ansible to customize our fresh new virtual machine that came from our Debian 11 template. I got a weird issue while I try to set up and configure 2 physical network interfaces. When i deploy a new VM from my template, it has 2 separate vmnics, from a debian per...
Can you try this: auto ens3 allow-hotplug ens3 iface ens3 inet static address 10.0.0.1/24 auto ens4 allow-hotplug ens4 iface ens4 inet static address 192.168.0.1/24 Restart or reboot than try to ping 10.0.0.1 and 192.168.0.1 If that work's config your dns, nameserver, gateway etc.. Check this post and edit /etc/...
Can't correctly bring up a second network interface on Debian 11
1,592,501,948,000
Good Morning, I am trying to sends Zeek logs to another host on my local network with rsyslog. So far I have a configuration file in /etc/rsyslog.d which looks like this : module(load="imfile") #### Templates #### template (name="zeek_Logs" type="string" string="<%PRI%>%PROTOCOL-VERSION% %TIMESTAMP:::date-r...
Probably user syslog lacks read permission for the directory, you can test it with: sudo -u syslog ls /opt/zeek/logs/current The permission failure may be because of a directory higher up the tree of course. Crude bash example of how to find where: TESTDIR=/opt/zeek/logs/current while [[ ${#TESTDIR} -gt 1 ]]; do ...
Access denied for rsyslog
1,592,501,948,000
I modified the interface configuration file as follows: vi /etc/sysconfig/network-scripts/ifcfg-ens160 I have changed the IP and gateway. I run the command as follows: nmcli connection down ens160 && nmcli connection up ens160 However, the IP address does not change when I do ifconfig. I have to reboot the server fo...
After editing the interface configuration file, you should run: nmcli connection reload Alternatively, you should make your modifications to the interface configuration with nmcli connection modify ens160 ... or nmcli connection edit ens160 or nmtui or with any other NetworkManager front-end. If you make your chan...
Server requires reboot after modifying the interface configuration file
1,592,501,948,000
How can I change the actual editor theme in .nanorc, I am not speaking about the syntax highlighting but editor elements such as titlebar or line numbers color/background color? For instance, I would like to set the title bar and line numbers background to black/transparent, and the font color to white.
Edit the nanorc file, and add the following lines: set titlecolor COLOR_1,COLOR_2 # COLOR_1 is the text, COLOR_2 is the background. Supported colors are white, black, blue, green, red, cyan, yellow, magenta set numbercolor COLOR_1,COLOR_2 # same as above
nano change line numbers color
1,592,501,948,000
I installed new daughter cards for a parallel port and a telephone modem on the PCI bus of my computer. The lspci command reveals that the system sees the cards but I don't know which config file I need to edit to use these new cards. I've searched the web but have not yet found anything that helps me. root@CLM1001-U...
The PCI vendor:product ID of the parallel port card is 1c00:2170. The fact that the ID number is displayed without using lspci -n or lspci -nn indicates that the vendor is not included in the system's PCI ID database. That's not a good sign. This webpage mentions the vendor ID: 1c00 is not a listed PCI vendor ID. 1C0...
What config file do I need to edit to use my newly-installed parallel port PCI card
1,592,501,948,000
FreeBSD and other BSD systems, required certain network information at installation time, like if I will use a DHCP server, or the IP address, subnet mask, IP address of default gateway, domain name of the network, IP addresses of the network’s DNS servers, etc. When I install Ubuntu, I do not need to provide this inf...
By default Ubuntu uses Networkmanager. In FreeBSD you configure the network manually. If you "do not need to provide this information when you install Ubuntu" means default DHCP works for you. See 5. Network Configuration. FreeBSD Quickstart Guide for Linux® Users how to configure ethernet DHCP in FreeBSD. If you need...
How to recollect network information from Ubuntu to use it on Freebsd?
1,592,501,948,000
suddenly, i3 stopped moving Inkscape to the workspace I assigned to it. I really cannot understand why it is doing this, because it was just working fine like two days ago. I'll post the code I wrote in i3/config to move Inkscape to the ninth workspace and to move me as well to that workspace: for_window [class="Inksc...
I had the same problem, and changing a few settings on Inkscape solved it for me. Open Inkscape, go to Edit > Preferences. On the Preferences window, go to Interface > Windows. Then set the "Default window size" to Default, and "Saving window geometry (size and position)" to Don't save window geometry.
i3wm doesn't move Inkscape to workspace assigned
1,592,501,948,000
I have these aliases in my ~/.bashrc alias grep='grep --color=auto -H' alias fgrep='fgrep --color=auto -H' alias egrep='egrep --color=auto -H' but they have no effect when I run find ... -exec grep ..., and I always have to provide those options manually. Is there a way to tell find to rely on aliases in the -exec op...
You can't use aliases like that. Aliases work only if they're used first in a long command sequence, the shell basically replaces the alias text with the actual command. When you enter a command, the shell first searches for an alias, then a function and so on. Command substitution/alias substitution doesn't work if y...
Aliasing grep in find's -exec option
1,592,501,948,000
I want to switch on CONFIG_CONTEXT_TRACKING, I am able to find this config with a search in menuconfig but not able to turn it on. I am also having difficulty in understanding the config options that CONTEXT_TRACKING depends on. Can someone tell me step by step how to switch on this config?
You need to compile your own Linux kernel. CONTEXT_TRACKING is an automatic setting, which is enabled if VIRT_CPU_ACCOUNTING_GEN is selected. VIRT_CPU_ACCOUNTING_GEN is available under “General setup”, “CPU/Task time and stats accounting”, “Cputime accounting”, “Full dynticks CPU time accounting”. You can find this o...
How do I switch on CONFIG_CONTEXT_TRACKING in Linux?
1,592,501,948,000
How do I query the compile-time options of bash on a given system? The system rc path for bash differs across systems. Sometimes it is /etc/bash.bashrc and sometimes it is /etc/bashrc. How can I detect this programmatically? I know I can list options in a shell with: set -o or shopt
As far as I can tell, Bash source code doesn't differentiate between SYS_BASHRC and other included rc files after compilation. In addition, SYS_BASHRC could be undefined, and the resulting binary wouldn't use a system rc at all. All the files used by a process can be found out by strace, however. Bash includes rc fi...
How can I query the system rc path set at compile time with -DSYS_BASHRC=?
1,550,440,851,000
I want to change the text color of notification from green to black for example. I'm using Xenlism Minimalism, that is the great shell for me, but the only issue is that the text color is light green really hard to see. How can I change this?
go to your theme, usually installed in /usr/share/themes/<your_theme_folder>/gnome-shell find .message-title and .message-content selector add color or do whatever you want to it
How can I change the text color in gnome top bar?
1,550,440,851,000
I currently have a .confin my etc/nginx/sites-available with a bunch of location entries. Some of those location entries are setup as reverse proxy's to specific ports. However, I'm having trouble adding a location entry that just points at a directory. server { listen 443 ssl; server_name sub.domain.com www.sub.domai...
Attempting to use root with a sublocation will mean that it's going to try $root$uri, which in your case becomes /opt/site3/site3. You can do what you did and use root so that the root directory is a folder before the folder you are trying to access. However, you don't need to do this. Try using alias /opt/site3; ins...
NGINX - location {} slug with different root domain
1,550,440,851,000
What is the meaning of postscreen_dnsbl_reply_map in postscreen (postfix) ? I've read from documentation: if your DNSBL queries have a "secret" in the domain name, you must censor this information from the postscreen(8) SMTP replies (1) And from manual: A mapping from actual DNSBL domain name which includes a secre...
Some non-free DNSBLs give customers a secret DNS label to insert between the base domain and the query target (i.e. octet-reversed IP or domain name) as a form of authentication. Obviously this "secret" isn't well-protected from snooping by actors who can sniff the DNS traffic, but as a practical matter it is safe eno...
What is postscreen_dnsbl_reply_map use for?
1,550,440,851,000
I have a file that I am performing some replacement of certain columns in two new files. It works fine right now. I wanted to put some of the variables like the "X" (the character I replace a column with) and "\036" separator, the columns selected like $13, $6,$10,$5, etc into a configuration file kind of like below. ...
You can pass awk variables from outside by using the -v argument. You can use it repeatedly to pass multiple variables. For example, for the first line of your script: awk -v FIELD_DELIMITER='\036' -v WIPEOUT_CHARACTER='X' 'BEGIN{FS=OFS=FIELD_DELIMITER} {gsub(/./, WIPEOUT_CHARACTER, $13)} 1' $1 > $file_directory'/'$ma...
Using variables in awk statement
1,550,440,851,000
In my RHEL 7 minimal installation with Virtualization profile I found that interfaces configured with network manager(s) contain BROWSER_ONLY=no option, which is always set to no by default. Server is currently offline, so I won't post entire config, but this is from "regular", physical WAN facing interface enp5s0 (et...
I found NetworkManager docs that suggests this setting is only used if you also configure proxy settings, i.e. you have PROXY_METHOD=auto present, and then determines whether the proxy settings are for everything of just browsers, however they think they can distinguish that. The default is no already.
What is BROWSER_ONLY option in ifcfg-* network configuration files?
1,550,440,851,000
The title doesn't really mean that I expect GRUB to recognize my Desktop environments. I just want to have separate Debian 9 installations with different environments and to be able to recognize them in the GRUB menu. I tried to change the /etc/default/grub but this is used only from the current system (let's say Debi...
Finally the previous settings (before this edit) can not work after some updates of my debian system. So I solved the problem like this: In the file of /etc/grub.d/10_linux of every distro, I added a word that shows the DE used in the distro like this (see "MATE"): if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then OS=GNU/...
GRUB configuration to recognize different desktop environments (installations) of same Linux distro
1,550,440,851,000
I am trying to use the following at the top of my files authorize to test a new radius installation on default configs. head /etc/raddb/mods-config/files/authorize bob Cleartext-Password := "hello" Reply-Message := "Hello, %{User-Name}" test Cleartext-Password := "test" Reply-Message := "Hello, %{User-Name...
After many hours and a lot of googling. I fixed this by taking a harder look at the lines in my authorise bob Cleartext-Password := "hello" Reply-Message := "Hello, %{User-Name}" test Cleartext-Password := "test" Reply-Message := "Hello, %{User-Name} The problem was the trailing " was missing on my test u...
freeradius test user fails Parse error (reply) for entry test: Expected end of line or comma
1,550,440,851,000
I have many programs and all of them have some identical values in their config files (most, if not all, of which are in /etc). Let's say it is hostname, which is stored in the config files of Apache, Postfix, SQL, clamAV, whatever... Sometimes I need to change those values. What I do now is to edit all those files a...
Obviously, you must identify all the parameters that you want to manage, and all locations where they appear.  (Duh.)  You knew that already. Here’s an approach that might get you started on the right track: Choose a character string that will never, ever, appear in one of the configuration files.  (That makes it sou...
How to populate many config files with same value(s) [closed]
1,550,440,851,000
I am trying to get Wifi working on my Arch Linux installation so I have installed broadcom-wl-dkms, but it still does not seem to work. I noticed that one every startup I got this message: Support for cores revisions 0x17 and 0x18 disabled by module param allhwsupport=0. Try b43.allhwsupport=1 So I enabled them as it...
OP has a Broadcom BCM4313 chipset, which is not supported by the b43 driver, so enabling the core revisions listed in the warning will have no effect. Further, this particular chipset is not fully supported by the brcmsmac driver, leaving only Broadcom's own (restrictively-licensed) broadcom-wl driver, specifically t...
Unable to get Broadcom wireless drivers working on Arch Linux
1,550,440,851,000
As a standard desktop I use Mate on all my computers with different GNU/Linux distributions and FreeBSD. I have recently upgraded a laptop running Manjaro from Mate-1.16.1 to Mate-1.18.0. With Mate-1.16.1 my desktop looked like this: Notice that the background of the selected workspace on the bottom bar is a solid co...
MATE is now using GTK+ 3, according to the release note of MATE 1.18, which is likely the reason why the appearance of MATE desktop has changed regardless of the theme. The entire MATE Desktop suite of applications and components is now GTK3+ only! Requires GTK+ >= 3.14. All GTK2+ code has been dropped [...] ...
Mate workspace switcher and menu background configuration
1,550,440,851,000
I am running RHEL 6.7 with the following configuration for sshd # $OpenBSD: sshd_config,v 1.80 2008/07/02 02:24:18 djm Exp $ # This is the sshd server system-wide configuration file. See # sshd_config(5) for more information. # This sshd was compiled with PATH=/usr/local/bin:/bin:/usr/bin # The strategy used fo...
Because the AUTOCREATE_SERVER_KEYS is valid not in /etc/ssh/sshd_config file but in /etc/sysconfig/sshd
Bad configuration option: AUTOCREATE_SERVER_KEY [closed]
1,550,440,851,000
How can I establish a reverse ssh tunnel with my ./ssh/config file? I'm trying to reproduce this command ssh [email protected] -L 4444:restricedserver1.org:4420 -L 4445:restricedserver2:4430
Yes. The option is called RemoteForward with a bit different syntax. But in your example, you are using LocalForward, which would look like this in ssh_config: Host dmx.com User admin LocalForward 4444 restricedserver1.org:4420 LocalForward 4445 restricedserver2:4430
Reverse ssh tunnel in with .ssh/config
1,550,440,851,000
I would like Alsa to output everything at 44.1kHz (by default it looks like it's using 48kHz). I understand that the correct option would be something like: defaults.pcm.dmix.rate 44100 But where should this be included: in .asoundrc or .asoundrc.asoundconf? Does .asoundrc override settings in .asoundrc.asoundconf? ...
Possible locations for the configuration file are /etc/asound.conf for all users, or ~/.asoundrc for a single user. The file ~/.asoundrc.asoundconf is a file created by the asoundconf tool, and should not be edited by hand.
Setting Alsa to output 44.1kHz
1,550,440,851,000
I poke around make menuconfig select this, deselect that. Rebuild a linux kernel and boot up with it. How can I confirm the selection(s) I made via menuconfig exist after booting? lsmod?
Depending on your distribution and kernel version the configuration of the currently running kernel can be in one of the following locations: /proc/config.gz /boot/config /boot/config-$(uname -r) The first one provides the proc filesystem and must be configured in the kernel config: General Setup ---> <*> Kernel...
How to confirm CONFIG setting made with make menuconfig?
1,550,440,851,000
(This might be off-topic and/or not answerable, but I want to ask anyway.) Recently, I am managing a lot of VPS server with Linux for my personal and professional projects. However, I am kind of tired by the repetitive tasks. Let's say I have to do the following after installation of a VPS add some users, add them t...
This task is an example of "configuration management". As you might expect, many other people have also had the same questions as you. The general class of software that performs this function is called configuration management software. Some popular examples are: Chef Puppet SaltStack
How to replicate basic configuration tasks? [duplicate]
1,550,440,851,000
I'm trying to follow the directions here under "sudo and multiple users". I believe I managed to modify /etc/sudoers correctly enough (by adding Defaults :me env_keep += "HGRCPATH" at the beginning of the defaults section, but later cutting :me because sudo was giving me parse errors) because I get this: [me /]$ su P...
Defaults env_keep += "HGRCPATH" Defaults env_keep = "COLORS DISPLAY HOSTNAME HISTSIZE INPUTRC KDEDIR LS_COLORS" That second line resets env_keep. Either stick to += or move the = line before any += line.
HGRCPATH kept in /etc/sudoers, yet ignored by hg?
1,550,440,851,000
Xmonad uses 1) Mod+2 for switching to workspace 2 2) Mod+Shift+2 for moving window to workspace 2 How would you remap 1) to Mod+k and 2) to Mod+Shift+k in ~/xmonad/xmonad.hs?
You can do it, but it's not particularly pleasant (and don't forget that in the default configuration, M-k and MS-k are already used to cycle between windows and move windows around in the stack order - you probably don't want to mask those functions). What follows is based on a brief look at the source in XMonad/Conf...
Remapping keys for workspaces in Xmonad
1,550,440,851,000
If I move the settins.xml (or any other file) from the .purple folder into another place and create a symlink to this file instead, it gets replaced by regular files after a restart of pidgin. I want to put some configuration files into a git repository and put symlinks to it. That worked on all other programs but pid...
Pidgin seems to save everytime settings to settings.xml and does it in the easiest and safe way: It writes/copies everything into a new temporary file and then rename it to settings.xml. To stop this behaviour, you would need to modify libpurple (bundled with pidgin). The relevant code is probably in libpurple/util.c...
Pidgin replace my symlinks
1,550,440,851,000
I am compiling php 5.3.13 on my server. I want to create an autonome php5 folder. So prefix is: /usr/local/php5 In this folder I have a lib folder, where I put all lib needed for php to be executed such as: libk5crypto.so.3 libxml2.so.2 libjpeg.so.62 .... Even if I compile with --with-jpeg-dir=/usr/local/php5/lib/, ...
There are two distinct linker paths, the compile time, and the run time. I find autoconf (configure) is rarely set up to do the correct thing with alternate library locations, using --with-something= usually does not generate the correct linker flags (-R or -Wl,-rpath). If you only had .a libraries it would work, but...
PHP compilation - link to library
1,550,440,851,000
From here: http://www.xenomai.org/index.php/FAQs#Which_kernel_settings_should_be_avoided.3F Which kernel settings should be avoided? Note that Xenomai will warn you about known invalid combinations during kernel configuration. - CONFIG_CPU_FREQ - CONFIG_APM - CONFIG_ACPI_PROCESSOR Now, when I look in the .co...
make menuconfig does present this option. If you are in the menu press / and search for CPU_FREQ. This will show all CONFIG parameters containing CPU_FREQ. It does also show how you can access it through the menu, e.g: │ Symbol: CPU_FREQ [=y] │ Type : boolean │ Prompt: CPU Frequency scaling │ Defined at drivers/c...
Edit the .config file when en/disabling a particular option like CONFIG_CPU_FREQ?
1,550,440,851,000
On the Sawfish Wikia, there's a beautiful image: Does anyone know how to configure sawfish to look like this? I can't find any docs regarding this picture/desktop.
His sawfish.rc is on github here: https://github.com/ZaneA/Dotfiles/blob/master/rc and there are links to the GTK theme and sawfish theme in that screenshot on his deviantart page here: http://hashbox.deviantart.com/art/Arch-170211-197724511
Searching for a sawfish config
1,550,440,851,000
I run an Ubuntu based server on raspi (6.5.0-1015-raspi #18-Ubuntu). On this system, I have knxd running, exposing a KNX bus to my server, and then Home Asssitant in a docker container. knxd and docker are configured as systemctl services. knxd is configured to create a UNIX domain socket in /tmp/eib, with the command...
knxd github repository at https://github.com/knxd/knxd mentions where the socket is created: "If you use Debian Jessie or another systemd-based distribution, /lib/systemd/system/knxd.socket is used to open the "standard" sockets on which knxd listens to clients. You no longer need your old -i or -u options." It also a...
Unix socket in /tmp turns into directory on reboot
1,550,440,851,000
Multinodes(3 nodes) openstack cluster deploy by kolla-ansible, two nodes(2nd and 3rd nodes) are working well, the one node(1st_node) have some containers always Restarting with the error logs, e.g. kolla_toolbox container: + sudo -E kolla_set_configs sudo: unknown uid 42401: who are you? I had check the kolla_toolbox...
Apparently, the ID of the ansible user is the same across all three nodes for the kolla_toolbox container, but maybe there's another reference or condition or dependency to other containers where the UID is different. I had a similar issue in a baremetal installation of openstack where we had to reinstall a control no...
docker logs err:"+ sudo -E kolla_set_configs sudo: unknown uid 42401: who are you?" in openstack container
1,550,440,851,000
Well, one picture for thousand words. 3 private subnets: +-----+ +-----+ | PC2 | | PC3 | Linux | .2 | | .3 | __ +----------+ +----...
Network Address Translation (NAT) doesn't particularly care what the local LAN IPs are. It just knows that any traffic forwarded out the external interface to the internet has to carry a "From" address in the IP packet that matches the public IP on the external interface of FW. So there's no reason your diagram as s...
How to config static route from two subnets to firewall
1,638,714,919,000
My /etc/network/interfaces file contains the line: iface default inet dhcp I vaguely remember putting it in there years ago, but I don't remember why I did so. If I am not mistaken, iface precedes a network interface configuration, inet stipulates ipv4 address specs, and dhcp means: get your address, mask, and gatewa...
The name "default" is just a place holder and can be used to specify how a interface should be loaded. #auto eth0=foo iface foo inet dhcp iface bar inet static address 192.168.178.2 gateway 192.168.178.1 dns-nameserver 192.168.178.1 ... then you could call the interface like this ... ifup eth0=bar There are many co...
Meaning of "default" in "iface default inet dhcp" in interfaces file
1,638,714,919,000
Whisker Menu has a great but quite underrated feature called "Search Actions" that can easily trigger a predefined command to search/open/run various folders/files/programs very quickly by assigning a "pattern" in the form of one or more characters. It has some default ones like "run in terminal" by typing ! and then ...
The configuration file for the Whisker Menu is saved in your xfce4 panel directory: ~/.config/xfce4/panel/whiskermenu-1.rc The actions defined at the bottom of the file contain the same properties as in the "Search Actions" dialog, i.e. name, pattern, command and a boolean regex flag. $ tail -18 ~/.config/xfce4/panel...
In what files/form are the "Search actions" of Whisker Menu saved?
1,638,714,919,000
I am trying to install and run a MongoDB server on CentOS 7 machine. The CentOS 7 machine is in my university campus and I am accessing it from my home over ssh through VPN. I have followed every step given in the link: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-red-hat/ Here is the output of sudo sys...
I suppose I should have put my comment as a solution: It says in the journalctl output that SELinux is preventing Mongod from open access on some file, which is stopping mongodb from working. You need to put SELinux in permissive mode, or tell SELinux to allow mongodb to run: See this link for more details. This link ...
How to install and run MongoDB on CentOS 7?
1,638,714,919,000
Sorry if this naive question, but while using the kconfig system for the kernel and buildroot, when I hit / for search, the results always have shortcut numbers on the left to navigate to them quickly. Currently, I am using Yocto, and when I enter the busybox menuconfig by issuing bitbake -c menuconfig busybox I don't...
Busybox’s version of Kconfig is very old: it was copied from the kernel in 2006, and subsequent changes to the kernel’s Kconfig haven’t been imported. Support for jump keys in search results was added to the kernel in 2012. Busybox’s Kconfig doesn’t support jump keys in search results, and there’s no configuration opt...
No Numbers on busybox menuconfig search results
1,638,714,919,000
I recently setup a fresh install of CentOS 8 to use the Mingw Compiler for C++ (I believe it's removed from CentOS 7). Everything was installed as follows yum -y groupinstall "Development Tools" yum --enablerepo=PowerTools install mingw32-gcc yum --enablerepo=PowerTools install mingw64-gcc Which did give me the comma...
You’re compiling C++ code, so the frontend is looking for the C++ compiler. mingw{32,64}-gcc only provides the C compiler, you need to install the C++ compiler too: dnf --enablerepo=PowerTools install mingw{32,64}-gcc-c++
CentOS 8 Mingw Compile Error with cc1plus
1,638,714,919,000
I'm trying to use certbot to get a certificate for my http server running nextcloud (archarm on a raspi). When I run: $ sudo certbot --apache, I get: $ sudo certbot --apache Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator apache, Installer apache No names were found in yo...
Sure, your /etc/httpd/conf/extra looks correct, but does your main Apache configuration file (or any file included by it) have anything like Include /etc/httpd/conf/extra or IncludeOptional /etc/httpd/conf/* in it anywhere?
certbot does not recognize the added VirtualHost
1,638,714,919,000
I'd like to switch off/on alternatively the microphone and the speakers with a simple click to avoid looping the voice in the speakers in a conversation. Is there such a possibility in a easy way ? I thought maybe about a script, but in this case what are the bash commands to switch off/on the microphone and the speak...
There is a command-line tool amixer which should allow you to perform the necessary tasks. First, run amixer controls to get a list of control options. You will likely get output like numid=XX,iface=MIXER,name='Master Playback Switch' ... numid=YY,iface=MIXER,name='Capture Switch' You can get the status of the con...
Alternate mike / speakers
1,638,714,919,000
Does dash have a non-interactive non-login rc file? I've read the man page, which recommends .profile for login shells and $ENV environment variable for interactive shells. Is there anything that runs for non-interactive non-login shells, such as zsh's zshenv files, or bash's $BASH_ENV environment variable? Is there ...
A typical shell does not have an rc file that is read for non-interactive shells. .profileis read for a login shell that is identified by an argv[0] that starts with a -. $ENV is read by an interactive POSIX shell and if not set already, the shell uses it's own default. This is .kshrc for ksh, .bashrc for bash and .sh...
Dash non-interactive non-login rc file
1,638,714,919,000
Trying to configure PHP to perform a core dump, I executed the following: [root@myserver ~]# echo '/tmp/core-%e.%p' > /proc/sys/kernel/core_pattern [root@myserver ~]# echo 0 > /proc/sys/kernel/core_uses_pid [root@myserver ~]# ulimit -c unlimited I do not know what the original ulimit values were, but they are now as ...
That looks like the default values to me. If you changed them using the CLI, the changes are not permanent. You can restart the session and they will revert to the original values. Similarly, proc changes are not permanent; a reboot will reset them.
Recommended ulimit values for Centos7
1,638,714,919,000
I have a .conf file in key/value format. But there may be some non-unique keys. Distinction between them is like below: ### ### [meta] ### ### Controls the parameters for the Raft consensus group that stores metadata ### about the InfluxDB cluster. ### [meta] # Where the metadata/raft database is stored dir = "/v...
Assuming your filename is foo.conf and you want to change dir value to "/dev/sdh", below code will replace dir keyword only for data section. sed -re '/^\[data\]$/,/^\[/ s/^(\s+)*(dir = .*)$/\1dir = "\/dev\/sdh"/' foo.conf /^\[data\]$/,/^\[/ This part makes sed works for only "data" section. You can replace "data" ...
How to change value of a key from terminal among non-unique keys in a .conf file?
1,638,714,919,000
I've just changed the /etc/ssh/sshd_config file on a server, where I want to deny all users except for one in a specific group. This is because I am in the disallowed group myself, but as the server's maintainer I want to be able to access it through ssh. So my problem is that, as it says in the man page, the order of...
As @muru has pointed out, when the manual says "the keywords on the following lines override those set in the global section of the config file", it means you have to use the same keyword, so you can do the following: DenyGroups student Match User myself DenyGroups none This worked for me.
How to allow only one user in a group in sshd_config
1,638,714,919,000
While I am working with Web API project with Slim, I was using .htaccess for API folder /v1 under root web. My OS is Ubuntu 16.04, with Apache/2.4.18. I wanted to apply the .htaccess only for the /v1 folder. The .htaccess file looks like this: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.p...
Since Apache 2.4 directives Order, Allow and Deny are deprecated and were replaced by the new Require syntax. Replace Order allow,deny Allow from all with Require all granted in your config. See https://httpd.apache.org/docs/current/upgrading.html It seems mod_rewrite is not enabled in your server. Enable the modu...
Apache/2.4.18 (Ubuntu) Server is not working with RewriteEngine mode by .htaccess for specific folder
1,638,714,919,000
Using the linux distribution nixos, I have 2 similar problems: I have to add my custom_syntax_color_scheme.vim file to the existing /share/vim/vim80/colors folder in the nix store from existing package nixos.vim I have to add a custom-tex-template.tex file to the existing /share/ghc-8.2.2/x86_64-linux-ghc-8.2.2/pando...
In both case, it is not needed to alter the files installed by the package: Put the custom colorscheme files into the folder ~/.vim/colors. This folder needs to be created. the option passed to pandoc --template should contain either the template file name with the extension, either the path to the template file name...
How to add an additional configuration file to an existing nix derivation?
1,638,714,919,000
From View man pages in Vim, I learnt how to open man pages in vim by adding the following lines to ~/.vimrc: " Enable viewing man page in vim by ":Man ..." runtime ftplugin/man.vim " Set keyword 'K' to use ":Man ..." to view man pages in vim set keywordprg=:Man However, this can only work for one Man per tab. What I ...
If there is only one manual window, all :Man commands affect that window. However if you split the window, any :Man command will affect the current or last used manual window.
How to open multiple man pages in split in vim?
1,638,714,919,000
I have secondary network adapter on my VM (VMnet 10). I am running Centos 7. Now, I can't detect my second NIC. Here are my configurations: I know that my secondary adapter is ens37 depending on my MAC address of my network adapter 2. I would like to configure it via terminal and via GUI. When I run the command: ls...
You should be able to create the ifcfg file by hand. I think this may be similar to the problem described here: https://serverfault.com/questions/715369/centos-virtualbox-no-icfg-eth1-when-adding-secondary-network-interface
NIC can not detect CentOS VMware
1,638,714,919,000
By default, rsyslog's config file is in /etc/rsyslog.conf. You can set the config file path on startup with the -f /path/to/file option. My question is: how can you find the config file if it's been set somewhere other than the default?
This will depend on the software and how it has been configured; rsyslogd at least the version present on Centos 7 does close the configuration file after reading it so a tool like lsof will not reveal that file once the daemon is up and running: % sudo lsof -p `pidof rsyslogd` | perl -nle 'print for grep -f, split' l...
How can I find the configuration file for rsyslog if it's not the default?
1,638,714,919,000
Seeking to make a netctl profile for a tap device. Here is the info I was given about the connection. GATEWAY=192.168.117.1 DNS=192.168.117.1 BROADCAST=255.255.255.255 **or** 192.168.117.255 (*I was given both of these different values*) PREFIX=31 STATIC IP ADDRESS=192.168.117.2/24 TYPE=TAP Netctl include...
Do I need to specify the broadcast address or gateway? From the looks of this article/thread titled: [SOLVED] Static IP wired connection doesn't work with netctl the broadcast address can be incorporated into the static IP's definition. For example, they provided you with this: BROADCAST=255.255.255.255 or 192.1...
How to make a netctl profile for a TAP device?
1,638,714,919,000
I'm need to add gateway from server dashboard page to routing list for accessing IPv6 from internet and I try to do this using ip -6 route add default via <gateway ipv6> but i geted this error RTNETLINK answers: No route to host
The system is trying to tell you: "I cannot reach that gateway address through any IPv6 networks I'm connected to." Is the gateway IPv6 address really within the address range of one of the IPv6 networks you're connected to? Ideally, an IPv6 router should be announcing itself using ICMPv6 router advisory messages, so ...
Debian IPv6 routing
1,638,714,919,000
I'm trying to create my own website using JSP, Tomcat... I'm trying to install Tomcat in Ubuntu (in my Cloud Instance) but I can't access my website. I trying to install Tomcat 9 and I'm using Ubuntu 17.10 x64 I use this tutorial: https://www.digitalocean.com/community/tutorials/how-to-install-apache-tomcat-8-on-ubunt...
Have you taken a look at the logs? Hopefully you could find them with sudo locate catalina. You could also try deploying the sample application to the webapps direcory.
I can't access my website using tomcat
1,638,714,919,000
This is somewhat related to Play subtitles automatically with mpv I am running mpv 0.26.0-3 and trying for the media file to load subtitles but is failing although mediainfo shows that there is en/utf-8 text file for about 80 KB . The media file is in mkv format - Format : Matroska F...
the answer is - either adding --sid=1 or --sid=2 depending if there are one or more subtitles internally. the two flags are also convenient if you have an internal subtitle and an external subtitle and want to choose between the two as well.
unable to get mpv to play embedded subtitles even with config file setting on
1,638,714,919,000
For example, I have a function in my .bashrc file: function open_bashrc() { gedit ~/.bashrc source ~/.bashrc } So anywhere I am, if I type open_bashrc, then it will open the .bashrc file. I can open it and change it, but after I save and click close, it doesn't do the second step source .bashrc. Rather I have...
I have this in my aliases file and it works: alias bashrc='vim ~/.bashrc && source ~/.bashrc'
How to source .bashrc file directly after I close and save?
1,638,714,919,000
I have noticed on my Arch Linux (with GNOME 3.24.2 and GDM) installation that my ~ is filled with files like this and they keep increasing: -rw-r--r-- 1 root root 0 May 8 00:01 wget-log -rw-r--r-- 1 root root 0 May 8 00:01 wget-log.1 -rw-r--r-- 1 root root 0 May 8 00:01 wget-log.2 -rw-r--r-- 1 root...
This looks like a bug, a regression from wget 1.18 to wget 1.19.1 which is used by Arch Linux. I have opened a bug report here: https://savannah.gnu.org/bugs/?51181 This bug is fixed in Wget 1.19.3, released on 19 January 2018.
Why do I keep getting wget-log file in ~ on Arch Linux?
1,638,714,919,000
I have Arch Linux with the latest grsec-hardened 4.9.x Linux kernel with paxd installed. But because of this when I try to run Java I get the following error: Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x0000035ea1000000, 2555904, 1) failed; error='Operation not permitted' (errno=1) # # There ...
paxctl should work for you, root #paxctl -h PaX control v0.7 Copyright 2004,2005,2006,2007,2009,2010,2011,2012 PaX Team <[email protected]> usage: paxctl <options> <files> options: -p: disable PAGEEXEC -P: enable PAGEEXEC -e: disable EMUTRAMP -E: enable EMUTRAMP -m: disable MPROTECT ...
How can I run Java on a grsec-hardend Arch Linux kernel with paxd?
1,638,714,919,000
I've install both vi & vim in RedHat 6.7. Both of them are 7.4 but with different features turn on or off. I've setup a line in ~/.vimrc set mouse=a And the color scheme molokai is imported by plugin manager dein. These features are workable when I type vim, but it shows error message when I use view which is a link t...
For those features that are listed in :version output, you can use if has('mouse') conditionals. Another built-in function that can be used for many tests is :help exists(). The sledgehammer method: just prepend :silent! in front of the command; it will silence any errors. If vi is a different binary, you can also ch...
How to write a workable .vimrc for both vim & vi in Red Hat 6?
1,638,714,919,000
I would like to know what is the order followed by kbuild when configuring the kernel and what is the order that it's more convenient to use when writing CONFIG_ options in the .config file . I have read the docs about kbuild but so far no specs on the order of the operations .
You should strive to not have order dependencies! The system starts at the first line of the top level Kconfig file, and processes each line in turn. When it sees a 'source' line, it suspends reading the current file, processes the specified file. When it gets to the end of a file it resumes where it was in the previo...
Scanning order of the kbuild / kconfig kernel build system?
1,638,714,919,000
After editing some configurations on the dhclient configuration file (/etc/dhcp/dhclient.conf) the changes doesn't seem to have any effect until I reboot the machine. Since dhclient is running on the background, I believe the process needs to restart to actually read the configuration file again and apply said changes...
Re-activate the connection. For example via nmcli connection up $NAME or any other client of NetworkManager. You usually wouldn't restart NetworkManager.
dhclient - Applying configuration changes with no reboot
1,469,094,356,000
I was reading a thread on the bug-bash mailing list and saw: Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu ... Since this "Configuration Information" header appears in other threads I assume there is some kind of tool to get it automatically. However, I tried with d...
The tool that creates that report is called bashbug and it's part of bash package. See man bashbug for more details.
How to create a "Configuration Information [Automatically generated, do not change]"?
1,469,094,356,000
In my mac os x computer, node.js, you can use 'require()' to load your configuration files, but I am tired of having to do that on all my programs. Is there a way to make node.js automatically load config files? I tried to put this in my .bash_profile: alias node='node var config = require("./config")' When I enter t...
Use -r switch instead. e.g node -r ./config.js It will preload that module, and keep the shell for you.
How can I make node.js automatically load config files?
1,469,094,356,000
Having not had to muck about with the X configuration in quite a while I've recently found that many Linux current distros no longer use an xorg.conf file (unless it is manually created for whatever reason) instead configuring X on the fly at boot. So where is this configuration stored now such that it can be perused?...
Xorg logs to /var/log/Xorg.n.log where n is the server log file for display n. In newer implementations1, the log file may be found at $HOME/.local/share/xorg/Xorg.n.log. The log will contain all of the currently loaded values for the running display, including any configuration options loaded through conf files in /e...
X configuration location on systems that configure X on the fly at startup
1,469,094,356,000
I've had the same issue as described in this question, and the solution of replacing $document_root with it's absolute path worked until redirects added the absolute path to the URL, as in: EXPECTED http://domain/pma/ REALITY http://domain/var/www/pma/ I'm about to pull my hair out of frustration here. Please help m...
The root directive is defined inside location, this causes your problem. Defining the root directive directly at the level of serversets the proper value of variable $document_root, which will also get available inside hhvm.conf. server { listen 80; server_name localhost; root /var/www; loca...
nginx/HHVM 404, fixed replacing $document_root with absolute path, but redirect adds path to URL
1,469,094,356,000
I have Redmine/Git/nginx/fcgiwrap running in a jail on FreeBSD 9.3 for (potentially) authenticated Git commits over HTTP/S. Everything works until I restart the jail. In order for a commit to work I need to manually change /var/run/fcgiwrap/fcgiwrap.sock from srwxr-xr-x root:wheel to srwxrwxr-x root:www. It seems like...
OK. Never mind. I was closer to the solution than I thought. Reading through Practical rc.d scripting in BSD I just needed to add fcgiwrap_user="www" to /etc/rc.conf.
How to configure which user fcgiwrap runs as on FreeBSD?
1,469,094,356,000
I'm trying to configure the following restrictions in my sshd_config: Users with local IP addresses face no restrictions Users with non-local IP addresses, who are in the sftp group, are allowed to use sftp in a chroot jail Users with non-local IP addresses, who are not in the sftp group, are not allowed to do anythi...
Your netmaks are incorrect. If you want to include private networks, you should use : 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16 This is probably why you do not match, rather than a ssh bug.
Unexpected Match behavior in sshd_config
1,469,094,356,000
I hosted one application UI in apache-tomcat server. I had set environment variables in bin/setenv.sh file as: CATALINA_OPTS="-server -Xms256m -Xmx512m -XX:PermSize=512m -XX:MaxPermSize=1024m Every time I perform a huge operation,(ex: Generating report with all the data in the application), 'JavaHeapSpace' exception...
What are -Xms and -Xmx? Xms256m ---> Selects a low initial JVM heap size for an application. So, Xms specifies the amount of memory, in Megabytes, that will be used to start the server. Xmx512m ---> Selects the maximum JVM heap size permissible for an application. So, Xmx specifies the maximum amount of m...
What is the perfect combination of Environment Variables for Tomcat? [closed]
1,469,094,356,000
I get a lot of config folders in my home folder. I assume that is, because $XDG_CONFIG_HOME is not set and some software (e.g. fontconfig, umlet) does not follow the standards. $XDG_CONFIG_HOME defines the base directory relative to which user specific configuration files should be stored. If $XDG_CONFIG_HOME is eith...
Insted of .bashrc put the setting line to /etc/profile. This file is loaded on every user login just like .bashrc is for a specific user. The bonus is this works for other shells and sessions as well.
How to correctly set the XDG base dirs gobally and dynamically
1,469,094,356,000
I'm trying to set my color syntax highlighting in nano, but it doesn't work as expected. One system everything works. This is an Fedora 21 laptop. Two systems everything I've tried except man something works. This is an Fedora 21 desktop and an Fedora 21 vm in VirtualBox. One system only one file I've tried works(ope...
I since found that there is a bug in nano < 2.7.4-1 nano: /etc/nanorc is ignored, if ~/.nanorc exists Latest from the bug report: I just made the dist-upgrade to Debian 9.0, which included an update of package nano to version 2.7.4-1 and the problem vanished, the bug is solved in 2.7.4-1. The bug report: bug
Color syntax highlighting working on one system but not the others. Same nanorc file
1,469,094,356,000
I am sorry to post this type of question here but due to the great experience and skillsets here, I hope for your understanding. I am using (unfortunately) httpd package (v 2.4.6). In various guides, I see that many modules defined in httpd.conf are loaded as follows (ending with ".c" <IfModule mod_headers.c> Other m...
You have to check this page: The module argument can be either the module identifier or the file name of the module, at the time it was compiled. For example, rewrite_module is the identifier and mod_rewrite.c is the file name. If a module consists of several source files, use the name of the file containing the stri...
httpd 2.4.6 on CentOS 7 - question related to module config in httpd.conf
1,469,094,356,000
I added a new keybinding to my rc.xml and now I get this message every time I log into Openbox. Also, the right-click menu does not work anymore either. Now I would have fixed the error myself, but unfortunately my rc.xml does not have a line 749. It ends at 748. And I am a bit puzzled at how to "see stdout". This i...
You need to close the <startupnotify> tag with a corresponding </startupnotify>. See the official documentation.
Openbox Syntax Error in ~/.config/openbox/rc.xml [closed]
1,469,094,356,000
The kdebase-workspace package on Arch Linux only preservers changes made to /usr/share/config/kdm/kdmrc when the package is updated. I need to edit /usr/share/config/kdm/Xsetup to get my monitors to rotate correctly, but the changes get lost every time kdebase-workspace gets updated. The Arch Wiki recommends copying /...
Files under /usr are meant to be under the control of the package manager (except for files under /usr/local). Configuration files that the system administrator may modify live in /etc. This is part of the traditional unix directory structure and codified for Linux in the Filesystem Hierarchy Standard. The recommendat...
Why do upgrades to KDM/KDE not preserve changes to configuration files?
1,469,094,356,000
I'm sure that I'm just missing something really simple here, but I have the following sudoers file where I'm intending certain users to be allowed to run a couple of commands as the repomgr user without a passphrase: lambda@host:~$ sudo cat /etc/sudoers.d/repo Cmnd_Alias REPO_LOAD_PASSPHRASE = /bin/bash -c /home/repom...
Well, yep, it sure was something obvious as to why it wasn't working. When I had fixed the bug that I needed to add /bin/bash -c to allow the use of -i, I hadn't changed the full path for the command, /usr/bin/reprepro, to what I was actually passing in, reprepro. Changing it to use the full path as below, or likewise...
NOPASSWD option not applying to second command
1,469,094,356,000
I want to get rid of the xscreensaver config file in my home .xscreensaver. I read in man xscreensaver, that: Options to xscreensaver are stored in one of two places: in a .xscreensaver file in your home directory; or in the X resource database. If the .xscreensaver file exists, it overrides any settings in th...
The X resource database is a kind of configuration abstraction (somewhat analogous to the MS-Windows registry). You create/manage one or more text configuration files (system wide ones, and ~/.Xdefaults), these are loaded into the X server by during the startup process, and applications can query the relevant settings...
configure xscreensaver through X resource database
1,469,094,356,000
On the site (mongodb) it lists ... Create a /etc/yum.repos.d/mongodb.repo file to hold the following configuration information for the MongoDB repository: then... [mongodb] name=MongoDB Repository baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/ gpgcheck=0 enabled=1 I am confused as to what the na...
I will try to do my best to help you, using the informations you gave us. Assuming you have a 64 bit CPU (uname -p to check this, x86_64=64 bit), you have to just add the repository as you stated, than issue this commands: yum clean all this will clean your yum cache and you should be able to see the new mondodb repo...
How do you Configure Package Management System (YUM) for MongoDB
1,469,094,356,000
I added the below 2 lines in the end of the configuration file /etc/vsftpd.conf so as to deny a local user named 'tentenths' from loggin in the ftp server. I restarted the vsftpd service after the change. But still the user was permitted to login. Where am I mistaken! userlist_deny=YES userlist_file=/etc/vsftpd.denied...
You also need to add this configuration option: userlist_enable=YES Details userlist_deny — When used in conjunction with the userlist_enable directive and set to NO, all local users are denied access unless the username is listed in the file specified by the userlist_file directive. Because access is denied before ...
Not able to deny selected local user to login ftp server
1,469,094,356,000
I have a few different Ubuntu installs and this is the first time I've experienced this. I have emacs-nox installed, because I hate graphical versions of emacs. Normally when I type emacs test.txt it will load test.txt if it exists and load a blank file if it does not exist. Instead, on this machine, it says: File ex...
Following the comment by @EvanTeitelman , I looked at the output in the question's edit, deleted the non-existent but locked-down directory ~/.emacs.d, and now it works. sudo rm -r ~/.emacs.d This appears to be a common thing, at least on Xubuntu. I noticed another installation doing it today. So hopefully this wi...
emacs-nox doesn't load the files I ask it to at command line
1,469,094,356,000
I want map the key Ñ (Shift+ñ) to : in the normal mode of vim. I've searched vim configs with Ntilde but I've found nothing. Any idea?.
Marco suggested nmap Ñ : and it works perfect.
map "Ñ" to ":" in vim
1,469,094,356,000
Here is what I currently have online, as you can see there is no information about my debian server. (While was installing I tried to follow next instructions) What I have changed in default gmond.conf: cluster { name = "dspproc" owner = "unspecified" latlong = "unspecified" url = "dspproc" } udp_send_channe...
I seem to remember having a similar problem when setting up Ganglia many moons ago. This may not be the same issue, but for me it was that my box/network didn't like Ganglia's multicasting. Once I set it up to use unicasting, all was well. From the Ganglia docs: If only a host and port are specified then gmond will s...
How to configurate ganglia-monitor on a single debian machine?
1,469,094,356,000
I have a recent problem with my sound configuration. Basically, it's way too loud until I set the volume below 10%. And then it's very quickly too silent. Using the alsa mixer, I can set the headphone volume and PCM volume to about 50% and then obtain a reasonable range on the master. But any application using pulse w...
So in the end, I figured out that my profile was called analog-output-headphones. And the relevant configuration file is there: /usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf For some reason, the configuration of my alsa card is such that the master volume doesn't do anything and I haven't found...
How to change mixing of channels by pulse audio / alsa
1,469,094,356,000
Where can I find configuration file for uw-imapd on debian? Is there even one?
From what I can tell, there is no configuration file for uw-imapd. It is known for needing very little configuration. But according to this link, you should be able to change some settings by modifying xinetd.d configs.
Where can I find configuration file for uw-imapd on debian?
1,469,094,356,000
It seems my configuration for root doesn't have access to DNS even though my lower-privileged user does. $ ping google.com PING google.com (142.251.32.110) 56(84) bytes of data. 64 bytes from 142.251.32.110 (142.251.32.110): icmp_seq=1 ttl=64 time=1.35 ms 64 bytes from 142.251.32.110 (142.251.32.110): icmp_seq=2 ttl=6...
The problem was that I updated the automount settings in my wsl.conf. [automount] root=/home/myuser Once I reverted this change root was once again able to access the internet. I believe this is due to a boot order problem because /home is not available soon enough to configure the network for root.
No DNS for root?
1,469,094,356,000
Good evening! I'm trying to create a streaming setup for me and my buddies to hang out via Skype and I'm really struggling with the audio part. There are two problems : The microphone only transmits on the left channel. I would like for my microphone to be transmitted to both audio channels. For this, according to th...
Of course, once you formulate your own question, it sort of gives you an idea of what to look out for. First of all, I needed to create two virtual devices which will serve as a base of operations. This file will be named ~/.config/pipewire/pipewire.conf.d/10-coupled-skype-stream.conf . How did I come to that conclusi...
Chaining pipewire sinks for a streaming setup
1,469,094,356,000
I have two users on my ssh-server machine, user_A and user_B. user_B is permitted to log in with private key only for security reasons, because he needs to log in from remote. All this works. My problem: How do I prevent user_A to login likewise from remote with username/password, because he only needs to login from ...
First, there is error in your Match statement as it should be Match address 192.168.10.0/24 and not just Match 192.168.10.0/24. Your version gives an error message when trying to restart sshd. Didn't you get one? Second, you should Match on user name, not on address. The following should work: Match user user_A All...
How to restrict user login for specific IP-address (private address)?
1,681,080,673,000
I'm on a Fedora Server 37 iso, so no DM/DE is pre-installed. Install wayland, lightdm, and lightdm-gtk-greeter. Edit lightdm's config to use lightdm-gtk-greeter (Line 102) change greeter-session=example-gtk-gnome to greeter-session=lightdm-gtk-greeter (Line 107) change user-session=default to user-session=qtile Tr...
or do I need an entire x server package along with wayland to get LightDM running? LightDM requires the full featured Xorg server. You may want to install GDM, the only display manager which works in pure Wayland mode as of April, 2023. Addendum: Fedora 38 contains a GIT version of SDDM which can work in Wayland mod...
How to switch lightdm-gtk-greeter to use wayland only? (x11 not installed)
1,681,080,673,000
Is it possible to check the different status of video drivers when it is on, is off, in error, in no-signal? Example: monitor off - some state 0-, monitor no-signal - some state not connected and so on?
Try this: grep . /sys/class/drm/card0-*/{status,enabled,dpms}. If this doesn't satisfy your needs, just leave a comment below.
How to detect display driver info
1,681,080,673,000
I have this configuration with Samba 4.14.12: [global] netbios name = MyRouter interfaces = br-lan eth0 server string = MyRouter unix charset = UTF-8 workgroup = WORKGROUP bind interfaces only = yes #server min protocol = SMB2 passdb backend = smbpassw...
I solved the problem. The problem is that the wsdd (WSD/LLMNR Discovery/Name Service Daemon) protocol was missing. From package wsdd2 on Github With Microsoft turning off SMB1 feature completely on Windows 10, any Samba shares on the local network become invisible to Windows computers (start from windows 7). That's d...
SAMBA(Openwrt) Share not show in File explorer (Windows 7)