/fglt/ - Friendly GNU/Linux Thread

ded: fglt - Friendly GAHNOO slash LOONIX thread

Users of all levels are welcome to ask questions about GNU/Linux and share their experiences.

*** Please be civil, notice the "Friendly" in every Friendly GNU/Linux Thread ***
*** No arguing about systemd ***

Before asking for help, please check our list of resources.

If you would like to try out GNU/Linux you can do one of the following:
0) Install a GNU/Linux distribution of your choice in a Virtual Machine.
1) Use a live image and to boot directly into the GNU/Linux distribution without installing anything.
2) Dual boot the GNU/Linux distribution of your choice along with Windows or macOS.
3) Go balls deep and replace everything with GNU/Linux.

Resources: Your friendly neighborhood search engine.

$ man %command%
$ info %command%
$ help %command%
$ %command% -h
$ %command% --help

Don't know what to look for?
$ apropos %something%

Check the Wikis (most troubleshoots work for all distros):
wiki.archlinux.org
wiki.gentoo.org

Sup Forums's Wiki on GNU/Linux: wiki.installgentoo.com/index.php/Category:GNU/Linux

>What distro should I choose?
wiki.installgentoo.com/index.php/Babbies_First_Linux
>What are some cool programs?
wiki.archlinux.org/index.php/list_of_applications
directory.fsf.org/wiki/Main_Page
>What are some cool terminal commands?
commandlinefu.com/
bropages.org/
>Where can I learn the command line?
mywiki.wooledge.org/BashGuide
grymoire.com/Unix/
>Where can I learn more about Free Software?
gnu.org/philosophy/philosophy.html
>How to break out of the botnet?
prism-break.org/en/categories/gnu-linux

/t/'s GNU/Linux Games: /fglt/'s website and copypasta collection:
fglt.nl && p.teknik.io/wJ9Zy

Other urls found in this thread:

wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF
level1techs.com/article/ryzen-gpu-passthrough-setup-guide-fedora-26-windows-gaming-linux
forum.level1techs.com/t/play-games-in-windows-on-linux-pci-passthrough-quick-guide/108981
bbs.archlinux.org/viewtopic.php?id=89546
unix.stackexchange.com/questions/246508/x-server-only-starts-as-root
bbs.archlinux.org/viewtopic.php?id=63782
youtu.be/IzUf-wFEirQ?t=2207
without-systemd.org/wiki/index.php/Arguments_against_systemd
0pointer.de/blog/projects/the-biggest-myths.html
wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroot
wiki.archlinux.org/index.php/change_root
wiki.debian.org/PPC64
twitter.com/SFWRedditImages

This picture again?

What a lack of creativity

can I /r/equest the 'arch the distro for lesbians' picture

So I'm a different user, but we're supposed to take NixOS at their word that the upstreams do not support startx functionality without using a hack, when they don't even tell us or document what the hacks are? Sounds like NixOS is just a broken pos, since literally every other distro seems to make it werk.

I don't remember seeing any 1080p wallpapers, but if you want it to your phone, here you go

agriathanks gozimuch

Actually there is. Here ya go.

i want some linux lesbians to stomp on my tarballs

Anyone know how to get the AUR repo on fedora? or AUR apps atleast

reposting from old thread:

redpill me on ubuntu

former macboi, switched to ubuntu 16.04 as my main OS for the compatibility with nearly all linux software + I happen to like the unity desktop. however, I notice occasional crashes/freezes if I have 3 or more apps open at one time, which I basically never dealt with in the past. new machine specs are the same as my old macbook pro, only exception being a geforce gpu.

should I switch distros, like to xubuntu, for better performance/UX? should I switch to 17.04 or 14.04?

How the hell do I setup the hardware to properly passthrough my GPU to my Win10 VM?

I already have "Model" set to "host-passthrough" in the CPU section, and I've added the GPU as you can see in pic related, but I don't know what else to do. The stuff I have tried so far just breaks the VM.

