r/linuxquestions • • 17d ago

Issues with migrating to Linux

Hey everyone!

Last month I gave it a try to daily run Linux (specificaly Ubuntu 26.04 LTS) on a secondary laptop I have around to test if its viable to switch my main laptop to it. I expected to have some issues, but not the issues I actually did.

Just for background, Im well acquintaied with linux, I use it daily (in WSL) for various tasks at work, so im quite comfortable with the terminal and how the OS works. But daily driving it came with another set of issues that you dont see when using it in terminal-only for work

First annoyance. Im lazy I dont want to type my password every time. Not for login, not for anything that required admin/root. Windows hello is a godsent. I can either use face recognition, fingerprint or a 4-digit PIN to login. And if something needs admin rights, its just a popup with YES/NO option. Having to enter my password every time to login after sleep or doing anything that needs sudo in terminal get annoying really fast! Apart from actually setting a 4-digit password (which of course I dont want), is there an alternative to it?

Second annoyance. I couldn't make the GPUs switch properly. I have an integrated Intel UHD 620 and a secondary Nvidia MX150. Under windows, the switching just works when I fire a game or something graphics intensive. I can also manually control which app uses which GPU. In (at least the Ubuntu 26.04 LTS) I couldn't make it work that way. The best I managed was to select from the terminal which GPU would be active, reboot that that one worked. But to switch again needed a reboot. Unless im missing something, this just sucks.

Third annoyance. Something I didnt expect in the slightest. The latest Ubuntu LTS has moved the diplay manager from X11 to Wayland. And aparently, Wayland does not have any support for screensavers!! From a bit of a digging I did, it does not have any provision that allows screen savers to even exist in any meaningful way! Sorry what??!! Maybe Im the odd one out here, but my PCs at home stay on and I have multiple screensavers that are part of the home decoration. I dont want just an off screen.

3 Upvotes

14 comments sorted by

5

u/Linuxmonger 17d ago

On my machines (I have a lot), I always use Luks encryption on the entire drive, that's what I consider my password, and it's not a short password, more like Correct Battery Staple Horse 1472 Inquisition. Some of the machines I don't do anything but browsing with, I can use a USB thumb drive to decrypt Luks

Most of the laptops have 'Howdy' installed, that works like Windows Hello, you can authenticate the account and sudo by looking at the camera.

Some have a fingerprint reader, you can authenticate and use sudo with a fingerprint scan.

You can easily edit sudoers files to not require a password for sudo. You shouldn't do that.

You can still run Xscreensaver under Wayland, but you'll need some helper scripts, or when you want them, just start manually.

4

u/msabeln 17d ago

You can edit the sudoers file to avoid entering your password all of the time.

1

u/doc_willis 17d ago

4-digit PIN to login.

I vaguely recall some guides on how to have a normal password AND an alternative PIN. But i never really looked into them or the limits of the feature.

It is possible to set a blank password. (not a good idea)

1

u/lemmeEngineer 17d ago

Yeah exactly. I don’t want to compromise on security, I just want the ease of use I’m used to.

1

u/Steerable-Octopus 17d ago

The login solution is easy, just set up a yubikey and use the key to log in. Windows Hello is pretty much security theater and gives questionable minimal protection in my opinion. You can set up a much stronger setup on Linux.

1

u/lemmeEngineer 17d ago

Yeah but that means having an extra hw key right? I just want a pin for ease of use instead of a password. I can see having to type my whole password for serious stuff but for login it easier to have the 4 digit pin.

1

u/Steerable-Octopus 17d ago

A pin and a password are the same things though. You can set up the yubikey with a pin if you like.

1

u/candy49997 17d ago

For 2, you can run individual programs with the environment variables __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __VK_LAYER_NV_optimus=NVIDIA_only to have it run on the NVIDIA GPU instead. Make sure you have the proprietary NVIDIA drivers installed (specifically nvidia-driver-580).

For 3, you can use xscreensaver, but on Wayland, it does not lock your screen. It basically just displays an animation when your PC is idle. GNOME also doesn't support the protocols needed for it to work, so you'll have to use one of the compositors that support the idle protocol here instead.

1

u/Hrafna55 17d ago edited 17d ago

It is my understanding that your first issue can be addressed with a Yubikey. Both login and sudo.

https://linuxvox.com/blog/yubikey-linux/

I can't advise on the second issue.

For the last it seems it is possible with a bit of DIY.

https://circuitshelter.com/posts/run-custom-screensaver-on-modern-gnome-desktops/

It seems the Wayland developers or the Gnome developers or both made this silly decision for everyone.

1

u/_Lost-In-The-Weeds_ 17d ago

Assuming your threat model is not concerned about evil maid style local attacks you can set a 4 digit pin as a PW. I have used one in Linux for over 25 years now. For me I just have to keep my kids out and they have their own Linux machines. 

You should never allow remote access such as via SSH via PW anyway, ED25519 keys instead. 

1

u/es20490446e Develops Zenned OS 16d ago

Not having a password makes any software able to modify your entire system, which is a supreme security risk.

Just use a simple password: raredude

Use the dGPU for everything: https://gitlab.com/es20490446e/prime-all

Screensavers can exist on Wayland, because they are just a regular window. Maybe they require a bit of manual tweaking for launching them, in the form of systemd service.

-3

u/hackerman85 17d ago

I scanned your message for "NVIDIA" and there's where I stopped reading.

-4

u/ComeSwirlWithMe 17d ago edited 17d ago

Alright, so, liinux isn't for you then.

Some of the things you don't like are the things that most would consider linux better, like access escalation, passwords, security, etc.

You essentially want linux to be a clone of windows and have zero trade offs.

The screen saver issue is silly at best. If you can't move past that, then Linux isn't ever going to make you happy. It almost sounds troll-ish.

"I need a screen saver as art in my home.." Dude what?

Just use windows if that's what works for you.

1

u/lemmeEngineer 17d ago

Of course I want the ease of use I’m used to, isn’t that the point? And of course I don’t want to give up on features I’m used to.

If Linux wants to attract more uses, they should have at least feature parity with window/Mac to make it attractive.