New answers tagged

0 votes

How do I change size of app icons in Activity Overview of Ubuntu 22.04 LTS?

I think it's the problem of the display resolution of your laptop*. I also have the exact issue with 22.04. I assume that you might have a resolution of 1336 x 786 or similar (lower than 1080p). I ...
user avatar
1 vote

Why is my freshly formatted external SSD flashing after mounting it on Ubuntu 22.04?

Yes, it will eventually stop flashing. The kernel process ext4lazyinit is running and is slowly initializing the inode tables. It only does this while the filesystem is mounted. Depending on the disk ...
user avatar
0 votes

more command not showing --More-- on Ubuntu for Windows

I’m pretty sure this is a bug in kubectl, where it crashes if you try to pipe its help message no a non-terminal. The following hack, which relies on socat being installed, tricks kubectl into ...
user avatar
  • 1,065
0 votes

Default Alacritty terminal for WSL2

You can create a shortcut. "C:\path\to\alacritty\alacritty.exe" --command ubuntu
user avatar
  • 101
0 votes

ubuntu dock icon - choose window on click

Can I change it, so it's more friendly and straightforward? More or less, yes to some extent. I have Ubuntu 22.04 LTS (Virtual Machine) and I have configured the Dock to my liking (Chrome and All). ...
user avatar
  • 36.2k
0 votes

How to get rid of veth interfaces?

