/fglt/ - Friendly GNU/Linux Thread

Welcome to /fglt/ - Friendly GNU/Linux Thread, or as I've recently taken to calling it, Friendly GNU+Linux Thread.

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: Please spend at least a minute to check a web search engine with your question.
*Many free software projects have active mailing lists.

$ man %command%
$ info %command%
$ %command% --help
$ help %builtin/keyword%

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

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

Jow 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/
cheat.sh/
>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

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

/t/'s GNU/Linux Games: Previous thread:

Attached: freedom.png (788x7273, 917K)

Other urls found in this thread:

askubuntu.com/questions/380550/xubuntu-how-to-set-the-wallpaper-using-the-command-line
cyberciti.biz/tips/compiling-linux-kernel-26.html
amazon.com/ExpressCard-34mm-Adapter-Dual-Port/dp/B0045BLP1S/ref=sr_1_9?s=electronics&ie=UTF8&qid=1543439323&sr=1-9&keywords=expresscard usb 3.0
amazon.com/ask/questions/Tx36YBFU1UU1GIJ/ref=ask_ql_ql_al_hza
wiki.debian.org/GrubEFIReinstall
kali.org/tutorials/nuke-kali-linux-luks/
github.com/systemd/systemd/issues/6077),
cloud.google.com/storage/docs/gcs-fuse
twitter.com/NSFWRedditImage

First for Arch GNU+Linux

arch = simple to use
void = simple to understand

install gentoo

>need to have build dependencies for everything installed
bloat

So...
If someone know something about that ...

I am a frequent lurker of these threads and I have a bit of a problem, I've looked online and haven't found much so wondering if I could get some help here. so basically my situation is this
>running xubuntu on a t410, using xfce
>trying to wean myself onto only using the terminal for as many actions as possible for fun, efficiency, etc
>working on using gsettings to change the system settings
>right now starting small, trying to change desktop background
> use "gsettings set org.gnome.desktop.background picture-uri "file://home/name/Downloads/pigture.jpg""
>nothing happens
>check file name and path, everything seems to be in order
>try changing via xfce customization thingy, works
what am I doing wrong? does the xfce personalization gui program override gsettings or did I just do something wrong?

I have no idea what XFCE is or does sorry.

xfce is the de that im running, came with xubuntu

>using xfce
>org.gnome
Are you sure that command applies to xfce and isn't for gnome?

journalctl -b -1

Will show you the logs from your entire last boot, scroll to the very bottom and you will likely see why it hung.

well I used gsettings list-schemas and it seemed to be the only one that had anything to do with desktop bacgrounds, I'll check again though

yea so I checked again and there doesn't appear to be a schema other than the org.gnome one which has anything to do with desktop backgrounds

Did you try this?

askubuntu.com/questions/380550/xubuntu-how-to-set-the-wallpaper-using-the-command-line

So I want to build and install new kernel on an old Debian laptop, so I don't need many features present in default kernel.

I followed this manual and compiled the kernel on my main rig in a user folder cyberciti.biz/tips/compiling-linux-kernel-26.html up until "sudo make modules_install", as I understand this will actually install kernel on my main rig.

So how do I install this kernel on my laptop now? Do I put it on a thumbrive, plug it into a lappy, cd into the kernel dir and run all of those commands after the "sudo make modules_install"?

How can I add an option to boot into older kernel in Grub in case something fucks up?

I'm not sure of what i'm supposed to see

Attached: 1512667793762.png (1128x261, 186K)

>39 output lines suppressed due to ratelimiting

lol idk
Maybe that's the network driver error from your first screenshot.

Is it compiled as a module? You can try to rmmod that shit before shutdown to see if its causing the hang. Its likely a known issue with a real solution if that is actually the problem, in which case you can probably just google it.

>in which case you can probably just google it
I have found nothing, that's why i came here...
But I will google for "rmmode" cause I don't understand..

Attached: 1530034078294.png (726x1006, 694K)

make modules_install will only install the kernel modules, you need to copy the kernel itself to /boot and configure grub it. You'll also probably need to generate an initramfs.

Debian probably has an official guide for how to do this, judging from your url
>linux-26
that's pretty old, don't follow that guide.

I would try and read the extra output that was suppressed or whatever.
journalctl -u systemd-shutdown

Might show it.

For the rmmod, pic related, i have found it, it is a temporary kill or a permanent one ?
Also I will use your journalctl command

