Questions tagged [ubuntu]
Please don't use this tag just because your system is running Ubuntu. Use it **only** if your question is somehow specific to Ubuntu only. Note that https://askubuntu.com is specifically dedicated to Ubuntu questions.
13,551 questions
0
votes
0
answers
35
views
My system doesn't record last log in for users
I wrote a code to display last login date for every user on Ubuntu to help admins define which users are inactive, the problem is it displays every users last logins dates since 1970 (the output looks ...
0
votes
1
answer
28
views
Journal or Diary App thats both secure and customizable
Looking for a private journal app that is customizable in font size and style and similar functions to Libra writer. Why you ask? I am a Tinkerer, and a Philosopher of sorts, and am looking for that &...
2
votes
1
answer
24
views
Cannot set valid_lft to forever in Ubuntu 24.04 with diskless network boot, causes freeze
After starting Ubuntu 24.04 over the network, I have a problem where valid_lft, after going down to 0, causes the system to freeze.
valid_lft can be checked by executing the command ip a.
How can I ...
0
votes
1
answer
40
views
Where to set XDG_RUNTIME_DIR per user?
So I ran into the following interesting problem:
I tried to define XDG_RUNTIME_DIR in my .bashrc as follows:
export XDG_RUNTIME_DIR=$MY_HOME/.local/share
After doing this I noticed my pactl cli ...
0
votes
2
answers
77
views
I have installed Ubuntu virtually on my laptop using VMWare. How do I find the (Windows) directories on the rest of the laptop?
I am using an older laptop that is running Windows 10 (it came with Win8). I have installed Ubuntu on the laptop virtually, using VMware, but would like to access the files on the rest of the laptop (...
0
votes
1
answer
18
views
Dealing with systemd-resolved failing to work after a period of time
In Ubuntu 24.10 systemd-resolved often goes comatose and stops resolving everything. The following messages are logged:
Apr 21 12:50:27 localhost systemd-resolved[5452]: [🡕] DNSSEC validation failed ...
0
votes
0
answers
50
views
lastlog keep displays all users as **Never logged in** [duplicate]
I know most of them are system accounts, but even actual user accounts are shown as:
Never logged in
What should I do to fix this?
I'm using Oracle VirtualBox with Ubuntu, in case that matters.
1
vote
2
answers
62
views
systemd-journald writes an average of 16MB per hour!
OS: Ubuntu MATE 24.04.2 LTS
I added the system monitor to my top panel and noticed much disk activity.
At first I thought the main 'culprit' was jbd2 -- Journaling Block Device.
But jbd2 ("a ...
1
vote
1
answer
27
views
Cgroups permission denied on Ubuntu 22.04.5 but works on Ubuntu 22.04.03
I'm trying to learn about cgroups. I ran these two commands:
root@localhost:~# mkdir /sys/fs/cgroup/container_cpu
root@localhost:~# echo '50000 100000' | sudo tee /sys/fs/cgroup/container_cpu/cpu.max
...
0
votes
1
answer
43
views
Trying to login to sftp fails
I'm trying to setup a sftp server using openssh builtin sftp.
Subsystem sftp /usr/lib/openssh/sftp-server
and I have created user by following (more or less (using ansible), I do use /sbin/...
0
votes
0
answers
31
views
'unable to connect to x server' error in telnet session when trying to capture keystroke and mouse events
I am running
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.5 LTS
Release: 20.04
Codename: focal
I want to run command to capture ...
-1
votes
0
answers
38
views
Ubuntu 22.04 SteamCMD pre-req installs not working - unsigned repo [closed]
Fairly new to linux and brand new to this forum. I am trying to get steamcmd installed on my ubuntu box hosted on oracles free tier.
I am stuck at installing the prereqs(32-bit support), aka the very ...
0
votes
0
answers
32
views
Blocking disk space for booting Ubuntu
I sometimes have the problem, that the hard drive disk is completely used when I use Ubuntu.
When this happens, Ubuntu does not boot anymore until I have freed some space (via the terminal in the safe ...
0
votes
1
answer
31
views
Ubuntu: fully disabling cryptswap
I wanted to disable cryptswap on my PopOS (an Ubuntu derivative).
Used mkswap to re-initialize the swap partition
Edited /etc/fstab to directly reference it (as opposed to a crypto device)
Removed ...
0
votes
0
answers
25
views
Remotely boot a PC running Ubuntu 24+ using an encrypted hard drive
I am running Ubuntu server 24+ and desktop and also Kubuntu 24+ and I installed all of them using the encryption option. Now, every time I turn on one of those machines I need to personally enter the ...