stackexchange   4307

« earlier    

Talkyard: Open-Source forum software – a StackOverflow, Reddit, Disqus hybrid | Hacker News
I've been using the hosted version of this ( on a blog for a while and have been very satisfied. I like how the threaded discussion looks, and also like the live preview edit box which works well for long form comments.
stackoverflow  stackexchange 
34 minutes ago by dano
shell - How can I find the path to a script being sourced in dash? - Stack Overflow
Q: I am trying to have a sourced shell script determine its own location, and I have found that this is a difficult task for dash.

In bash, sh, and csh, I can use: $_.

In fish, I can use (status -f).

In dash, I have had no luck... [...]
2015  forumthread  stackexchange  scripting  shell  dash  bash  posix  unix  tips  example  issue  workaround 
yesterday by ezequiel
xubuntu - Why does light-locker keep the screen black after unlock? - Ask Ubuntu
Q: A Xubuntu 16.04 fully patched machine with a freshly created user wont let me unlock after using light-locker to lock my screen (regardless if lock was activated manually or via timeout). The screen remains black (but powered) on correct password entry

Killing light-locker from tty1 will reveal the desktop then (and consequently prevents further locking). [...]

A: TL;DR: light-locker keeps the screen black if systemd cannot read /proc

* light-locker depends on dbus providing IPC.
* dbus depends on systemd-logind providing session information.
* systemd-logind depends on /proc providing process information. [...]
2017  forumthread  stackexchange  internals  desktop  xfce  xubuntu  issue  workaround  tips  example  cli  sysadmin  security  hardwaresupport  systemd  dbus  ui 
3 days ago by ezequiel
xfce - Xubuntu: black screen after lock screen (light-locker, lightdm, logind, xfce4-power-manager) - Ask Ubuntu
Q: [...] The problem is that when my laptop goes into lock screen (or maybe suspend but I always disable that in power management options so it shouldn't), then it is quite common that I am not able to login back to it. Screen stays black after opening lid and pressing a button. [...]

A: The issue is due to lightlocker and XFCE no longer playing well.

I was able to fix this issue by upgrading to XFCE 4.14 from the Xubuntu staging PPA, removing light-locker and installing xfce4-screensaver. Please note I did this from a clean install of 18.04.3, so you might need to restore any changed settings.

sudo add-apt-repository ppa:xubuntu-dev/staging
sudo apt update
sudo apt upgrade
sudo apt remove light-locker
sudo apt install xfce4-screensaver
xfce  desktop  issue  workaround  packages  cli  sysadmin  debian  ubuntu  mint  security  forumthread  stackexchange  2019  ui  tips  example 
3 days ago by ezequiel
xorg - How is my Intel gpu running without its driver installed? - Ask Ubuntu
Q: When I boot my Xubuntu 17.04 PC with the integrated Intel gpu, it runs fine (with screen tearing) at full native resolution without the xserver-xorg-video-intel package installed. But, lshw -c video lists the driver in use as driver=i915. How is this possible?
xubuntu  ubuntu  intel  driver  xorg  kernelmodule  hardwaresupport  forumthread  stackexchange  2017  info  links  opengl  memory 
8 days ago by ezequiel
ssh - How to prevent ecryptfs from umounting home if tmux is still running? - Ask Ubuntu
Q: [...] So is there a way to prevent ecryptfs from umounting my home if there is still a (detached) tmux session running?
I know that i could just disable the encryption, but i would rather like to keep it and solve the problem someway else.
2013  forumthread  stackexchange  linux  ecryptfs  issue  workaround  tips  cli  scripting  sysadmin  filesystem  security  example 
9 days ago by ezequiel
linux - How to blacklist a correct bad RAM sector according to MemTest86+ error indication? - Unix & Linux Stack Exchange
Q: MemTest86+ (the version included with Ubuntu 13.04) says

Failing address: 002f796c48 - 759.5 MB

What should I specify in the memmap kernel parameter to bypass this area? [...]
memory  issue  workaround  booting  grub  kernel  kernelpatches  forumthread  stackexchange  2013  hardwaresupport  configuration  sysadmin  tips  links  x86  amd64 
9 days ago by ezequiel
How to use wget with ssl certificate - Stack Overflow
Q: I am using wget in my program to get some file using HTTP protocol. Here i need to set security so we moved HTTP protocol to HTTPS.

After changing to HTTPS how to perform wget. I mean how to make trusted connection between two machines then perform wget.

I want to make sure that wget can be performed from certain system only.
2014  tool  cli  example  security  tls  ssl  tips  forumthread  stackexchange  unix  linux  macosx 
12 days ago by ezequiel
encryption - SSH remote user need to be logged in? - Ask Ubuntu
Q: I'm trying to set up an SSH server. I put my public key in the authorized_keys file, made sure the permissions were correct, etc.

When I restart the server (really just Ubuntu 12.04 desktop) and I ssh to it without first logging in on the server, I am asked for a password. If, however, I log into the server, I can ssh without being asked for a password. [...]

A: The problem usually arises if your home directory is encrypted. The usual solution is to put your keys in a directory other than your home directory, and point your sshd_config file to it.

For example:

1. Move your authorized_keys file on the server from /home/buck/.ssh/authorized_keys to something like /etc/ssh/keys/buck/authorized_keys [...]
2012  forumthread  stackexchange  ecryptfs  encryption  ubuntu  debian  security  sysadmin  filesystem  issue  workaround  tips  example  configuration  ssh  remote 
13 days ago by ezequiel
encryption - Will changing password re-encrypt my home directory? - Ask Ubuntu
Q: I need to change my user password. Do I need to take any extra steps for my encrypted home directory to become inaccessible with my old password and only accessible with my new password?

A: There is no need to re-encrypt your home directory, and no further steps need to be taken.

Your home directory is not directly encrypted with your password. Instead, the passphrase used to encrypt the home directory is itself encrypted with your password.

When you change your password, the home directory passphrase is re-encrypted with your new password, so you should have continued access to your files with the new password. [...]
2011  forumthread  stackexchange  ecryptfs  encryption  ubuntu  debian  ubuntu.lucid  security  cli  sysadmin  filesystem  issue  workaround  tips  example 
13 days ago by ezequiel
linux mint - mount: No such file or directory with encrypted recovery - Unix & Linux Stack Exchange
Q: [...] Nothing I’ve tried seems to work and I don’t have the original mounting seed. I’ve also tried sudo ecryptfs-recover-private but my system then just says No such file or directory:

frankenmint@honeybadger /home $ sudo ecryptfs-recover-private
INFO: Searching for encrypted private directories (this might take a while)...
INFO: Found [/home/.ecryptfs/frankenmint/.Private].
Try to recover this directory? [Y/n]: y
INFO: Found your wrapped-passphrase
Do you know your LOGIN passphrase? [Y/n] y
INFO: Enter your LOGIN passphrase...
Inserted auth tok with sig [979c6cdf80d2e44d] into the user session keyring
mount: No such file or directory
ERROR: Failed to mount private data at [/tmp/ecryptfs.Hy3BV96c].


A: I found that running sudo bash and then running ecryptfs-recover-private as root (rather than via sudo) worked. Not sure why it should be any different.


# ecryptfs-unwrap-passphrase /mnt/crypt/.ecryptfs/user/.ecryptfs/wrapped- passphrase - | ecryptfs-add-passphrase --fnek -
< Type your login password here >
Inserted auth tok with sig [aaaaaaaaaaaaaaaa] into the user session keyring
Inserted auth tok with sig [bbbbbbbbbbbbbbbb] into the user session keyring

You will not see a prompt and must type your login password, blind, into the above command. [...]
2016  forumthread  stackexchange  cli  sysadmin  encryption  filesystem  ubuntu  debian  mint  tips  issue  workaround  example  guide  linux  security  mount  ubuntu.xenial  ubuntu.trusty  ubuntu.bionic  ecryptfs 
14 days ago by ezequiel
windows - How to make "git branch" respect the "core.ignorecase" flag on Linux? - Stack Overflow
Q: [...] How to make “git branch” respect the “core.ignorecase” flag on Linux? [...]

A: [...] You can't, because the flag doesn't do what you think it does. [...]
2011  forumthread  stackexchange  git  cli  configuration  tips  example  issue  filesystem  windows  linux  unix  workaround 
17 days ago by ezequiel
internet - Netgear N-300/ WNA3100 USB Adapter for Ubuntu 16.04 - Ask Ubuntu
Q: I am new to Linux and Ubuntu and I am having trouble connecting to the Internet.

I have a netgear WNA3100 USB Adapter and I don't have anything in my additional drivers.

A: You can add Support for the Netgear N-300/ WNA3100 USB Adapter by installing the ndiswrapper and loading the Windows network driver. [...]

(me: ndiswrapper fails to build when using kernel-headers >= 5.0 (on i686), then (even if patched) the 32-bit WinXP driver from NetGear does not work: ndiswrapper causes an "oops" because of the "nx" cpu protection bit; then, after disabling this (see another link saved today), ndiswrapper gives yet another error. Result (so far): failed).
ndiswrapper  issue  howto  guide  tips  example  cli  sysadmin  networking  wifi  2016  ubuntu  configuration  usb  driver  drivers  windows  links  linux  kernelmodule  forumthread  stackexchange 
22 days ago by ezequiel
linux - How to turn off Wireless power management permanently - Unix & Linux Stack Exchange
Q: In Linux Mint 17.3 / 18 iwconfig says the power management of my wireless card is turned on. I want to turn it off permanently or some workaround on this issue.

sudo iwconfig wlan0 power off works, until I reboot the laptop.

Also, if I randomly check iwconfig, sometimes it's on, despite I did run this command. [...]

A #1: Open this file with your favorite text editor, I use nano here:

sudo nano /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

By default there is:

wifi.powersave = 3

Change the value to 2. Reboot for the change to take effect. [...]
2016  forumthread  stackexchange  linux  ubuntu  mint  debian  networking  software  configuration  sysadmin  powermanagement  usb  issue  workaround  cli  links  documentation  tips  example  wifi 
22 days ago by ezequiel
exploit - How to disable NX on Linux - Super User
Q: I'm learning stack buffer overflow exploitation, and I later posted question Shellcode segmentation fault. about that executing shellcode from test program, or when injected to vulnerable program, causes segmentation violation. Now I found out that it might be caused by NX. When I search for this in dmesg I found this line:

[ 0.000000] NX (Execute Disable) protection: active
2018  forumthread  stackexchange  kernel  booting  security  grub  configuration  sysadmin  howto  x86  amd64  example  tips  links  linux  exploit  cpu  bios 
22 days ago by ezequiel
15.04 - Unable to install tp_smapi 0.41 on Thinkpad T500 - Ask Ubuntu
I have downloaded tp_smapi module for my Thinkpad T500 using the steps in ThinkWiki and ran make. it encountered no errors.


But when i tried to view the status of the battery using tlp, it shows as not loaded/installed:

root@Forge:/storage/Repository/git/tp_smapi# tlp-stat -b
--- TLP 0.7 --------------------------------------------

+++ ThinkPad Extended Battery Functions
tp-smapi = inactive (kernel module 'tp_smapi' load error)
tpacpi-bat = inactive (unsupported hardware)
2015  hardwaresupport  laptop  battery  kernelmodule  tool  linux  forumthread  stackexchange  ubuntu  issue  workaround  links  sysadmin 
27 days ago by ezequiel
How to configure KODI to run in windowed mode from command line? - Ask Ubuntu
Q: I am running Kodi via XServer from 2-monitor remote conputer. When Kodi starts, it occupies entire 2 monitor are and absolutely useless.

It has a config to run in windowed mode, but how to activate it from command line? [...]
2016  forumthread  stackexchange  issue  configuration  cli  example  tips  gui  hardwaresupport  windows  linux  xorg  x11  xbmc 
27 days ago by ezequiel

« earlier    

related tags

2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019-ncov  2019  against  amd64  api  apt  article  askubuntu  atmel  attiny  aviation  avr  aws  baking  bash  battery  bios  booting  branch  browser  build  bypass  c++  c  calculus  capacitor  cardgame  category_theory  circuits  clang  cleanup  cli  cloudcomputing  colour  communication  community  compatibility  compiler  compilers  computer_science  computerscience  configuration  continuity  cooking  covid-19  cpu  criticalsystems  crypto  daemon  dash  data  dataexplorer  dbus  debian  debug  delete  desktop  development  discussion  dna  dns  docker.container  docker  documentation  driver  drivers  dsa  dsp  dump  ecryptfs  electronics  elgamal  encryption  example  excel  exodus  exploit  extension  faq  fileformats  filesystem  firewall  food  forum  forumthread  free  freedesktop  gambling  game  gcc  german  git  github  gnu  gnupg  gpg  grub  gui  guide  halakha  hang  harddisk  hardwaresupport  headers  history  howto  hsm  html  http  human-virus  humor  images  info  init  insightful  install  intel  interlinear  internals  internet  iptables  ipv6  issue  json  judaism  kernel  kernelmodule  kernelpatches  kvitlach  laptop  letter  lgbt  library  libreoffice  linking  links  linux  lxde  mac  macos  macosx  manpage  math  memory  mint  miyodeya  moderation  mojave  moneysaving  mount  mssql  ndiswrapper  networking  nginx  office  older  oop  open  opengl  openletter  opensource  os  osx  packagemanager  packages  pam  people  performance  pgp  physics  pigeonhole  poker  posix  powermanagement  privacy  programming  programming_languages  pronoun  protocol  proxy  python  q&a  qna  question  quotes  raspberrypi  raspbian  rdp  reference  remote  repository  rf_networking  rsa  schematics  science  sck  screen  scripting  seasoned_advice  security  sharedlibraries  shell  so  sockets  software  sql  ssh  ssl  stackoverflow  storage  super  support  synaptics  sysadmin  systemd  tcl  terminal  texasholdem  textprocessing  threads  timeline  tips  tls  tmux  tool  tools  topology  ubuntu.bionic  ubuntu.lucid  ubuntu.trusty  ubuntu.xenial  ubuntu  ui  unix  usb  vim  virtualisation  wifi  windowmanager  windows  words  workaround  wuhan-coronavirus  x11  x86  xbmc  xfce  xorg  xterm  xubuntu  yaml  yum 

Copy this bookmark: