/fglt/ - Friendly GNU/Linux Thread

Previously on: Welcome to /fglt/. We are always open to users of all levels, including absolute beginners.

There are four ways to try GNU/Linux, you can:

0) Install a GNU/Linux OS on a VM (Virtual Machine/VirtualBox) for "safety purposes"
1) Use the Live ISO directly without installing anything, that way, you can get a "full GNU/Linux experience".
2) Dual-boot GNU/Linux with Windows/Mac (recommended if you want to learn more about GNU/Linux)
3) Go balls deep and overwrite everything with GNU/Linux

Before asking, please search for answers to your questions in resources.

Please be civil, notice the "Friendly" in every Friendly GNU/Linux Thread.

Understand that much of your software from Windows will be unavailable, although maybe WINE can make up for it.

IRC connection details:
Server: chat.freenode.net:6667 (no SSL, 6697 for SSL) - Channel: #flt
If you don't have an IRC client (which you should), go to kiwiirc.com/client/irc.freenode.net/flt to use IRC on a web client.

Visit the Friendly GNU/Linux Thread/Website:
fglt.nl/

Resources:
man
Your friendly neighborhood search engine (searx.me, ixquick, whatever)
wiki.archlinux.org/ (Most of the configurations and troubleshoots will work on various distros, including Debian)
wiki.installgentoo.com/index.php/Category:GNU/Linux
wiki.installgentoo.com/index.php/Babbies_First_Linux
prism-break.org/en/categories/gnu-linux/
linuxcommand.org/tlcl.php
gnu.org/

Other urls found in this thread:

wiki.debian.org/Openbox
wiki.archlinux.org/index.php/xinitrc
wiki.archlinux.org/index.php/NIS#Install_Packages
debian.org/doc/manuals/securing-debian-howto/
wiki.debian.org/Hardening
duncanlock.net/blog/2013/06/07/how-to-switch-to-compton-for-beautiful-tear-free-compositing-in-xfce/
ppa.launchpad.net/richardgv/compton/ubuntu/dists/xenial/main/binary-amd64/Packages
ppa.launchpad.net/richardgv/compton/ubuntu/dists/xenial/main/binary-i386/Packages
wiki.archlinux.org/index.php/Steam/Troubleshooting#Steam_runtime_issues
gog.com/
twitter.com/NSFWRedditGif

where is his Laptop?

probably the bag behind him.

Hey guys, new to GNU/Linux and I, and I'm being a tad bit confused on running Openbox. I'm following this guide: wiki.debian.org/Openbox

Trying to do it from the commandline, and typing in:
exec openbox-session

It mentions to setup the xinitric file in your home directory and insert the line above, however I don't really know how to get there from a terminal.

>copy xinitrc file into your home directory
>open it with a text editor (nano)
>add that command

Or just stop posting Japanese cartoon images and use a display manager like LightDM to start your session in an aesthetically pleasing way with a bunch of other useful features (session management).

use an editor (nano, vi, ed ...)
to edit your xinitrc, add that line and remove the lines for the default session (starting from the line containing twm & until the other exec line)
this wiki.archlinux.org/index.php/xinitrc will give you an idea on how your xinitrc should look like

ok still on this nis stuff
wiki.archlinux.org/index.php/NIS#Install_Packages


at this point
/var/yp/ypservers
Add your server to /var/yp/ypservers:
# your.nis.server

first i dont have a ypsevers file, so created one.
next this part
# your.nis.server

do i leave that as is and paste into file or do i edit something like this
mydomainicreated.nis.server

or just use
mydomainicreated

I didnt restart after changing etc/fstab and closing it and opening it still freezes it i can even use the keyboard to select things

I got a old P4 with 256MB of RAM.

Anyone can recommend me a distro that will not be slow as fuck?

since you got some confusing instructions from multiple people, here's one command that does everything you need:
echo 'exec openbox-session' >> ~/.xinitrc
which tells your shell to print the text "exec openbox-session" and append it (>>) to a file .xinitrc in your home directory, or create the file if it doesn't exist.
if you have no clue what you're doing you could probably use Puppy Linux.
Else I'd use Debian netinstall and go from there

