Previously Welcome to /fglt/ - Friendly GNU/Linux 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. ***
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 Mac. 3) Go balls deep and replace everything with GNU/Linux.
* Resources: $ man $ info $ help
Your friendly neighborhood search engine: Try to use a search engine that respects your privacy such as searx, ixquick or startpage.
>Why has Sup Forums infested these threads? why are you here?
Brandon Sullivan
Hating is wasting your life.
Kevin Morgan
Not really, he lives in his office.
Aaron Cooper
no, he's a paratrooper
Luke Murphy
...
Grayson Morales
>Not really An office is not a home.
/^(ヨルダン$)/
Aaron Miller
Reminder that this is a friendly thread. Don't spread FUD, disinformations or 9gag memes. We don't want to make newcomers run away when they see our autism, right.
Connor Parker
Why does he pick the feet then eat it?
Jonathan Foster
He doesn't, if you watch the complete video you realize that he was chewing before.
Juan Peterson
...
Jayden Smith
>responding to shitposts
Adam Long
If you play video games, you're the cancer of GNU/Linux.
Julian Williams
there is nothing wrong with games if they value your freedoms.
Justin Green
Did anyone see the new mpv osc? It's not shit anymore!
Elijah Long
i am not sure if i like it better than before yet. i like that it is on the bottom.
However when I add NR==1 to the awk command so I only grab the first line, it shows no results: curl github.com/joomla/joomla-cms/releases/ | awk '/>Joomla! [0-9]/ NR==1{print $0}'
I know NR==1 works when I dont include />Joomla! [0-9]/ but for some reason its not working when I include it. What am I doing wrong?
Zachary Lopez
I don't use the osc.
Camden Turner
I want to get rid of it, teach me how
Carter Powell
This. StepMania is a fun and free game.
Juan Torres
yeah I've had it for about a week on Arch and I really like it
Owen Jackson
'no-osc' in your mpv.conf
Ayden Bailey
>it's literally on github and you're trying to dl the releases
why not just have a command that git clones and compiles it every so often?
Landon Smith
wait, i can modify and redistribute it?
Brayden Rivera
thanks user
Ayden Myers
I believe so. It uses the 'expat' license which is a form of the MIT license
Ian Johnson
Im not trying to download the package or work with it in github
Im writing up a bash script to automatically check the newest release without me having to and then taking that release version and comparing it to the versions installed on the server and spitting out the paths to the out of date ones. all this done in two simple words typed into ssh.
there is reason to my madness here.
Andrew Gutierrez
i'm bored of debian i'm bored of arch i don't like redhat distros im not going to manually resolve my dependencies what distros are even left for me to choose from?
Carson Davis
This is the same shit.
Mason Cruz
gentoo, guixsd, nixos
Ian Russell
void
Angel Gonzalez
ubuntus ? slackware ? open suse ? gentoo ? swtich to bsd ?
Ayden Johnson
LFS
Jackson Robinson
>ubuntu that's just debian
Elijah Reed
You should always first look if a website provides a API. git does.
Then parse the output with any json program like jq, python, awk, grep, whatever you like.
Liam Garcia
stali
Jeremiah Young
You must be young.
Brody Johnson
oh man, of course! using API. fuck me, thanks a lot user
Jace Davis
how often do/should you: update clean cached data autoremove old dependencies ect.
that was one thing i always liked about MS, updates where every 2nd tuesday of the month.
Henry King
nixos looks pretty neat, i guess i'll give that a try thanks user
Ayden Gonzalez
actually one more thing, can you explain why adding NR==1 to my command was not working the way I expected?
Andrew Mitchell
why do I have to boot my Ubuntu guest VM in VMware like 2 or 3 times before it boots correctly?
Robert Bennett
Ok, so I think I put myself in big(ish) trouble here.
I have dmcrypt + LUKS full disk encryption with my root partition /dev/sda2, swap partition /dev/sda3, and home partition /dev/sda4 all being encrypted. I also have secondary hard drive for storing things and for some reason it wasn't mounting on bootup so I thought I'd add it to the fstab file. Then, after rebooting to test it, fucking everything just broke. I get prompted for the cryptsetup password to mount my encrypted partitions, but instead of mounting and proceeding to boot, it gives me this error
"Failed to connect to lvmetad, falling back to internal scanning"
until it drops into an initramfs shell. I'm currently in a live system and I unlocked my root partition, mounted it and chrooted into it to change back my fstab file, which I did. I rebooted hoping it would work, but it still gave me the error.
Google has only been very limited in helping and I'm at a loss here. I don't know what the fuck happened, but I suspect it had something to do with the crypttab file as well, but I don't know for certain. Please help.
Adrian Garcia
>mpv 5 years support on ubuntu package. Still no update.
Josiah Butler
yeah but it's a debian fucked up by Canonical so you're gonna have a lot of headaches to get it working and fix their shit.
>update almost everyday so I don't have too many updates to do at once. It's pretty fast to do
Owen James
>update at least once a day on my main machine, whenever I remember for other ones >clean cached data when my / partition gets full usually >autoremove old dependencies not sure how to do this with pacman, it might do it automatically
Jack Reyes
Is there a way I can set a window to close whenever I click with the middle button on the window decoration? I'm using GTK, if that matters.
Cooper Perez
>I'm using GTK, if that matters. the window manager matters more
Ayden Rivera
Please, anybody help?
I need to get back in asap.
Oh, also another part of the error message I neglected says
/run/lvm/lvmetad.socket: connect failed: No such file or directory
Nicholas Myers
I mean, Compiz+Emerald decorator.
Jaxon Morgan
>you can check the calendar with cal
these little things man
Zachary Wright
Is lvmetad running? Is it set to run at boot?
Ayden Wilson
I have no clue, honestly. I assume it was, because prior to my fstab edit, everything worked beautifully. Now somethings fucky and I don't know quite what.
Where would I check to see if its set to run at boot?
William Watson
Ok I just installed ubuntu on a fresh drive but got this error when booting after restart - error failure reading sector from 'hd0' - with a memory location from the drive as well. I ran a bad block scan from ubuntu live cd and it came back with zero errors. I don't have another drive on me to test it. Any suggestions?
Nathan Morris
>not sure how to do this with pacman, it might do it automatically Is it pacman -Qet or does that just list them.
fedora has dnf autoremove but the few times I used it, it has never detected anything.
Joseph Ross
NR is actually the line number BEFORE you pass regex result (the whole document). That's why you never get any result. If you want just the first line, exit after the first regex result. curl -s github.com/joomla/joomla-cms/releases/ | awk '/>Joomla! [0-9]/ { print $0; exit }'
Kevin Long
is it possible to trash my whole computer as a normal user? I mean no sudo, no root, etc
Actually correct, but awk is more portable. (it's also linked to gawk on all GNU/Linux systems anyway).
Tyler Nguyen
Yes, but you'll need some external hardware
Brody Gonzalez
best distro for servers/hosting?
Zachary Perry
centos, debian
Eli Cooper
I'm currently using Kubuntu but planning to change distro and distance myself from ubuntu based distros.
Here is the list of distros I'm more inclined to pick: Open Suse Fedora BusenLabs Debian
Which one should I pick for a smooth transition, Sup Forums?
Aaron Phillips
debian stable netinstall, centos
Zachary Allen
Should'a bought a Thinkpad.
Lucas Collins
if you like experiments, try tinycore, it's about 15mb without desktop
Liam Taylor
I'd go Debian Sid. Bunselabs is nice, but you can just copy the theme and configs (it's on github) to Debian if you want the same rice.
Jason Morris
If you like apt debian. openSuse and fedora would probably be the smoothest
Kevin Gonzalez
i just installed ubuntu. it's my first loonix ever. what's some essential gnutard software that i CANNOT MISS OUT ON
Ian Lopez
Please. Anybody at all know about this stuff?
Owen King
GIMP
Jeremiah Gutierrez
mpv for all sorts of media (or a frontend if you're not autisic), youtube-dl, imagemagick (I guess it's already installed on Ubuntu), blender, if you're used to rainmater trash, you'll be interested in conky, htop is the defacto task manager, transmission for torrenting, since ubuntus software center sucks balls: synaptic, GIMP (maybe with the gmic plugin)
that's all that comes into my mind right now
Oliver Watson
When I partitioned my drives I 100% allocated them to linux, didn't plan to dual boot. (First time trying linux, fell for the full dive to learn linux meme) Two years later I want out, kinda, dual booting anyway, but I've got shit I want to keep. How hard is it to set up a dual boot with windows starting from linux? All the guides I see are for starting with windows and adding linux.
Second question, can I separate one partition into two if it's say, half full, while moving the data to one of the two partitions?
Asher Martinez
GNU
>GNU's Not Ubuntu
Jack Mitchell
never done dual from linux to linux-windows.
for your second question, yes that is just fine. You aren't really "moving" anything, just shrinking the partition. Use GParted if on linux
Isaiah Myers
(You) Your Obviously Underaged
Sebastian Flores
kek. Idk if it applies to your situation but first time I installed centos for dual on my windows box I overwrote the boot partition/boot manager. For windows, they had a tool that came with the .iso to repair the boot tools so I could boot into windows again. Maybe you have a similar situation?
Caleb Ross
>Your
Oliver Adams
I've fucked you're waifu
Daniel Hughes
I'd just like to interject for a moment. What you're referring to as Linux, is in fact, GNU/Linux, or as I've recently taken to calling it, GNU plus Linux. Linux is not an operating system unto itself, but rather another free component of a fully functioning GNU system made useful by the GNU corelibs, shell utilities and vital system components comprising a full OS as defined by POSIX.
Many computer users run a modified version of the GNU system every day, without realizing it. Through a peculiar turn of events, the version of GNU which is widely used today is often called "Linux", and many of its users are not aware that it is basically the GNU system, developed by the GNU Project.
There really is a Linux, and these people are using it, but it is just a part of the system they use. Linux is the kernel: the program in the system that allocates the machine's resources to the other programs that you run. The kernel is an essential part of an operating system, but useless by itself; it can only function in the context of a complete operating system. Linux is normally used in combination with the GNU operating system: the whole system is basically GNU with Linux added, or GNU/Linux. All the so-called "Linux" distributions are really distributions of GNU/Linux.
Christian Rodriguez
literally kill yourself
Brandon Perez
...
Carson Ward
Doing gods work.
Bentley Rodriguez
How to selfkill not literally?
Anthony Campbell
This is a friendly thread, not a "tell others to kill themselves" thread.
Nathan Young
Check the UUIDs of your partitions with the UUIDs in crypttab, then update initramfs if correct from chroot
Ryan Bennett
slit wrist diagonally only for attention
Eli Ramirez
I hope we have networking gurus here.
I'm trying to run an SSH server that's connected to a VPN service and has a kill switch that disconnects it from the internet (excluding SSH connections) if it disconnects from the VPN. These are the rules and routing I use to connect to the server while it's connected to the VPN: # set "connection" mark of connection from eth0 when first packet of connection arrives sudo iptables -t mangle -A PREROUTING -i eth0 -m conntrack --ctstate NEW -j CONNMARK --set-mark 1234
# set "firewall" mark for response packets in connection with our connection mark sudo iptables -t mangle -A OUTPUT -m connmark --mark 1234 -j MARK --set-mark 4321
# our routing table with eth0 as gateway interface sudo ip route add default dev eth0 via 192.168.1.1 table 3412
# route packets with our firewall mark using our routing table sudo ip rule add fwmark 4321 table 3412
I'm using ufw to implement the kill switch: Status: active
To Action From -- ------ ---- 22 ALLOW Anywhere Anywhere on tun0 ALLOW Anywhere 22 ALLOW Anywhere (v6) Anywhere (v6) on tun0 ALLOW Anywhere (v6)
Anywhere ALLOW OUT Anywhere on tun0 Anywhere (v6) ALLOW OUT Anywhere (v6) on tun0
All other incoming and outcoming traffic is denied by ufw. The problem is that while I can connect to the server when ufw is off and the VPN is on, the server stops responding after something like 15 minutes after I enable ufw. The server still works locally, but you can't connect to it from WAN. ufw is obviously interfering with the connection, but I'm not sure how. All ssh traffic should be allowed. Any ideas?
William Adams
>at interview >"so are you familiar with Linux?" >"you mean GNU/Linux?" .... hired
Carson Rodriguez
>being such a reddit cuck not realizing the interjection is originally a Sup Forums meme
Angel Howard
nice try new friend. you got called out and now trying to project.