Attached: 1518210572261.png (428x58, 14K)

wine would probably be easier for me to use but manjaro makes me seem cooler on the internet

>-- Logs begin at Thu 2018-11-01 20:59:03 CET, end at Wed 2018-11-28 21:33:01 CET. --
>-- No entries --
lel

Shit like this is the reason I always have systemd.debug-shell in CONFIG_CMDLINE

Crap just stops and I can switch tty and find out why in single user mode.

huh, so it seems like none of these commands have any effect whatsoever. I used the xfconf-query method and tried using gsettings again and both have no effect, the only way I seem to be able to change the background is through the desktop settings gui. I might be doing something wrong, but idk. It seems to work for everyone else. At first I thought maybe xfconf-query was overriding the gsettings but it doesn't work either, is there another process that is maybe taking priority?
I am also thinking it could be a problem with the way xfce is labeling my display/monitor

Dont do this.
Look up how to build a deb and then install it using your package manager

Yeah don't do it, just use the binary kernels. Debian absolutely sucks for any kind of customization, all of your shit will break.

It isn't like gentoo/portage where packages check your current kernel's source code and build against it automatically.

Is it safe to rmod thinkpad_acpi ?
I have uninstalled thinkfan and the problem seems to have appeared since i have done some things in it, but i don't remember it this module was already enabled.

Will most USB express cards work with Linux out of the box? Was thinking about getting one to add some usb 3.0 ports to my thinkpad but I'm not sure if it'll function

Sounds like you are fucking with tons of shit and don't really know what you are doing.

You should just start over and skip unnecessary shit like thinkfan, nobody uses that crap anymore.

>and don't really know what you are doing.
Indeed, but it's also because its installation was a fuckin 150 steps process...And now it's fucked, but all went great before that.

I would say yes, but before you buy it look it up.

I'm trying to burn an iso of ubuntu to a usb to install to a dualboot, I've got 500gb free in my HDd, gonna do 150gb for ubuntu

So question - I used dd if=/root/Downloads/ubuntu.iso ect ect ect I got error dd: error writing /dev/sda2 no space left on device

So yeah, how do I format the drive to turn it into a bootable usb to install linux dualbooting

Also the host is kali as I learn for the oscp so I allready have grub

All of them should work OOB, it's USB we're talking about. I say, take the risk.

amazon.com/ExpressCard-34mm-Adapter-Dual-Port/dp/B0045BLP1S/ref=sr_1_9?s=electronics&ie=UTF8&qid=1543439323&sr=1-9&keywords=expresscard usb 3.0
It's pretty cheap, should I bite the bullet?

Why are you writing the ubuntu iso to your sda2 (usually your first internal HDDs second partition) again?

Did you even read that page?

amazon.com/ask/questions/Tx36YBFU1UU1GIJ/ref=ask_ql_ql_al_hza

Fuck me

How do I undo?

You can't, you fucked up whatever that partition was.

Why is smbmap such garbage? it fails at literally the only job it is supposed to do, and smbclient works perfectly
root@kali:~/trash# smbmap -L -H 192.168.0.104
[+] Finding open SMB ports....
[+] User SMB session establishd on 192.168.0.104...
SMB SessionError: STATUS_ACCESS_DENIED({Access Denied} A process has requested access to an object but has not been granted those access rights.)
root@kali:~/trash#
root@kali:~/trash#
root@kali:~/trash# smbclient -L 192.168.0.104
Enter WORKGROUP\root's password:

Sharename Type Comment
--------- ---- -------
ADMIN$ Disk Remote Admin
C$ Disk Default share
IPC$ IPC Remote IPC
NETLOGON Disk Logon server share
Public Disk
SYSVOL Disk Logon server share
Users Disk
Reconnecting with SMB1 for workgroup listing.
Connection to 192.168.0.104 failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND)
Failed to connect with SMB1 -- no workgroup available

/boot/

But not /boot/efi

So reinstall the base os?

Tough question, you might be able to reinstall just the packages that touch /boot. There's the kernel and grub, remake the initrd.

I don't know enough about Kali to tell you how to go about doing that.

I think its salvageable if you reintall grub and your kernel.

Can you walk me through it?

I'm a linux newbie

i didn't see that. Thanks for your help man.

Attached: narrator.jpg (706x720, 91K)