>echo 'exec openbox-session' >> ~/.xinitrc
wont solve anything if the default session is still in there

I got time to play around with it so I'll try debian netinstall.

I used a live cd of a tinycore based distro that was fast as could be, but I am not experienced enough to know what I'd be doing. I may try gentoo or arch based on the wikis. I have no life.

true, I didn't think of that. Using nano is the better way then.

do you have xscreensaver installed?

I dont know, i didnt install it and i didnt uninstall it so if i lt came with mint 17.3 i have it

How do I use "xargs"? I have no idea what it does and I'm too dumb to understand the manpage.

Can anyone give me a minimal example with "xargs" explaining what it does?

you may need to restart for the changes to have an effect.

What are some disadvantages Debian has?

Aside from the age of packages in Stable, I mean (which can be circumvented by just using Testing or Sid)

I ask because I've been using it for a while now and I've felt really comfortable with it. But I've also heard people disliking it so I wonder if it's them having trouble with things I haven't had to deal with or just personal preference.

>your.nis.server
well now i ge4t ypbind error?

tried both ways
mydomainicreated
mydomainicreated.nis.server

anyone good with yp.conf? or nis stuff

>confusing instructions
They were both telling user to do the same thing.

I am really autistic about the size of packages. I am not going back to a "solo" WM because DEs are pretty comfy. I installed fedora with gnome but I am thinking about switching to xfce. Will I be missing much? I feel like they will both have the same basic features.

the freeze testing has is a problem, for some people it is a problem that /tmp is in ext4 by default in jessie, not all of the wiki pages are as good as the arch wiki (though some are better), some people dislike dpkg for some reason, some people dislike that they need to change a text file first to install proprietary software on it, by default it is not configured to be very secure, you have to do that yourself if you feel the need to.

Now that windows xp is insecure, is running applications through Playonlinux also insecure when the windows xp option is selected?

For a home user, how do you go about making Debian reasonably secure?