I was using this guide: wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF

Make an Arch chroot and proceed as normal.

Ubuntu is terrible, even worse than mac

Just use Debian/Gentoo/Arch/Alpine/Parabola

remove anything that says spice on it and channel qxl
set disk and cd to sata
put your install disk above the disk you are installing to in the boot order
click add hardware and add your graphics card, the integrated audio (right below the graphics card), the mouse you want to pass through and the keyboard you want to pass through
when you shut down the vm DO NOT use the windows start menu. go to devices on the lower right corner of the taskbar and eject your graphics card, then shut down the vm from the host side and be patient.

Are you absolutely sure your mainboard and cpu support VT-d?

this. you also need to enable them in the bios if they do.
level1techs.com/article/ryzen-gpu-passthrough-setup-guide-fedora-26-windows-gaming-linux
forum.level1techs.com/t/play-games-in-windows-on-linux-pci-passthrough-quick-guide/108981
these guides should have about 95% of the information you will need

excellent, I'll check this out - thanks user

Yes, I'm 100% sure. I've done all the steps in the guide I mentioned so far (enables VF-t in BIOS, isolated the GPU, etc.). I'm just having trouble figuring out the hardware config for the VM.

I should have probably also mentioned that I have this VM already installed and booting, but it just boots into IGx, not my GPU's graphics.

I did everything except add a new mouse and keyboard (so I can keep control of the host), but I just get this screen, and the bar eventually freezes.

ive been trying to get the displaylink drivers drivers on fedora and tried the git install but cant seem to make it work even with the make rawhide, kinda a noob.

Hey guys.
Just installed Arch for the first time yesterday, and everything just werks execpt for one thing:
I can't run Xorg as any user except root.
Is there some group I need to add my user to, or permissions I need to change? I'm using i3-gaps as my window manager if that makes a difference.

LOL

you have a monitor hooked up to your 1070?
also post what the overview tab says

k, I asked because I was confident *I* had the VT-d setup and kept failing only to find out it's actually VT-x

you either need to edit the ~/.xinitrc of the normal user or edit /etc/X11/xinit/.xinitrc to make it system-wide.

No, nothing is hooked up to the 1070.

You almost gave me a heart attack, so I just doubled checked my mobo (GA-Z170XP SLI), and yes, it's VT-d, not VT-x.

Well I didn't mean to give a heart attack

How would I do that? Can you link me a guide or wiki page?

you need 2 monitors
for now you could just hook up the 1070 to your current monitor and change the source if you dont have a second one

nigga seriously?
Read that op

>you need 2 monitors
To expand on this:
With GPU passthrough, the graphics card will behave like it's directly connected to the (virtual) computer. So if there's no monitor connected to it, it can't display anything. The display you showed previously is meant for plain VMs; with proper GPU passthrough set up and all the Spice stuff removed, it'd just be a blank window reading "Graphical console not configured for guest".
I read a while back that it's possible to set up video streaming software on the VM and host to view both onboard and discrete graphics cards' outputs on a single monitor, but you're probably better off with a second monitor. Also a second mouse if you don't already have one, so you can do things on the host OS while the VM is running (e.g. force power off if it freezes up).

can someone share their Debian netinstall bash script?

I see, thanks for the clarification. I'll work on getting a second screen then. Thanks for all the help.

>installs arch
>doesn't know how to edit ~/.xinitrc
How tf. Did you just copy the instructions from the Arch wiki without understanding anything?

bump

Is gentoo a good distro or just a meme? Should i choose it over other non-systemd distros?

I know how to edit .xinitrc, I don't know what to put in it.

It's explained in multiple sources online, including your distribution's Wiki page.

What are some cool terminal commands?

where? I can't find anything about it in the xinit archwiki page, nor through googling

sudo rm -rf /

Try your window manager's page.