Also you need to reformat it, umount, mkfs.ext2, mount before attempting to reinstall the packages.

>SMB1
can you force it to use a newer SMB version? SMB1 is a buggy mess, responsible for wannacry and friends.

I posted earlier from this thread but I guess it wasn't appropriate.
Anyway I got an old Mac desktop recently with an outdated as fuck OS so I wanna change it to Ubuntu but I'm not sure how much hard drive space I can dual boot. I'm worried that if I delicate to much to Linux the other OS X lion will break or something which I wouldn't necessarily care so long as it doesn't hinder Ubuntu.
>inb4 macfag
I got this thing for free.
Also the screen shot is from my mac but I'm posting from Wincucks8.

>What are you doing on your linux
I plan on making muh linux computer into a shitposting machine.

Attached: thoughtful tapris.png (500x500, 325K)

the issue isnt SMB1. smbclient works fine, even tho its throwing an error (im using invalid credentials)...
im wondering why smbmap, whos only purpose is to map SMB's is such garbage at its job.
possibly im using it wrong?

Attached: hey_you.png (638x379, 49K)

You fucked up pretty bad man. It should go without saying but do not turn off your system, it will not boot again until it is fixed.

First thing you need to do is fix your /boot partition.

$ sudo umount /boot
$ sudo mkfs.ext2 /dev/sda2
$ sudo mount /dev/sda2 /boot

Reinstall linux(not sure about package name).

$ sudo apt-get install --reinstall linux-image-amd64

And then grub: wiki.debian.org/GrubEFIReinstall

Cross your fingers and reboot.

Aight, so I fucked this install up, but all my personal data is backed up.

I still have my original install usb, gonna just reinstall from scratch, maybe encrypt the disk this time and not do this shit from root next time.

And I JUST made a useraccount too. Fml

I have usb, but I'll try this first.

Thanks user, I'll give it my best. Also I was supposed ti hit dev/sbd1 instead of sda. Jfc

It says /boot is busy. How do I kill it?

Thx

Cntrl+C

No problem. Good luck.

Also no, you don't dd an bootable iso to a partition but to the drive. /dev/sdb(I think you made a typo), not /dev/sdb1. Note that it will remove everything on the drive.

Also fucking triple check the device name, if you dd to the wrong place you end up in the kind of situation you are now.

You probably have to umount /boot/efi first.

I do it and it says ^C

For the sake of argument, let us assume that I am a retarded asshole made of perfectly elastic spherical cows.
I'm going to be writing a server that loops accepting connections from a server socket.
Presumably, I am also a lazy retarded asshole, and may process requests so slowly that some pending connections time out before I can call accept() and receive them.
Is there any way to objectively measure how awful a person I am, by retrieving a count of connections missed on a listening socket?

Attached: 1541176064479.jpg (540x790, 60K)

Might have worked. Gonna reboot now.

If not reinstall is my penance. Maybe this time it wont take me 2 fucking weeks to do it

Nope. Familiar blinking command line taunting me at my own stupidity.

Gonna do disk encryption this time. Do everything properly. Glad I keep OS's on spare sticks

Can you dual boot Linux and Windows from 2 drives? I'd just assume buy another SSD for my Linux "partition".

yes

Btw as I sit here waiting for my usb2.0 to overwrite 1tb of data to do full disk encryption, i just wanted to say thanks to everyone who helped me. I fucked it up and y'all were nice an shit. Sitting here listening to defcon talks while I wait.

Anyone have good, up to date talks on anonymizing yourself online? Just watched the 2015 talk by zoz

You've already fucked up posting here.

after installing void on my machine I'm unable to get wifi working. mint live boot has the proper driver so I'm assuming there's a package in their repos for it. is there any way to get that and repurpose it for void, which uses a different package management system?

I know that. But I'm trying to learn data security.

Also for reasons I wont go into I dont have much to fear from Gov actors.

Bloatniggers

what antivirus do I use with linux?
I'm paranoic with this kind of stuff so don't hit me with a "you don't need one" or "common sense" shit

kali.org/tutorials/nuke-kali-linux-luks/

Anyone ever use this shit before? It's taking forever to rewrite my drive and I'm questioning the usefulness

This is all more or less security theater for me rn but I'm enjoying learning all about it.

clamav is the only one I know of.

Just got a T430.
What should I install?
inb4 gentoo

