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 macOS. 3) Go balls deep and replace everything with GNU/Linux.
Resources: just like in /sqt/ spend at least a minute to check a web search engine with your question. *Search: qwant, searx, ixquick or startpage. *Many free software have active mailing lists. *Many free software has an active bugzilla where you can check and report errors
$ man %command% $ info %command% $ help %command% $ %command% -h $ %command% --help
Don't know what to look for? $ apropos %something%
You mean you fucked up your HDD trying to install Gentoo? Or what....
Asher Sanchez
any more sane, slightly quicker way for connecting to whatever wireless access points around using terminal (that is - without using nm-applet)?
bit current clunky, current method i have (mostly crammed in a bash script + some manual user input) # pkill wpa_supplicant && # netctl stop-all && # wpa_supplicant -B -i wlp3s0 -c /etc/wpa_supplicant/wpa_supplicant.conf; # sudo wpa_cli && # wpa_cli
*** manually *** scan scan_results quit ***
# ip link set wlp3s0 down
*** manually *** # cp /etc/netctl/examples/someconfig /etc/netctl/faggot-router-config # nvim /etc/netctl/faggot-router-config and save # netctl start faggot-router-config ***
Aiden Lee
I need root privileges to write to my external devices (SD Card, External HDD). How do I fix this so I can just drag and drop?
Asher Anderson
When you guys compile programs from github do you just leave them in your home folder or do you use a different directory?
on Debian/Ubuntu/anything using APT/apt/apt-get/aptitude/.. how do I * list packages that have been removed but not purged (and therefore still pollute my system with their config files) * find out why automatically installed packages have been installed (ie what other package pulled them in as dependencies). I want this done recursively until it hits a manually installed package
Aaron Wood
I can't SSH/ping my server unless it has a keyboard plugged in, how to fix? boot with kb: ssh works, can ping machine boot with kb, ssh in, ping is ok, then unplug kb: ssh session disconnects, "Connection reset", can no longer ping boot without kb: ssh gives "Resource temporary unavailable", cannot ping
ssh server box is a wintel w8 pro running a fresh install of ubuntu server 18.04
Brody Nelson
You can use wpa_passphrase to connect to access points without editing the configuration file.
Aaron Sullivan
Why is the gentoo install process always broken?
tar xpf stage3-*.tar.{bz2,xz} --xattrs-include='*.*' --numeric-owner
It won't run this because apparently i'm not allowed to have more than one option that starts with --
Jonathan Myers
>Why is the gentoo install process always broken? why do people spout lies like this when they clearly don't know what they're talking about
Kayden Campbell
What's the dumbest OS you've ever seen? Windows and Mac don't count
antergos and every other X but easy to install distro. I don't see the point. I feel for the arch community having to deal with ubuntu/windows brainlets flooding to whine about installing a broken package from an AUR.
Grayson Allen
I installed a few programs on a fresh install of CentOS (JDK, intelliJ Idea). I had installed CentOS alongside Windows 10. After two weeks of not logging in I decided to do something in Linux for a change and it turns out intelliJ thinks it's freshly installed (no settings got saved). Is it a problem with Linux or with intelliJ? VLC is also not present in the menu.
Juan Reyes
I always do tar xfp stage3- -C /mnt/gentoo
and it always work
Hunter Scott
oops
Josiah Brooks
wpa_supplicant is deprecated. Use iwd.
James White
What does the place where the software is hosted have to do with your packaging solutions?
Thomas Powell
Hello, I currently have an old laptop i plan on getting rid of and thought i might as well use it to explore different OS's. It's an asus zenbook 3; i7-7500 CPU @ 2.70GHz/ 2.90GHz, 16GB RAM(15.9 usable), 64-bit.
I want to start with Debian 4.9, mainly because I have seen other users configs and it looks so clean. Lately I have been into aesthetics/ functionality. the only prob is that I am completely new to coding and not tech savvy at all when it comes to pc's. I am a very fast learner though. Anyone have an idea of where to start or possibly point me in the right direction? install tuts, (do's and don'ts), resources, privacy. anything helps, thanks
I can have a significantly more powerful device than that Acer poverty-laptop I bought in 2007, it could make a decent carry-anywhere pocket/desktop computer running DE as an option, yet closest thing to is crippled chroot environment via SSH or VNC, reminding you that no matter how advanced and compact the hardware, it never will be anything more than artificially limited media-consumption-oriented spydevice and all the advancement behind it is not in your interests at all and it's almost more (((important))) to carry one than your passport.
Caleb Turner
upgrading from debian 8, it served me well but I need newer packages. I'm tempted to install ubuntu lts, but last time I used it (14.10) it was pretty crap with its unity bs and bundled amazon malware. Have they fixed that shit?
do I go with debian 9 or just go with the flock and install ubuntu 18.04? Preferred DE is LXDE
Mason Edwards
unity is kill 18.04 default DE is gnome, but you should just get lubuntu
Luis James
I'm using Void Linux and I have freetype package installed. Fonts on some sites or some specific parts of the website look terrible, pic related. How can I fix this?
thanks user. Does it have the amazon search malware by default? If yes, I will stick to debian otherwise good to go
also, every ubuntu ever I used started to throw system error messages on startup after a few weeks of use (literally nothing happened, they just wanted my core dump for whatever reason), does this exist?
Christopher Perry
Try install Noto-Fonts
Ian Phillips
there's no search malware but the default gnome desktop has an amazon launcher lubuntu has nothing amazon related
Hunter Gutierrez
Fontconfig.
Jose Miller
aptitude why
Joseph Lopez
zgrep -E '^(Remove)' /var/log/apt/history.log* apt-cache rdepends packagename >I want this done recursively until it hits a manually installed package not sure if apt supports it, you'll probably have to script it yourself.
Bentley Ramirez
>/var/log/apt/history.log ah, that file is nice to know, thanks!
>apt-cache rdepends packagename also good, I'll see what I can do with this
>aptitude why this was the reason I asked, because I dont think that does what I specified. or at least it didnt give the results I wanted/expected, but I'll look into it again
Jace Nguyen
There's also /var/log/dpkg.log if you want an even more verbose history.
James Morgan
What's the comfiest GNU/Linux distro? Debian? Ubuntu? Something else?
gentoo will make you the most proud of yourself. debian for just werks
James Phillips
>comfiest It's whatever works for you and is unobtrusive and allows you to do what you need to. Distros are largely just curated repos that cater to the specific philosophy of the maintainers. Ergo unless that's a factor in your use case it's largely irrelevant. The biggest thing you might redress would be the foss oss argument. Some distros will passively encourage you to use foss but will offer oss options in the form of maintained non-free repos. The only other major concern would be if you want a snapshot or rolling release distro. The former holds back packages until they are deemed stable for use while releasing accepted package and security updates to maintain stability. The latter patches packages in the upstream and releases them as they clear testing. The best way to describe both these in example would be
>Debian Snapshot release foss philosophy >Arch Rolling release no foss restrictions on main/community repos
The remainder is defining your userland with a de or supplemented wm setup. Which are largely homogeneous across distros.
Aaron Gray
>144hz display. >60hz display.
>Attach the 60hz display to PC. >The 144hz display now wont turn to 144hz, only to 59hz.
?
Logan Hernandez
ok, it now randomly blimped and the 144hz is working at 144hz lmao k
Aaron Jackson
>implying debian restricts you
Wyatt Nguyen
Had a problem with gnome software center not showing any programs on 2 different xubuntu computers Solved it by doing rm -r /var/cache/app-info sudo appstreamcli refresh --force --verbose
Jace Bell
>Implying you're literate It says has foss and non-free.
Brody Cooper
Is this a stupid idea? >monitor ssh connection logs >get failed SSH attempt >if the IP is there more than n times >parse whois output for an abuse email >send automated email with information regarding what they're doing Might be a way to help stop dumbass bots looking for easy server access.
Julian Ramirez
sounds absolutely fucking annoying... for them. Do it.
So I cloned my old SSD to a new one that has twice the storage. My / and /home are stored in /dev/sda5, it's an encrypted LUKS partition. What's the best way to resize this to fill the disk without fucking anything up? I know that basically I have to expand the PV (the hard part) and then expand my LV's. Any pointers on this, I went through the arch wiki and the debian wiki but they seem to have conflicting advice on how to resize stuff.
I know this is a GNU/Linux thread but I need ideas for my GNU/OpenBSD machine. I have an old PC running OpenBSD. It has a 40G hard drive and less than a gigabyte of ram. I tried setting up unrealircd but it kept segfaulting. What are other good uses for low-powered OpenBSD machines?
Cooper Butler
Hello friends. I was wondering if someone could help me out diagnose this issue, since I really don't know the next thing about ports or networking.
There's a program that "listens" for the control data from a game (Dirt Rally), so that it can show an overlay of the controls of a car as you're driving it.
The README says to enable the UDP port the game can use and make it transmit to 10001, so that the program can listen in. However, When visiting localhost:8080 on my browser I get a blank screen. What could I be doing wrong? I've read the program works for GNU/Linux folks, so it's probably a fuck up on my end.
Asher Allen
dumb question, how do I move the cursor faster with ctrl + direction in urxvt? I know it's a setting in the config but I have no clue which one
Josiah Rodriguez
archwiki article on lvm resizing and luks resizing
Brayden Gomez
Okay here's what I've done. I decided to send to all emails found since there can be multiple, different abuse email addresses for a single IP. #!/bin/bash failed_cons="$(grep 'sshd.*Invalid' /var/log/auth.log)" remote_ips=($(echo "${failed_cons}" | grep -oP '\d+(\.\d+){3}' | sort -u))
for rhost in "${remote_ips[@]}"; do grep -q "${rhost}" /var/log/ssh-abuse-emails.log && continue grep -q "${rhost}" /root/whitelist.txt && continue email_addresses=($(whois "${rhost}" | grep -E -o "[A-Za-z0-9][A-Za-z0-9._%+-]+@[A-Za-z0-9][A-Za-z0-9.-]+\.[A-Za-z]{2,6}")) for e in "${email_addresses[@]}"; do printf 'Hello,\n\nThis is an automated email from the owner of fqdn.\n\nMy ssh logs have detected the IP %s has been attempting to bruteforce my username/password. Everything is okay, my server is fine and this is a common occurrence as I'\''m sure you'\''re aware, but I would just like to inform you so that it doesn'\''t happen again.\n\nPartial log:\n%s\n\nThis is the only time I will send a report for the IP %s' "${rhost}" "$(echo "${failed_cons}" | grep "${rhost}")" "${rhost}" | mail -s "Abuse Notification For ${rhost}" -r abuse-notifyd@fqdn "${e}" done echo "${rhost}" >> /var/log/ssh-abuse-emails.log done Then a cronjob runs it every minute.
Hudson Jenkins
Just setup fail2ban like everyone else and be on your way Also use iptables to block russian,china and india ips from connecting
Kevin Parker
I do that as well, and I even have my sshrc setup to ssh into my PC and notify-send some information every time an SSH connection is established, or if my PC is off it'll send an email.
William Moore
Its pointless and you're opening your self up to scurrility
Dominic Hill
t. bot owner
Chase Jenkins
do you not use key-based auth? that is enough, there's no need to implement convoluted shit just for ssh
Landon Sanchez
Yeah obviously, and it's not that I'm afraid of getting hacked. Seems you completely missed the point of this script.
Adam Gutierrez
you won't take down botnets by reporting the individual IPs the scans originate from, those are just random infected machines
Juan Jackson
Nigga you're forgetting that most aren't random infected machines. My logs show most of them are owned by VPS providers in China or Indonesia. I don't see how this short script could inconvenience either of us, so I also don't see why you're trying to convince me not to use it..
Samuel Nguyen
But I guess what I could do is a quick nmap scan for common server ports before sending off an abuse email.
Logan Sullivan
I'm not trying to convince you do stop doing anything, I'm saying you're wasting time. Do you really think the VPS/ISP companies in China and Indonesia give a shit about abuse emails?
James Hall
Yeah they probably don't, but I might get a few people's accounts suspended.
Just go through the Usage steps on github, then open a terminal and run ss -tulpn as root to see if the programs are listening on the ports. If they are and you still can't connect, you might have to allow the ports through your firewall or check if something like SELinux isn't blocking it.
It was written by someone who should fuck off back to windows. 1. Linux is a kernel 2. Cannot blame the distros for shit hardware support, if the manufacturers are niggers who refuse to release proper documentation. HW support is like 75% of the document. 3. Everyone blaming Linux for bad printer support should sudoku ASAP. The printing system we use is developed by Apple.
And I could go on for hours.
Thomas Fisher
I just keep the cups service enabled and printers are literally plug and play for me on linux. Hell, they're much more annoying on windows because every shitty company makes it's own drivers, with cups it's all universal
Mason Nguyen
Uninstall and purge apport to stop the messages
Owen Allen
i want to troll tranny lovers
someone make a script that will quote all posts in a thread with the words 'she' or 'her' in it... thnx
Colton Lopez
this is a trans-inclusive thread, honey
Jose Hill
gtkorphan [not sure of name] gui frontend for deborphan. Just literally click to remove orphaned config files.
Connor Collins
>Not liking feminine penises and masculine vaginas Get a loadda this user
David Green
what do you ni/g/gers think of open suse?
Eli Williams
wget -qO- randominsults.net | sed -n '//{s;^.*\(.*\).*$;\1;p}'
Ethan Myers
tumbleweed is great I have the newest packages and everything is stable
Tyler Morris
Does void have a tan or something I can jack off to? Ricing it just doesn't do it for me any more.