>can't find anything by googling
I honestly doubt you can't find anything. Literally found 3 topics in 1 search
bbs.archlinux.org/viewtopic.php?id=89546
unix.stackexchange.com/questions/246508/x-server-only-starts-as-root
bbs.archlinux.org/viewtopic.php?id=63782

zopflipng -m file.png

cmatrix

>Gentoo install
>lvm luks full encryption on two SSDs

getting to the grub config
>GRUB_PRELOAD_MODULES-lvm
>GRUP_ENABLE_CRYPTODISK=y
>GRUB_DEVICE=/dev/ram0
>GRUB_CMDLINE_LINUX="crypt_root=sda4 real_root=/dev/mapper/lv-root rootfstype=ext4 dolvm quiet splash"

How do I add the other SSD partition into the config? Do I need to add a new GRUB_CMDLINE_LINUX line?

install gentoo

After... I'm honestly not sure what, think I installed Font Awesome or something on my new thinkpad running arch, and now the font rendering for firefox or any gtk application is fucking garbage. It's as bad as the memes make it out to be but I've literally never had this problem before. Even on my second Arch machine it's totally fine. Did I forget to install/tweak something? I did move my config files from the other install to this one but there shouldn't be many differences between this machine and that one.

How do I run a live version of Linux Mint from a cd or usb drive?

pls this is serious business

what exactly do you mean by add the other ssd to the config?

...

I'm basically here in a gentoo install with luks
>youtu.be/IzUf-wFEirQ?t=2207

Except I am using two SSDs in the setup and they are in separate physical volumes and logical volumes. I'm not sure if I should have linked them earlier or if I can just add another GRUB_CMDLINE_LINUX for the other second SSD.

define linked do you mean raid or do you want one encryption passphrase to unlock both?

linked as in grouping them together in formatting logical volumes step (not even sure that is possible)

as a raid you might be able to. i dont think it's possible with 2 physically separated disks.

bump

yeah fuck it
I'm just do it with one

Installing Ubuntu right now and it gives an option to "install third-party software for graphics, wi-fi, mp3 and other media". I checked what it actually installs and it includes stuff like Flash and ffmpeg. Do I need it?

I have my drive set to automount in fstab. Problem is its an ntfs drive that I use as a shared drive bewteen linux and windows and it constantly (((breaks))) and is listed as a read only drive. Which is always fixed by running ntfsfix on it.
Is there any way I could have ntfsfix /dev/sda1 run as root before the drive is mounted during startup?

It's a good distro if you need the customization it provides, otherwise compiling everything is a waste of time. I recommend void for a good systemd free distro.

What's the big deal with systemd? I don't really understand what it is in general besides the fact that apparently a lot of things use it in some distros.

The problem is that newer versions of windows use hybrid shutdown which basically hibernates drivers and shit by writing it to the drive so when you mount it in GNU/Linux the hibernate data causes problems. You can fix it by disabling hybrid shutdown/startup in windows.

It's a big mess. without-systemd.org/wiki/index.php/Arguments_against_systemd

It's perfectly fine. 0pointer.de/blog/projects/the-biggest-myths.html

this seems like a big girly slapfest between nerds

Just use the shutdown option which doesn't allow hibernation.

Considering buying TALOS II. Will Debian just werk?

From what I'm seeing/reading the big hullabaloo is that systemd is aiming to be a sysvinit replacement, and it's overextending its scope by appropriating control of non-PID 1 functions, and bundling them very close to PID 1, bringing in a higher probability of system failure as is wont for a more centralized system.
The main argument I'm seeing for it is that its an improvement over sysvinit in the current Linux in certain functions, and it provides a minor speed boost compared to normal *nit functions.
Did I get that right?
Also that link from the second user? Sorry m8 that's a blog from Poettering himself, that's biased as fuck. From everything I've seen from him he believes that there's nothing wrong with systemd ever.

It's shitware, but unfortunately it's unavoidable because all the usable distros rely on it. It's like ALSA or glibc unfortunately: bad with, worse without.

>it's GNU/Linux!
>Linux is just a kernel!

