Questions tagged [debian-stretch]
89 questions
26
votes
6 answers
systemctl --user Failed to connect to bus: No such file or directory Debian 9
When I run this commande in my Debian 9 VPS : systemctl --user I have this following error : Failed to connect to bus: No such file or directory
This error appear on all users except the user root.
I already have the dbus dbus-user-session systemd…
Alexandre Sandolo
- 361
- 1
- 3
- 6
8
votes
1 answer
OpenSSL bad decrypt between 0.9.8o and 1.1.0f
I use OpenSSL to encode clear text and decode it on several remote servers. Whilte I was testing my scripts to ensure Debian 9 Stretch compatibility and found an error.
Here is the way I test:
Debian 6, OpenSSL 0.9.8o, encoding a string:
# echo "Hi…
Leahkim
- 363
- 2
- 10
7
votes
5 answers
Ansible installed via pip3, but Ansible commands not found
I have installed Ansible via pip3, but I can't find the Ansible commands (ansible --version, ansible-playbook, etc.)
Here's the listing that shows that Ansible is installed via pip3:
:~# pip3 list | grep ansible
DEPRECATION: The default format will…
Jinja_dude
- 207
- 1
- 3
- 9
7
votes
2 answers
What does GRUB_DEFAULT="1>2" mean?
One of our Debian-servers won't boot into the newest installed kernel, and during troubleshooting I came across this:
grep GRUB_DEFAULT /etc/default/grub
Output:
GRUB_DEFAULT="1>2"
I haven't seen this syntax before. What does this mean?
kenneho
- 203
- 2
- 6
7
votes
1 answer
Debian 9 random freezing on new PC
After installing GNU/Linux to my new PC build a few months ago, I've been having random freezes that are becoming more frequent. The screen freezes with no cursor movement, or response to the keyboard. I first had this issue with Kubuntu, but after…
Hussar
- 73
- 1
- 7
6
votes
1 answer
How to properly handle a Docker container as a systemd service?
I handle many services (databases, web servers...) implemented by docker containers via systemd units.
It works, but the system takes a very long time to shut down, apparently waiting for docker services to shut down.
Here is an example of a systemd…
berty
- 81
- 1
- 6
5
votes
1 answer
How to boot Debian headless (without GUI)
I configured a web mapping service on a debian system in VirtualBox and used to GUI to make it easier for me as a linux newbie. But now the system is done and working and shall be moved to a VM on our cloud service for customer use. There the GUI is…
Merion
- 153
- 1
- 1
- 4
5
votes
1 answer
Run script before other units stop on shutdown
I need to run a script before a set of other services on my machine stop when shutting the machine down. (In my case, terminating an EC2 instance.)
I have tried variations on the answer in this question but nothing works: How do I run a script…
2rs2ts
- 699
- 2
- 8
- 18
5
votes
3 answers
Debian 9 LXDE Autologin doesn't work
I've set in lightdm.conf these 2 settings (under the Seat:* section) and the autologin doesn't work. It still ask me for user and password
autologin-user=user
autologin-user-timeout=0
I've tried with this setting in addition, but it still doesn't…
DSX
- 151
- 1
- 6
5
votes
2 answers
Debian Stretch 9: What changed to keyboard configuration (in X)?
Up to Debian 8, I could configure the keyboard this way:
setxkbmap -model pc105 -layout us -variant alt-intl
How do I achieve the same effect in Debian Stretch? What has changed?
I do remember that, at some Debian version, I had to do that command…
ribamar
- 51
- 1
- 7
4
votes
2 answers
Getting total cpu time spent on debian process (even for short-live processes)
for my master's thesis I'm trying to get resource usage information about MQTT brokers on a debian machine.
I'm having troubles finding a way to find out how much total cpu time debian has spent on a process I'm doing resource usage statistics for.…
Melvin Bender
- 41
- 3
4
votes
0 answers
Xbindkeys not working
I'd like to map some buttons of my mouse, but it's not working.
I've been trying xbindkeys unsuccessfully.
Here is one of the commands :
# Bind "back" mouse button to Ctrl+F8
"xte 'keydown Control_L' 'key F8' 'keyup Control_L'"
b:6
If I type…
ztheoz
- 41
- 5
3
votes
1 answer
TCP TSO on nginx very slow transfer 5kb/s on static files - Debian 9
something blocking nginx when requesting a file. Debug log show:
2019/05/12 15:42:31 [debug] 28971#28971: *15 epoll add event: fd:47 op:3 ev:80002005
2019/05/12 15:42:34 [debug] 28971#28971: *15 http run request: "/autobahn.js?"
It looks like…
rst630
- 41
- 5
3
votes
3 answers
Locked out of sudo by erroneous PAM config causing PAM bad jump in stack
While trying to mitigate some spammy PAM messages in /var/log/auth.log, following this post, I tried various combinations in /etc/pam.d/sudo. Unfortunately, the last line I tried, completely locked me out of any sudo/su operations.
session…
not2qubit
- 1,993
- 4
- 28
- 35
2
votes
0 answers
AMD Radeon 4200 DisplayPort issue in Debian 9
I am trying to get Debian 9 working on my friend's computer. I've got everything working except for sound through the DisplayPort. I've checked pavucontrol and alsamixer, and it simply doesn't appear as an audio device at all, only the analog sound…
Silent Hunter
- 21
- 3