After Installing Arch & Gentoo - Setting up a Graphical Environment and Users

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.ย. 2024

ความคิดเห็น • 173

  • @toydotgame
    @toydotgame 3 ปีที่แล้ว +144

    Linux from Scratch tutorial next?

    • @awesomethegreatamazing2651
      @awesomethegreatamazing2651 11 หลายเดือนก่อน +4

      One day

    • @zeckma
      @zeckma 9 หลายเดือนก่อน +3

      It would've been so helpful for me, lol, but I did it, even got Steam + Proton working. Don't know about Wine, though. In about February, I'll make an actual tutorial for the one or two people who have no sanity. Luke is mostly a Gentoo guy who doesn't really have a reason to follow {,B}LFS. I tried Gentoo and didn't like it, so that's why I decided to do LFS cuz yes

  • @Toxonic0Gaming
    @Toxonic0Gaming 4 ปีที่แล้ว +334

    If you need to edit the sudoers file, you really should use visudo instead of just editing it with vim. Experienced users aren't likely to make mistakes when editing it, but if beginners see this and start changing it with a text editor, they could do some real damage to their system and be unable to fix it.

    • @floouk
      @floouk 3 ปีที่แล้ว +6

      EDITOR=nano visudo
      Password

    • @bsmn2oid
      @bsmn2oid 3 ปีที่แล้ว +2

      @@ro1y if you mean as an alternative to sudo that's a really _really_ bad idea because some commands cause irreversable damage when you run them as (EDIT: root // was sudo)

    • @lotekchapra
      @lotekchapra 3 ปีที่แล้ว +28

      Honestly beginners should break and take on complex tasks. It helps in the learning process

    • @Finu23GamerDE
      @Finu23GamerDE 2 ปีที่แล้ว +32

      @@lotekchapra As long as they're motivated enough to keep going after that ;)

    • @rebelprime
      @rebelprime 2 ปีที่แล้ว

      @@floouk visudo does the same thing if you already have vim installed

  • @mounirmallek3255
    @mounirmallek3255 4 ปีที่แล้ว +130

    For the login manager, you might like ly, its in the aur. Its extremely minimal and i personaly love it !

    • @MentalOutlaw
      @MentalOutlaw  4 ปีที่แล้ว +57

      I'll keep that in mind if I ever decide to do something other than startx. Is there any particular reason you prefer ly to doing that?

    • @codebitcookie8053
      @codebitcookie8053 3 ปีที่แล้ว +3

      Thank you for this!

    • @lefpou
      @lefpou 2 ปีที่แล้ว +2

      That was very pleasant after light, cheers!

    • @eriklundstedt9469
      @eriklundstedt9469 2 ปีที่แล้ว +27

      @@MentalOutlaw
      Lightweight
      No configchange to change wm
      Has a cool "doomfire" animation option for nerd cred
      Did I mention that it's lightweight

    • @ppdd3651
      @ppdd3651 2 ปีที่แล้ว +2

      @@MentalOutlaw agree

  • @jhonrocha6632
    @jhonrocha6632 4 ปีที่แล้ว +168

    Hey! Great video!
    I am not sure if is something on my local, but sometimes it is a bit hard to see the prompt where you are typing, it is like bellow the recording area.

    • @dnrm
      @dnrm 4 ปีที่แล้ว +12

      Jhon Rocha Yes, it is somewhat hard to see

  • @mehdikhawari8830
    @mehdikhawari8830 4 ปีที่แล้ว +88

    Ich really enjoy your videos.

  • @5.2mhz
    @5.2mhz 3 ปีที่แล้ว +60

    Ok this is great and all but HOW THE HELL DID YOU EXIT DWM at 15:02 ? This shit is harder than exiting vim for the first time

    • @alephanull1953
      @alephanull1953 3 ปีที่แล้ว +35

      Shift+Mod+q

    • @trevorsatori
      @trevorsatori 2 ปีที่แล้ว +2

      😂😂😂

    • @SamSepiol127
      @SamSepiol127 ปีที่แล้ว +1

      I know it's kinda late...but maybe for future people, if you have the "windows" key onyour keyboard use that. Win+enter it opens the terminal and the other stuff. It's kinda like the crtl...and I don't know why 💩

  • @nilz91
    @nilz91 4 ปีที่แล้ว +60

    why is everyone using -mg and use wheel as the user group? would it be more "meaningful" in some way to use -mU instead as that creates the same group name as the username?

  • @kg_canuck
    @kg_canuck 3 ปีที่แล้ว +38

    Again, awesome tutorial. Made made the daunting task of installing arch very simple and easy.

    • @ddman7867
      @ddman7867 2 ปีที่แล้ว +5

      i wouldn't call that an awesome tutorial, it's more of a dwm tutorial ;)

    • @kg_canuck
      @kg_canuck 2 ปีที่แล้ว +1

      @@ddman7867 damn, guess I'm gonna have to look around for an i3 tutorial noe

    • @animepussy8356
      @animepussy8356 2 ปีที่แล้ว

      Because it is

  • @paultidwell8799
    @paultidwell8799 2 ปีที่แล้ว +8

    OMG Thank you so much. I'm currently compiling the Kernel, I had some initial problems because I typoed when setting up cflags and typed "march" instead of -march... but I updated GCC and figured it out so now i'm running a newer version of the C compiler and its setup properly.

  • @awwastor
    @awwastor 3 ปีที่แล้ว +41

    Arch, gentoo, void
    *BEDROCK SOUNDS INTENSIFY*

  • @brandona801
    @brandona801 2 ปีที่แล้ว +6

    @18:23 use ctrl+alt+F2 to switch to different tty

    • @morokai9495
      @morokai9495 2 ปีที่แล้ว +1

      you are a savior

  • @shell11
    @shell11 3 ปีที่แล้ว +13

    Which clipboard manager do you use? It's the first time I use a wm without a d.e. and nobody talks about clipboard managers. Which one do you suggest?

  • @Aemilindore
    @Aemilindore 4 ปีที่แล้ว +17

    Eye 🍬. Thanks mate. Thank for choosing dwm! Thanks for explaining the requirements prior dwm. By the way, one request, it's so hard to watch some of your videos because you always type at the end. Can you clear your screen more often and refrain from typing at the bottom edge?

  • @oalfodr
    @oalfodr 3 ปีที่แล้ว +7

    Thanks Kenny. I hoped for a little more setup to se if you are using polkit agent for your gui apps and if you are using gvfs for pcmanfm. I hope to see that in future. I like using ly window manager. It is a minimal tui manager that can run both xinitrc and desktop files if you have them. Enabling service would be enough in case of this video

  • @user-ir5xb1yk5k
    @user-ir5xb1yk5k 4 ปีที่แล้ว +15

    I've seen something like this before. References to Luke Smith are everywhere!

  • @233kosta
    @233kosta ปีที่แล้ว +1

    This is pretty cool, should be perfect for old machines and SBCs

  • @nabbikill
    @nabbikill 4 ปีที่แล้ว +16

    A bit late on the party, but ive seen in the man page that it is not safe to edit /etc/sudoers without using the visudo command. Do you have any insight?

    • @ratthew42
      @ratthew42 3 ปีที่แล้ว +7

      Permissions on it don’t matter if you’re root but visudo checks for typos before applying it so that your system doesn’t stop functioning

    • @pyroplasma9714
      @pyroplasma9714 2 ปีที่แล้ว

      On some distros, sudo is the only method of accessing root. Any syntax error whatsoever in /etc/sudoers will cause sudo to cease to function. This can cause damage to your system if you have no other way to access root. On distros like Arch you're relatively fine as you can always just 'su root' and edit that way

  • @kylozen3938
    @kylozen3938 2 ปีที่แล้ว +6

    When I do install arch I'm going to make comic sans one of my fonts even if I never use it for anything.

  • @henildedania1833
    @henildedania1833 4 ปีที่แล้ว +12

    19:36 : Login Screen will be on tty7.
    ctrl+alt+F7 for me.

    • @brandona801
      @brandona801 2 ปีที่แล้ว

      ctrl+alt+F2 for me

  • @darklytravelingboxofficial6622
    @darklytravelingboxofficial6622 4 ปีที่แล้ว +11

    What were the final amount of packages

  • @crazypersonalph
    @crazypersonalph 2 ปีที่แล้ว +1

    oh no, I just followed your tutorial on how to install arch, and went ahead and installed kde plasma by myself, and now I see your video about setting up a GUI.

  • @tylerdean980
    @tylerdean980 3 ปีที่แล้ว +7

    Ahh! I installed Arch in a virtual machine following your guide, but after trying to install XFCE now I can't even boot into Arch. I get to grub fine, but after starting, it just fails, and hangs on a black screen after loading the kernel.

    • @balala7567
      @balala7567 ปีที่แล้ว

      I know im super late, but in that scenario you can try switching tty by doing Ctrl + Alt + F(tty #).

    • @tylerdean980
      @tylerdean980 ปีที่แล้ว

      @@balala7567 Yeah, my memory is a little fuzzy, but it wasn't even able to get to a TTY. I've still stuck with Arch all this time though. My favorite distro. Debian is a second

  • @floouk
    @floouk 3 ปีที่แล้ว +46

    Great tutorial if you know what you're doing but for newcomers to Linux, you've frightened the life out of them and sent them scurrying back to Windows.

    • @bobibg4ever
      @bobibg4ever 3 ปีที่แล้ว +9

      Actually the other way around, big thanks!

    • @eccomi21
      @eccomi21 3 ปีที่แล้ว +6

      actually very much so the other way around.

    • @villyintheflesh
      @villyintheflesh 2 ปีที่แล้ว +5

      not really

    • @gingeh1
      @gingeh1 2 ปีที่แล้ว +12

      newcomers to linux probably shouldn't be using arch or gentoo anyway

    • @Epsicronics
      @Epsicronics 2 ปีที่แล้ว +16

      Newcomer to linux here, this video is actually what got me interested lol

  • @de-prest1
    @de-prest1 3 ปีที่แล้ว +21

    There needs to be an explanation on
    1: how to exit vim
    2: what keyboard shortcuts you are using
    3: how to add lines as you dont explain it
    this whole assumed knowledge crap with linux is what drives everyone away

    • @RobotChad
      @RobotChad 3 ปีที่แล้ว +2

      agreed

    • @asd_man
      @asd_man 3 ปีที่แล้ว +2

      You're right

    • @vlad.the.impaler.
      @vlad.the.impaler. 2 ปีที่แล้ว +1

      To execute commands while in vim (including quitting vim, writing and quitting or just writing) you have to press " : "
      To insert text you use shift + I
      To exit the insert text tool you just press Esc

    • @vlad.the.impaler.
      @vlad.the.impaler. 2 ปีที่แล้ว +1

      To exit vim just use " q " to quit; to just write use "w"; to write and quit use "wq";
      there may be times when you may need to use an exclamation point to use these commands.
      To exit vim, saving the changes just like he does multiple times in this video you just need to "wq!"

    • @volkr6755
      @volkr6755 2 ปีที่แล้ว

      This is on arch Linux. Not for beginners and you should know how to use vim before considering arch or just use something like nano

  • @nemonada3501
    @nemonada3501 3 ปีที่แล้ว +6

    Just curious if you have had a look at the current version of Wayland yet and how it's coming along if you have?

  • @ServitorSkull
    @ServitorSkull 3 ปีที่แล้ว +2

    Thanks for updating your repo. I got good builds. Thanks for the great videos!

  • @crossbowbeat
    @crossbowbeat 2 ปีที่แล้ว +2

    3:26 sudo without pass
    18:12 xsessions

  • @tolgagamer6139
    @tolgagamer6139 4 ปีที่แล้ว +16

    the problem is that there is no greeter sudo pacman -S lightdm-gtk-greeter

    • @sage5578
      @sage5578 4 ปีที่แล้ว +3

      Yep your right, I had this problem and installing a greeter does solve the lightdm issue.

  • @piotrrostow
    @piotrrostow 3 ปีที่แล้ว

    That comment about tty… had no idea, thanks for that

  • @modables
    @modables 2 ปีที่แล้ว +2

    my screen is stuck on failed to start light display manager

  • @liketocodev
    @liketocodev ปีที่แล้ว +3

    despite cloning the github pages and following how to install it, i cannot open up a terminal or quit out of startx, it doesnt even show the numbers at the top like in this video, any reason why?

    • @dark_red_blood
      @dark_red_blood 11 หลายเดือนก่อน

      Same, did you find a solution?????

    • @liketocodev
      @liketocodev 11 หลายเดือนก่อน +1

      @@dark_red_blood i’m guessing the github repository is outdated or glitched

    • @dark_red_blood
      @dark_red_blood 11 หลายเดือนก่อน

      @@liketocodev can't be, i also heard it's a driver problem

  • @nandorras
    @nandorras 4 ปีที่แล้ว +5

    How the hell did you start the terminal at 15:03? If I press Alt+Shift+Enter... it doesn't do anything for me

    • @MrTheKamir
      @MrTheKamir 4 ปีที่แล้ว +4

      depends on your wm/de, he is using dwm in the video and dwm uses st by default so if your terminal doesn't launch I'd try to change the default terminal in the dwm config file to something you have already installed

    • @ratthew42
      @ratthew42 3 ปีที่แล้ว

      He’s probably got urxvt in his config whereas dwm’s default is st which you probably didn’t install

  • @fioletowa.samara2588
    @fioletowa.samara2588 4 ปีที่แล้ว +7

    Why xorg wont launch or launches with error after installing nvidia drivers?

    • @frankmerker630
      @frankmerker630 3 ปีที่แล้ว

      Because arch sucks with nvidia drivers

    • @genericrandom64
      @genericrandom64 3 ปีที่แล้ว +2

      Frank Merker thats not exclusive to arch, or even linux

  • @nazzalkausar
    @nazzalkausar 3 ปีที่แล้ว +2

    at 18:41 my pc says no such file or directory means xsession is missing what to do 🙄

  • @nitinmanoharmishra49
    @nitinmanoharmishra49 2 ปีที่แล้ว +2

    Can't see anything being typed in 19:25. Please anyone let me know the command.

  • @zoltan1953
    @zoltan1953 ปีที่แล้ว +1

    Not having a dm is cool, but how would I switch between multiple graphical environments? I’m still learning window managers, and I’m excited to try using dwm full time next, but I’m keeping xfce as a backup for now. The only way I know how to switch between Xfce and i3 (what I’ve been using full time recently) is via the lightdm slick greeter (apparently the stock GTK greeter doesn’t allow you to select different graphical sessions).
    If I can, I would like to eliminate my dm and greeter all together. In my opinion they serve little purpose on a machine with a single user. Login can be done without them, and there’s no point in ricing or customizing them because they serve a single function and are never seen again after login. The only purpose they serve is selecting what kind of graphical session I want to launch. If there’s another way, then I can eliminate lightdm altogether and just login at the text prompt.

    • @Joe-w
      @Joe-w 10 หลายเดือนก่อน +1

      did you find a solution to this? i was going to post the exact same question

  • @s9209122222
    @s9209122222 3 ปีที่แล้ว +7

    Is it OK to let sudo user have the same password with root?

    • @withincode6848
      @withincode6848 3 ปีที่แล้ว +2

      You should ideally use different passwords for everything you do.

  • @tolgagamer6139
    @tolgagamer6139 4 ปีที่แล้ว +5

    no its exec startxfce4

  • @prathikgowda606
    @prathikgowda606 4 ปีที่แล้ว +2

    great vid idea 👍🏾

  • @finoderi
    @finoderi 4 ปีที่แล้ว +12

    02:57 - the only correct way to edit sudoers file is using visudo. If you need to use vim, then # EDITOR=vim visudo

  • @gabs_unk_1382
    @gabs_unk_1382 2 ปีที่แล้ว

    Thank you so much, help a lot !

  • @PDog69
    @PDog69 2 ปีที่แล้ว

    Oh there's a part 2, neat 😆

  • @KSPAtlas
    @KSPAtlas 3 ปีที่แล้ว

    I'm just setting up my Gentoo VM rn what a coincidence

  • @abhinavchavali1443
    @abhinavchavali1443 3 ปีที่แล้ว +3

    Can you make one of these just for Gentoo?

  • @DannyMexen9
    @DannyMexen9 4 ปีที่แล้ว +3

    10:00 true.

  • @valetudan234
    @valetudan234 4 ปีที่แล้ว +5

    Please make a tutorial for making a custom arch Linux iso

  • @faffochill2190
    @faffochill2190 3 ปีที่แล้ว +3

    how i install git?

  • @somedude7281
    @somedude7281 3 ปีที่แล้ว +1

    doas gang rise up

  • @benzym
    @benzym 3 ปีที่แล้ว +2

    hey man, im all the way up until the github part, not so sure how to proceed from here?

    • @TheMinecraftACMan
      @TheMinecraftACMan 3 ปีที่แล้ว +4

      You gotta install the git package, he forgot to mention that part.
      The command is:
      pacman -S git

    • @benzym
      @benzym 3 ปีที่แล้ว

      @@TheMinecraftACMan thank you so much man

  • @Aayushh07
    @Aayushh07 ปีที่แล้ว +1

    dude honestly speaking you are making it difficult, I would suggest any new user to read arch wiki and follow it for anything.

  • @variuz2559
    @variuz2559 3 ปีที่แล้ว

    gentoo or arch?

  • @Wolferia
    @Wolferia 7 หลายเดือนก่อน

    I love arch linux ❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤

  • @redejandrog.r2965
    @redejandrog.r2965 2 ปีที่แล้ว

    i´m having a problem were once the installation is finnished the "man" comand can´t set the locale even tho i set it up just like in the install guide anyone knows how to solve it?

  • @billgatest7563
    @billgatest7563 3 ปีที่แล้ว

    ty

  • @luciferMorningstar-ko9qc
    @luciferMorningstar-ko9qc ปีที่แล้ว

    I get a error on startx

  • @rohankumarmanna
    @rohankumarmanna 2 ปีที่แล้ว

    idk y but my lightdm still fails to load

  • @alphamineron
    @alphamineron 4 ปีที่แล้ว +29

    This really isn't helpful for a newbie... you skim over a lot of things and just mention to learn from other sources or divert to other equally vague videos.
    No hate but that confuses a newbie even more, plus... even though we use your custom dwm here, there is literally a unusable brick left at the end of the video that any newbie won't be able to wrap their head around. The UI is just horrendous and you don't guide on how to actually make it usable. The previous part of this was far more helpful as at the end the viewer had a working arch installation as a root user. Here, you literally have a GUI brick, no idea on how to use it and looks crap. Came as a surprise to me cause I actually enjoy this channel, found you from your Intel management engine video.

    • @alphamineron
      @alphamineron 4 ปีที่แล้ว +1

      @________ yep, true.
      However, even with a WM build... I don't honestly understand why we get an unusable brick even though we use his custom DWM build

    • @marcs9451
      @marcs9451 4 ปีที่แล้ว

      go for Xfce or some light desktop DE and then learn to use WM if you want, don't be pressed by the excessive WM circlejerk

    • @timmywashere1164
      @timmywashere1164 3 ปีที่แล้ว

      Thank you for saving me, what I can only assume, what would have been a whole bunch of time following this video.

    • @someguyfromanotherplanet5284
      @someguyfromanotherplanet5284 3 ปีที่แล้ว +2

      @@alphamineron
      Wish I knew this earlier how horrible is it please
      Edit: yes, it's bloody horrible.

    • @JacobKapitein
      @JacobKapitein 3 ปีที่แล้ว +1

      Find a video for GNOME or something then. He just says he's setting up a graphical environment, not some type of Desktop Environment.

  • @DanJimmy
    @DanJimmy 3 ปีที่แล้ว

    stuck in emergency mode :/

  • @stevie1da_
    @stevie1da_ 3 ปีที่แล้ว

    woah kenny

  • @mupmuptv
    @mupmuptv 3 ปีที่แล้ว +3

    $ pacman -S sway
    $ sway
    How easy is that. We don't need xorg

    • @roborobo8370
      @roborobo8370 3 ปีที่แล้ว

      does this work for nvidia? or do i require other packages?

    • @mupmuptv
      @mupmuptv 3 ปีที่แล้ว

      You can check this video. It really easy. Only sway package. And xorg-server-xwayland package if you want to run x11 application (install and everything auto work). No more screen tearing
      th-cam.com/video/hRIGYUWQfYU/w-d-xo.html

    • @roborobo8370
      @roborobo8370 3 ปีที่แล้ว

      @@mupmuptv thanks man :)

    • @garajimdakiejder2945
      @garajimdakiejder2945 3 ปีที่แล้ว

      I actually do not like wayland at all.

  • @anant6778
    @anant6778 3 ปีที่แล้ว +4

    Sudo is bloat
    Doas is bloat
    Su is bloat
    Root only gang rise up !

    • @anant6778
      @anant6778 3 ปีที่แล้ว

      @Shrug To be honest, I do as I say, I follow what I preach. Except when arch , the little b*tch, whines about it on using makepkg. Then, for those 30 seconds, I make a non-root user and use su to become it. Once done, I delete this user. If it were not for this, I would have deleted the su binary.

  • @weedwanker4884
    @weedwanker4884 3 ปีที่แล้ว

    He sounds... different

  • @probablythebestplayer
    @probablythebestplayer ปีที่แล้ว

    i did startx and it gave me a error what do i do

  • @kulled
    @kulled 2 ปีที่แล้ว

    the sudoers file is write only
    edit: do # sudo EDITOR=vim visudo

    • @kulled
      @kulled 2 ปีที่แล้ว

      he literally showed us how to bypass it lol im stupid

  • @JamesWoodard1222
    @JamesWoodard1222 3 ปีที่แล้ว +7

    2:05 "...effectively making them all an administrator. At least, if they have the root password."
    This statement tells me two things about you. First, you have the habit of using the same password for root and your user. Second, you don't understand sudo.
    Using the same password for root and any user is a security risk. If anybody can crack one, they have the other. But, it's your system. I don't care.
    However, for the second part, especially if you're going to teach this stuff, you need to teach it right. Sudo does not require the root password. If it did, it would be unnecessary. If a user has the root password, they wouldn't require sudo perform admin tasks.
    Also, adding every user, on a multi-user system, to wheel or giving sudo access to all users is incredibly risky. It allows all users, on the system, enough access to completely screw the system. It should be reserved only to those who can be trusted properly maintain the system and not use their elevated privileges to access the private data of the other users on the system.
    So, only the primary admin, on any system, should have the root password and only those tasked with system maintenance should be part of the wheel group or be granted sudo privileges. Also, once the system is up and running, there is no excuse for using the root account.
    2:57 "visudo" does a sanity check on your syntax for your edits to the sudoers file. Don't just open /etc/sudoers in an editor and go to town. You can use whatever editor you wish. But, you should use "EDITOR=nameyoureditor visudo" to edit the file.

    • @sunburst8810
      @sunburst8810 3 ปีที่แล้ว +5

      Thats a whole lot of assumptions and not much actually watching the video buddy

  • @alexhiatt3374
    @alexhiatt3374 ปีที่แล้ว

    my brother in christ. why are you #include-ing a .c file. please stop.

  • @zeveroarerules
    @zeveroarerules 4 ปีที่แล้ว +4

    Edit setting in source. That's just bad software.

    • @FyahBurn95
      @FyahBurn95 4 ปีที่แล้ว +6

      Have you, o lost frend, heard of the suckless philosophy?

    • @tomasz.markiewicz
      @tomasz.markiewicz 4 ปีที่แล้ว +3

      @@FyahBurn95 Editing settings in source still is a bad software engineering.

    • @zeveroarerules
      @zeveroarerules 4 ปีที่แล้ว +2

      @@FyahBurn95 that's just bad practice, whatever the "philosophy". That sucks more, not less.

    • @alphamineron
      @alphamineron 4 ปีที่แล้ว +4

      No one is forcing you to use DWM, the point of suckless philosophy is to make software that is complete opposite of modern crapware...
      The point of editing source is so you get familiar with the software itself, which gives you more control over your privacy and lets you know what you actually are running on your own system.
      Another reason is, if you are so much as an arch "elite" (which, lets be honest, most normies often download arch for) then editing a source file shouldn't be a problem.
      Lastly, from your ignorant yet arrogant position... entire Gentoo is "bad software".

    • @marcs9451
      @marcs9451 3 ปีที่แล้ว +3

      @@zeveroarerules you clearly never used a suckless utility before, and no in this case it's not bad engineering, settings occur in a header file not in the c files, it's not recommended for new users but it is very good and straightforward, sure you recompile to apply settings, but that takes only 1 second or less