Nothing too fancy, just basic security at perhaps Ubuntu levels (I assume they've got that covered?)

of the three anons who replied (one got deleted) none told him that it's not xinitrc but .xinitrc.
Since he didn't even know "how to get there from a terminal" I assumed he didn't even know how to navigate through the filesystem with cd, hence my suggestion to use echo >> ~/.xinitrc.
And he seemed inexperienced enough to not know that "nano .xinitrc" creates the file if it doesn't exist or opens it if it does.
So, that's why I wrote what I wrote, but I get why it wasn't a good solution.

as someone that went the other way around, gnome feels more complete in the way that has gnome packages for basically everything an OS needs if you don't use gnome-core but the whole things and gnome tries to innovate. xfce is really easy to customize and has pretty good default programs even if some in gnome are better. xfce tries to be compatible with everything and is very stable for a DE. their approach is very nice but they don't have enough people helping them.
xfce has more little annoying bugs but not something that would be a big problem.
both are very nice DE.
for a "home user", configuring ufw is probably already overkill. but debian.org/doc/manuals/securing-debian-howto/
wiki.debian.org/Hardening
these will help if you need more.

>none told him that it's not xinitrc but .xinitrc
I didn't even realize this. Not everyone is made to teach I guess.

Thanks, I will probably stick to gnome for now. It's pretty comfy.

>for a home user, configuring ufw is probably already overkill

Why do you think so?

because usually most people have firewalls on their routers and not many people in their networks scanning open ports and generally being 1337-h4xx0r5.
of course it's better to be safe than sorry but in reality, debian is secure enough for a regular user that doesn't plan to visit defcon.

Running proprietary programs is always insecure, no matter which system.

>look ma! I'm shitposting!

he is right, you need to be sure if you can trust the packager and the author of the software. this is always true, especially if you install things from outside of your distros repository. reproducible builds might remove the packager from the equation in the future.

woohoo ypbind running

why is this thread so slow today?

ok g/ if bored im trying to setup nis still.
from here
wiki.archlinux.org/index.php/NIS#Install_Packages

I run the yptest but gett error about binding domain

Test 2: ypbind
can't yp_bind: Reason: Domain not bound

this screen cap of current config

it's sunday, people aren't at work and don't need to shitpost to kill time

Does anyone have any experience setting up NFS shares? I set up my share, and it is getting ~100MB/s for the first 2gb of a large file over my gigabit network, and then it slows down to less than 1MB/s for a long time before going back up and repeating until the transfer is done. I am guessing that I am configuring something wrong. The Samba share between the same systems gets a constant 10MB/s.

I have been trying different configs, but this is what I have right now:

Server:
/home/share 192.168.0.0/255.255.255.0(rw,no_root_squash,async)
/home/ext 192.168.0.0/255.255.255.0(async,no_subtree_check,rw,no_root_squash)
/mnt/data 192.168.0.0/255.255.255.0(rw,no_subtree_check,async,no_root_squash)


Client /etc/fstab:
#share
192.168.0.186:/home/share /home/share nfs rsize=8192,wsize=8192,timeo=14,intr
192.168.0.186:/home/ext /home/ext nfs rsize=8192,wsize=8192,timeo=14,intr
192.168.0.186:/mnt/data /mnt/serverdata/ nfs rsize=32768,wsize=32768,intr,noatime

Would any of you be willing to post configurations that are working well?

>having a job
normies out

i'm running xubuntu on a thinkpad x201. i installed compton following this guide here: duncanlock.net/blog/2013/06/07/how-to-switch-to-compton-for-beautiful-tear-free-compositing-in-xfce/

it works great and got rid of all my screen tearing, but when i run apt-get update i get these errors at the bottom:

E: Failed to fetch ppa.launchpad.net/richardgv/compton/ubuntu/dists/xenial/main/binary-amd64/Packages 404 Not Found
E: Failed to fetch ppa.launchpad.net/richardgv/compton/ubuntu/dists/xenial/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.


anyone know how to fix?

sudo apt-add-repository -r ppa:richardgv/compton

Your disk is too slow and you run out of ram.

I want to use KDE. Should I use kubuntu or manjaro?

What are their respective strengths and weaknesses?

dont i need it though to update compton?

>kubuntu
works
>manjaro
>doesn't work

It's up to you mate

Fuck off tripfag.

Well sure, but since the ppa seems to be dead, there's no reason to keep it. If you want it to get updated, try an alternative ppa.

stay away from arch js ;)

Thats why the download slows down, the disk isn't writing 100MB/s and he runs out of cache so it slows down.

That's quite a compelling argument, thanks user!

Ever thought about switching to reddit?

Is there a way to increase the cache? I have 8gb of ram installed in the server. The drive I am using is a 4TB WD blue. Is the disk the bottleneck?

Get off my lawn, clown.

Bottleneck is on the client side not the server.

Using ufw to setup a firewall.The outbound policy is allow,the inbound policy is deny.The outbound connections are not working,http https dns.
iptables -L agrees with this.
How do i fix this?

Reinstall, because you fucked something up.

Reinstalling will not change the policies.

The policies are quite obviously not the problem if you have set them up correctly.

I'm trying to install Steam on my Arch installation (yeah, i know, nonfree software and all that, but I want to play some gaems).

What are all the needed 32-bit libraries needed?
I installed the ones mentioned here wiki.archlinux.org/index.php/Steam
but it still fails to start.
Pic related is the error log.
xcursor is installed, btw.

nvidia-settings --assign CurrentMetaMode="HDMI-1:1920x1080_60 +1200+578 { ForceFullCompositionPipeline = On }, DP-1:1200x1920_60 +1920+0 left { ForceFullCompositionPipeline = On }"

Is this potentially dangerous?
Will the "left" part work?
Does it look alright?

wiki.archlinux.org/index.php/Steam/Troubleshooting#Steam_runtime_issues

Checking the binary of the installed package matches the md5sum of the binary provided by the distro.
The non binary files in the system match the md5 of the package provided by the distro
Compiling from source, the binary and non binary filles match the md5 of the installed files, and from the package provided by the distro

You have set it up incorrectly or something else is blocking.

Thanks, that worked.

Setting a global policy for inbound and outbound traffic, cannot be blocking anything.If it is, then all iptables installed would be malfuntioning as well.
>blocking
There is no other software that would be blocking it. If you would like to suggest such programs, i would check for them.