I just hope I don't fuck it up but it looks simple enough. I'm debating whether to do a dual boot or a full boot but I'll probably just mess with dual first.

>Bloatniggers
You may have a point however I'm sure even the worst linux distro is better than win10 or whatever is the latest mac os.

Attached: ferrero-rocher-chocolate-balls-candy 2040309043.jpg (580x580, 241K)

>ubuntu/debian home directories are world-readable by default
>global umask is 022 by default
>all applications launched by systemd --user have umask 022 (github.com/systemd/systemd/issues/6077), so this effects non-debian systems too
The absolute state of Linux desktop security.

explain as if i were retarded

Syncthing or Nextcloud?

org-mode and emacs in general is slowly taking over my computer holy shit. It's practically all I use now.

Other users can read your files. This includes processes not started by you.
All files created by you can be read by others, and modified by others in your group.
All services started by systemd write world-readable files regardless of settings.

What about luks encryption?

>New Socialist
More reason not to use linux

Even though it's usually accessible in some way, like you're trying to do, DEs aren't meant to be used from the command line. They have their own GUI settings menu and stuff.

When you want to change anything, it's through one of the incompatible different Windows registry-like database they have and to interact with processes you have to go through garbage like dbus. It just sucks.

Use Xorg directly and just draw to the root window, like with the image viewer feh.

Two difference things. That only involves data-at-rest.

What's the worst way Debian Sid could break if I were to switch from stable?

Can someone tell me how to use Google Drive under Linux? What's the best way? I don't want to use the browser only.

I don't use google drive but the first thing that comes to mind is FUSE, first result:

cloud.google.com/storage/docs/gcs-fuse

Just installed void on an old PC, now the only thing I have to figure out is how to install anything because I'm not use to this at all.

So my 50 character password I'm proud of making is worthless?

So I used apt-get install kali linux full and it turns out the netspeed I'm working with is somewhere between fuckall and slow. I'm at the library rn and it looks like itll close before I'm done downloading.

How do I pause a download done from apt-get? Or do I just pray it finishes first, start over tomorrow if it doesnt?

>Or do I just pray
This

did lxde and lxqt become one?

So long as you don't shut off your laptop, you can stop any process in the terminal with C-z. Resume with the command fg once you have internet access again.

Although a good package manager should be able to not download already downloaded files, I don't know how apt fits into that.

Exactly what I needed, thanks user, all I could find was just ways to access the files from a file manager, not actually mount the folder as writable, this is what I needed. Thanks again.

prayer is for suckers

i decided instead to Ctrl-Z then apt-get install synaptic to get python and an IDE/IDLE, then grabbed macchanger just because it's the first linux program i learned how to use and i love it like a pet. even if it can't change UUID

unrelated, i guessed apt-get install synaptic would work and i'm proud i didn't need to google it toget it to work, i just belted it out from memory. i feel a little more linux-y now.

any good PDF/EPUB readers so i can actually read the programming books i have on my storage?

Just chmod 700 ~ if you don't like it. It doesn't matter what the permissions are further up the tree. umask 220 is a perfectly reasonable default.

Glad you're liking it but please stop the blog posting, you sound like a 15 year old l33t h4x0r wannabe.

Also mupdf.

but i didn't even tell you about how i decided to make my laptop into a tripple boot of blackarch/kali/pentoo

ok i'm kidding on that one. though will i have issues installing two different kinds of linux on the same laptop? i want to install pentoo

Sheeit, it's still gotta be a better alternative right? All I wanna use it for is a spare shitposting computer.

>The absolute state of Linux desktop security.
So they're now officially worse than win8 security which apparently only takes a 500 mg flash drive to '''hack''' into?
Wow that's fucked, good thing my roomates are even dumber than me so I doubt they can exploit that though...?

What's a good user friendly alternative? Also I knew they got taken over by Goygle SJW's recently but I don't know how bad it's gotten now.

>Other users can read your files.
Other users on the OS or just the computer their account is on? I'm retarded.

Attached: Miraculous.Ladybug.full.2095244.jpg (1000x891, 279K)

Hello /fglt/, noob here, I have picked up experimenting with Debian in virtualbox. I'm trying to install I3-Gaps so I can rice and post in the desktop threads. Can anyone help?

I've followed the instructions here:
github.com/Airblader/i3/wiki/Compiling-&-Installing

and made it past the "compile and install" block
running regular i3wm right now, thanks for any help.