Adding to @C0deDaedalus answer, the provided solution doesnt work completly for me, so I modified it to work wit ip: Bring veth Interfaces down for veth in $(ip a | grep veth | cut -d' ' -f 2 | rev | ...
user avatar
  • 101
0 votes

sudo apt-get update couldn't create temporary file

I saw this problem with docker. I had to remove a number of docker images and rebuild them. This happened after I changed docker's root dir.
user avatar
1 vote

Removing old files left by attempted pip installation

For python 3.8 on ubuntu 20.04, I found downloaded files in /home/username/.cache/pip The downloaded files are retained there even after deleting the venv or removing python3-pip.
user avatar
0 votes

No Wi-Fi Adapter Found in Ubuntu 18.04

If the solution listed above are not working, you can look for a colleague that has the same computer as yours with the same version of Ubuntu installed, and simply copy the folder /lib/modules of his ...
user avatar
1 vote
Accepted

VirtualBox Ubuntu screen not achieving 1920x1080 while window achieves 1920x1080

In my case of running Ubuntu22.04 from Windows10 I fixed this problem by changing the graphic controller in settings to VBoxVGA. Hope it helps
user avatar
  • 26
0 votes

Remotely access an Ubuntu machine from macOS

If you just want command-line access, you can SSH in. If you want to use the graphical desktop environment (with a mouse, etc.), you can use VNC to get in. VNC is a fairly universal de facto standard ...
user avatar
  • 96.6k
0 votes

Some index files failed to download. They have been ignored, or old ones used instead. When sudo apt update with WSL 2

I found this to be relevant in my case: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#no-internet-access-in-wsl I had to shutdown Symantec Network Threat Protection
user avatar
0 votes

I can't mount my USB drive on my KDE Neon system

It could be that mount.vfat is not installed. Check and see if it is installed with "which mount.vfat" or "mount.fat/fat32" It's likely that it's not installed.
user avatar
0 votes

502 Bad Gateway error: How to install php8.1-fpm.sock on ubuntu 18.04

The .sock pseudofile is installed with php8.1-fpm, which might not be running (unlikely, since a .pid file exists) have it's socket elsewhere (most likely) The location of the socket is set in /etc/...
user avatar
  • 19.3k
1 vote

Ubuntu is not starting up after a RAM upgrade

Older versions of Ubuntu relied on a swap partition, but 22.04 LTS uses a swap file. If you've enabled hibernation, swap space is required at least the size of RAM. If the swap space is in use, that ...
user avatar
0 votes

how can I find the ubuntu username and password for ssh from my windows 10 laptop

Check that the Ubuntu account is authorised for ssh. Check if it belongs to the ssh group. If not, you'll need to add the user to the ssh group.
user avatar
0 votes

Windows generating more heat than Linux

Apart from using Task Manager (taskmgr) to see running processes, you can also go to Start-> type "msconfig" this will show the processes executed at startup and the services, so you can ...
user avatar
-3 votes

Windows generating more heat than Linux

This is generally how it works with Windows vs Linux. Windows is bloated out with a lot of additional processes and hardware demands.
user avatar
1 vote

code=exited, status=1/FAILURE on mkfs.ext4 in Ubuntu

All service output goes to the journal (syslog); see journalctl [-f] [-n 100] [-b]. Most likely the service fails because mkfs.ext4 refuses to create a new filesystem on a device which already ...
user avatar
  • 376k
1 vote
Accepted

WSL 2.0 Ubuntu: Relocating home directory

As mentioned in the comments, putting your WSL2 home directory on a Windows drive is not recommended for several reasons: Your Linux home directory should be on a POSIX-compliant drive. Linux ...
user avatar
  • 7,704
0 votes

Host SMBus controller not enabled! (VMWare 12.5.x, Ubuntu 17.04)

Run below commands - Step 1 Run this command : $ blkid You should get two partitions /dev/sda1 – Root partition /dev/sda5 – Swap partition Step 2: Now to fix the bad sectors from the partitions, ...
user avatar
0 votes

Webmin terminating turn service

Fixed. Problem: user error (as usual) Because of my override to run TURN as a virtual server admin rather than as the default turnserver user, I inadvertently ran against a handy & useful ...
user avatar
  • 215
0 votes

How do I open an anaconda prompt

Now I am using Ubuntu 20.04 LTS and the process I followed is: Step 1: invoke terminal Step 2: type [conda activate] hit enter Step 3: type [anaconda-navigator] hit enter. you should have the anaconda ...
user avatar
0 votes
Accepted

How to communicate through laptop Ethernet port through Virtual Box Ubuntu in Windows 10

Try to follow this steps: On Virtual Box, select the ubuntu virtal machine Go to the VM's settings > Network Select the network adapter that you want to modify (usualy Adapter 1) Ensure that the &...
user avatar
0 votes

mouse not working on virtualbox 6.1.34

It's the problem with Wayland. Switch to XOrg on Ubuntu login screen and the problem with mouse will disappear.
user avatar
  • 1
0 votes

Updated Windows Terminal and now Ubuntu won't load. process exited with code 4294967295 (0xffffffff)

I had the same issue for me changing the executable path worked. see this image from C:\Windows\System32\wsl.exe -d Ubuntu-20.04 to C:\Windows\System32\cmd.exe /C wsl.exe -d Ubuntu-20.04
user avatar
0 votes

Action plan for "merging" partitions on Linux only box without data loss

The 3 partitions on the disk, / and /usr and /home, total 32GB of free space, so unifying all three will result in one partition that has that much of free space. In addition, the swap space might be ...
user avatar
  • 406k
0 votes

Paste from clipboard into Ubuntu Nano via Putty

This might be a long shot, but you can also paste content with Shift + Insert.
user avatar
  • 783
0 votes

WireGuard wg-quick down breaks DNS settings on Ubuntu

This fixes the DNS resolution issue on my ubuntu 20.04 sudo systemd-resolve --interface wlp0s20f3 --set-dns 1.1.1.1 sudo service systemd-resolved restart replace wlp0s20f3 with your own interface. ...
user avatar
  • 101
0 votes

~/.profile is not loaded when using SSH (Ubuntu)

ssh localhost 'echo $MyEnv' ssh with command will try to source $BASH_ENV according to gnu bash manual because it is a non-interactive shell I think https://www.gnu.org/software/bash/manual/bash.html#...
user avatar
  • 1
0 votes

How to move tab title from top to bottom in gnome-terminal on Ubuntu?

It's been over a decade, but this is one of the first Google hits, and it has no answer! Shamelessly stolen from ubuntu: Move to top: gsettings set org.gnome.Terminal.Legacy.Settings tab-position top ...
user avatar
0 votes

How to recover from 777 permission on root in Ubuntu 18.04 LTS WSL?

Open window cmd run as admin. Then wsl -u root, Here you can reset all permissions chmod 555 /etc/sudoers chmod 555 /etc/sudoers.d/README Now you can open linux terminal in wsl sudo will work.
user avatar
0 votes

Change screen resolution of Ubuntu VM in Hyper-V

Thank you for this Larnu, it worked for me as well using generation2 VM in HyperV using Windows 11 Pro. Below I attached an image for any newbies like myself who only know surface level C++ and Python ...
user avatar
0 votes

switching between 99.xxx (webserver) and 192.xxx (TrueNAS) on a 10G mikrotik switch not working

user1686 pointed me to the answer. Truenas scale GUI for adding route did not propage the route to the kernel. So entered the route via the command line root@truenas[~]# ip route add 99.153.71.0/24 ...
user avatar
  • 101
1 vote

How to update snap-store linux.. How to update this?

I had same issue. $ killall snap-store $ snap refresh worked for me.
user avatar
0 votes

Ubuntu vhost config - restrict public access from subdomain root

Don't use /var/www/html/sso as your DocumentRoot in the first place. Apache shouldn't be serving that location at all. It contains PHP files, yes, but those will be loaded via PHP's require() without ...
user avatar
  • 376k
2 votes

cloud-init how to run a curl before and after every non runcmd

This is not a feature of cloud-init (outside of reporting, as @falcojr noted). Your question has already been answered by others, so I'll share some ancillary information related to how one can ...
user avatar
0 votes

linux on virtual machine, on windows, cant detect wireless extensions when using iwconfig

Linux Networking as a Virtual Machine works perfectly well. I have both Ubuntu and Kali machines and both are connected to the Host Network which appears in a VM as an Ethernet Connection, not ...
user avatar
  • 36.2k
0 votes

How to pipe data from one terminal to another under Windows with Ubuntu and WSL

You may start a WSL terminal by using wsl.exe. The most basic command to run a single command is : wsl -- command and parameters The argument -- means that everything following it is passed to the ...
user avatar
  • 406k
17 votes
Accepted

Which Linux kernel do I have in WSL?

While WSL2 is the default for new distributions that you install, it appears that your Ubuntu distribution was originally installed as WSL1. You can confirm this with: wsl.exe -l -v When running ...
user avatar
  • 7,704
6 votes

Which Linux kernel do I have in WSL?

While the default WSL version is set to 2, the WSL distribution you are running is WSL 1. It does not use a Linux kernel at all. WSL 1 (Windows 10): $ uname -a Linux db-d-18 4.4.0-19041-Microsoft #...
user avatar
  • 53.6k
0 votes

Windows | LxssManager is missing from services.msc

The LxssManager server really is Windows Subsystem for Linux (or at least a major part of it), so if the feature is getting disabled on reboot, that's also why the service is missing. So no, ...
user avatar
  • 7,704
1 vote

cloud-init how to run a curl before and after every non runcmd

My suggestion comes from these pages: https://cloudinit.readthedocs.io/en/latest/topics/faq.html https://cloudinit.readthedocs.io/en/latest/topics/boot.html https://cloudinit.readthedocs.io/en/latest/...
user avatar
0 votes

Should I use httpd.conf or apache2.conf for Apache configuration?

The install of apache2 on my Ubuntu server has a folder /etc/apache2/sites-available/ in which all the configuration files belong. The default one is /etc/apache2/sites-available/000-default.conf and ...
user avatar
0 votes

Unable to apply ubuntu security update

The question is a bit old, but for those who land here like me, here is what I used. # See actual lock files: sudo ls -l /var/lib/dpkg/lock /var/lib/apt/lists/lock /var/cache/apt/archives/lock # ...
user avatar
2 votes
Accepted

invalid config for cloud-init but apparently still works -- how do I remove the warning?

If you look at the docs, the key name is ssh_authorized_keys rather than ssh-authorized-keys. The latter is deprecated, though it looks like a deprecation warning was missed. This should work with no ...
user avatar
  • 496
1 vote

Password entry required for prompts keep appearing in terminal after installing openvpn

This problem is detailed in the post Starting openvpn error: "Please enter password with the systemd-tty-ask-password-agent" with various proposed solutions. I repeat here the most upvoted ...
user avatar
  • 406k
0 votes

How to identify USB webcam by serial number from the Linux command line

You may also be able to look at them under /dev/v4l/by-id which includes the short serial. ls -l /dev/v4l/by-id/ | sort
user avatar
1 vote
Accepted

What does user@mail:~$ mean?

the contents of /etc/hostname have somehow been changed. let's assume you're using mail.domain.com and it's made the "pretty" hostname mail. to fix this you want to utilize hostnamectl, ...
user avatar
  • 46
0 votes

NTFS vs ext4 for reliability

NTFS is not considered to be a resilient file system, it only journals metadata and suffers from bit rot, which is made worse by the fragmentation it also suffers from. The most reliable file systems ...
user avatar
  • 228

Top 50 recent answers are included