What is "building a clean chroot"?
I did it to install something but I don't understand what is happening.

wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroot
wiki.archlinux.org/index.php/change_root

trying to use unclutter and it just hangs in the terminal,

>unclutter -idle 5 -root

am i doing something wrong if i want the cursor to disappear after 5 seconds?

nvm im an idiot and it was working the whole time.

I didnt know it was running when i thought it was hanging

wow thanks i didnt think of looking in the wiki kys

Ffmpeg yes, flash no.

It literally tells you what it is in the wiki, learn to read you dumb fuck. Chroot is temporarily changing the root directory in order to have a clean environment to install or build, as then whatever programs run in that chroot cannot affect files outside of that temp root directory. In the Arch install case, it changes root into the temp mount point directory /mnt and its subdirectories.

Comfiest distro ever.

hey friendlies, i'm currently running kde mint (the first real long-term gnu/linux system i've had - 6 months now) and i kinda wanna switch to something else. what's the next step?

i know it's a meme but i'm considering ubuntu just because it's incredibly well supported. thoughts/other suggestions?

>i know it's a meme but i'm considering ubuntu just because it's incredibly well supported. thoughts/other suggestions?

Ubuntu is not a "meme". Your Mint is, in fact, Ubuntu with one or two extra apps, and that's it.

Also Mint is more limited, so you'd feel more free on Ubuntu.

i know what chroot is retard. I am asking what is building in a clean root because I dont understand the exact process. But neithet do you because like every arch faggot you just copy paste commands from the wiki to everyone what a big brain you have

wiki.debian.org/PPC64

Burn the iso to usb then boot from it

Is btrfs worth it as a root fs, or not? Or would it be better to just use it as a /home fs?

It's literally building a package... inside a chroot. The dev page I linked said exactly that. You go through the normal process to do so, but instead of doing the normal makepkg, it would be
makechrootpkg -c -r $CHROOT
from the directory your PKGBUILD file is in.
So basically as I understand it:
Download the source tarball of the software you want to package.
Try compiling the package and installing it into an arbitrary directory in the chroot.
Copy over the prototype /usr/share/pacman/PKGBUILD.proto and rename it to PKGBUILD in a temporary working directory in the chroot.
Edit the PKGBUILD according to the needs of your package.
Run makechrootpkg and see whether the resulting package is built correctly.
If not, repeat the last two steps.

Also might as well point out, this is /fglt/, I only called you a dumb fuck because you told me to kms. Back your ass up, get the fuck over yourself, and have a Merry Christmas. Cunt.

I am trying to suspend my computer but I get this error: "systemctl: error while loading shared libraries: libcryptsetup.so.12: cannot open shared object file: No such file or directory" how do I fix this?

Let me guess, you use Arch and install things from the AUR and you do "pacman -Sy" when installing packages?

anyone else compiling gentoo rn like I am? :^)

Gentoo is a distribution, you fucking idiot. You cannot compile a distribution, you compile certain software.

really? didn't even know! teehee
so glad you, this beacon of knowledge, has crossed my path

I've recently compiled a lot of Gentoo because of PIE in the profile 17 update, sure. Also, ThinLTO. Didn't compile that long since many years. But my machine might be more of a potato than yours.

>systemctl
stop using systemd
>missing .so
install cryptsetup/libcryptsetup

Actually I rarely install AUR things and only do "pacman -S".
Now it works, but what do I use instead if it's impossible to replace systemd on Arch?

Cryptsetup is in the base group. If that was missing on your install it means you fucked something up.

It wasn't missing I just needed to upgrade it.

So you were doing partial upgrades as mentioned here . Why are you lying on the internet?

I'm not lying though, I never did partial upgrades until a few minutes ago for cryptsetup.

Why is systemd frowned upon when it just werks?

Because 2 things annoy the Linux community more than anything else:

1) things that work
2) things that aren't fractured into 50 competing shitty 'alternatives' none of which work properly.