Must be magic then user.

>Setting a global policy for inbound and outbound traffic, cannot be blocking anything
Not him but that is not what he was suggesting.

I know. But for diagnostic purposes, even setting no restrictive policies, it still does not work

How do I check if radeon dpm is enabled? Wondering if live distros have it enabled.

Then it seems that it is not ufw that is blocking your connections.

It only happens when i enable ufw, or enable iptables with the same policies

ok got to this point woohoo i think???


arch-vb has been set up as a NIS master server.
Now you can run ypinit -s arch-vb on all slave server.


is this right or do i setup another host on my install to interact with client side?

I have this little program that displays an icon in the panel and the window title. Where do I find that icon? It's not in /usr/share/icons. It's from an AUR so I had to custom-add it to the menu

Why is it a pain to generate a xorg.conf file on Ubuntu? Why can't it just at least include a template or some shit?

my problem seems to be that when i generate the grub config after installing (for UEFI/GPT) with # grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=grub, it says
ERROR: mkdir /var/lock/dmraid
ERROR: mkdir /var/lock/dmraid
ERROR: mkdir /var/lock/dmraid
ERROR: mkdir /var/lock/dmraid
ERROR: mkdir /var/lock/dmraid
/run/lvm/lvmetad.socket: connect failed: No such file or directory
WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
but, a config file is generated, and looks like it should be fine. however, when the computer is rebooted i am put into a black screen that says:
GNU GRUB version 2.02~beta2
Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists possible device or file completions.
grub >
any suggestions?

>sudo touch xorg.conf
Seems pretty easy to generate one to me.

doesn't it automatically make one in etc/X11?

>from aur
go to the aur page and go to 'source files'.It should list the name there then use find or locate to find the path

oh shit thatnks user it was right there

Not on Ubuntu 16.04

...

>steam
At least choose the lesser evil.
gog.com/

Yeah, I know... But not every game i like is on GOG.
Also, they shouldn't be called "Evil," they deliver DRM-free games and movies.
Developpers can't release their games under GPL and expect to make money doing it, that's why free games suck.
The GPL requires you to let the users see the source of the game, and if they can see it for free, why would they pay the devs?

So, trying to install Steam on Arch, but it just doesn't launch, at all.

The drivers should be the correct ones, has anyone got an idea of what the fuck the problem is?

Also, there is nothing really useful in the error log - something about not finding version numbers and distro, could this really fuck it all up? It doesn't exactly crash either way.

You can still charge for the assets, it makes more sense this way anyway. There was an interesting conversation about this on lundukes site with rms and a few other people.

>>>/sqt/

>not installing the proper lib32 libraries
>cant follow a hand holding wiki, where you can literally copy paste the contents of the wiki and get to work

You have to give everyone the right to copy it verbtiam and sell if for them selves
This will never workin in stallmas delutied dimension

That's the thing, the multilib and corresponding 32-bit libraries are all installed as far as I can see. Maybe it's some bullshit with the nVidia drivers and optimus shit, but that's gonna be a bitch to just trial-and-error through the correct combinations.

install gentoo

Either:
Read the wiki,
Post verbose logs,
Spend all night figuring it out your self.

Yeah, fuck it, was hoping that it was some semi-common problem, not some special fuck-up I've made. I'll get back to torubleshooting in the meantime.

Thanks any /flgt/

How the fuck do I watch porn on Fedora?

The only videos that load are HTML5 youtube and shit. I can't even install Chrome, it just randomly said failed when I tried it in the software center after dling it

Wat do?

It probably is, but you're not able to post logs. So go ahead

youtube-dl

it says it failed, but you should be able to just click on that Google Chrome icon that you have right there.
At least I had that, said it failed but was installed correctly anyway

Should I get Lubuntu or Xubuntu as my first Linux? What are the main differences?
I asked some time ago and got few adviced and these 2 are the last ones between which I decide

Please never come back.
No idea what obscure porn sites you're going to visit, but just use the good ones. They're all working.

Download it so it isnt shitty 240p 2min videos?