Ly - A Nerd's Display Manager
Ғылым және технология
Today I talk ly, a neat way to log into your Linux box.
👇 PULL IT DOWN FOR THE GOOD STUFF 👇
Patreon - / thelinuxcast
Liberapay - liberapay.com/thelinuxcast/
KZread - / @thelinuxcast
===== Follow us 🐧🐧 ======
Odysee - odysee.com/$/invite/@thelinux...
/ thelinuxcast
/ mtwb
Mastodon- fosstodon.org/@thelinuxcast
Discord - / discord
gitlab.com/thelinuxcast
Subscribe at thelinuxcast.org
Contact us email@thelinuxcast.org
Telegram Group - t.me/+9lYoIuLh0JIyMzcx
Amazon Wishlist - www.amazon.com/hz/wishlist/ls...
Merch Store - zaney.creator-spring.com/
Logo Courtesy of - pedropaulo.net
==== Referenced ====
github.com/fairyglade/ly
===== Thanks to Our Patrons! ====
Tier 7 - Tux Level - Patrons
Robert M.
Tier 5 Patrons
Syd A.
Tier 4 Patrons
Devon, Patrick, Fred, Kramer K.
Tier 3 Patrons
Maeglin, Jackson Knife and Tool, Steve A, CyberGuyLinux, Garrick, Samuel, KB, TGB, Keith, Andy P., Unkle Bonehead, Tri-Devil, Gary A., Antoine
Tier 2 Patrons
Mitchel, Joris AKA JDawg, carbondated, Shaun, Jeremy, Odin, Martin, Ross, Eduardo S., archsinner, Elliott F.
Tier 1 Patrons
Marek, Camp514, Joshua Lee, Peter, Crucible, Darkbadits6, Primus, PM
#ly #linux #thelinuxcast
Пікірлер: 343
I am sure you can do systemctl disable sddm, no need to uninstall anything
@TheLinuxCast
2 жыл бұрын
Yes. You can. I know this now. I also don't want to have two Display Managers on my system. #Bloat LOL
@zerokun2655
2 жыл бұрын
@@TheLinuxCast as a linux beginner i'd prefer to disable rather than uninstall xD maybe only Uninstall after everything works just in case
@folksurvival
2 жыл бұрын
soystemd
@GabrielaGarcia-oe8jz
Жыл бұрын
@@folksurvival sos un true gigachad
@Flackon
Жыл бұрын
@@zerokun2655 Yeah, for me literally having a "backup" display manager helped me a lot when lightdm crashed horribly
back when I first started using Linux, there was no choice, you only had the terminal. At some point, you could install (via floppy disks or BBS) X11, and then play a bit after typing 'startx', but here's the catch: there was no GUI (it hadn't been developed yet), so all you had was a blank screen with a big crosshair: if you wanted to run any software, you had to open a terminal and manually run it, and that would popup in a 'window' (with no frames or anything) and when you were done with your job, you had to kill the task to get rid of the window. Rough times!
@tacokoneko
2 жыл бұрын
Arch Linux still starts like that
@ldcgfx8710
2 жыл бұрын
@@tacokoneko indeed. You have the option, though, to install Gnome/KDE and so on. Back then, they simply didn't exist...
@potatolord2858
2 жыл бұрын
damn, I saw someone mention they were building a "tty based workflow" on reddit and thought "people are crazy"
@GeraldOSteen
2 жыл бұрын
I remember those days! Ah, the nostalgia. The little 'X' in the middle of the screen for the mouse pointer, running extra terminals and specifying geometry to not cover the primary terminal... all great at the time but indeed rougher times to consider when looking back now. The miracle of modern WMs like WindowMaker and Enlightenment was astounding to me when I first installed them. Now my daily usage of XFCE feels so comfortable and using Xephyr(back in the day it was Xnest) is still so natural. Which system did you use prior to Linux? I moved from the BSD(the original -- prior to FreeBSD; used minix for a little bit prior to that but mostly Unix, starting on SVR3).
@ldcgfx8710
2 жыл бұрын
@@GeraldOSteen awesome! I started with C64 (did you ever try BBS over UHF? good times), then tried most of the stuff that was available at the time, but DOS really clicked with me (I was unhappy when Win 3.0 was first introduced...and you had to launch it manually ofc). Ironically, I discovered BSD *after* Linux, and only run it in VM so I admit I haven't explored the full potential.
"What display manager do you use?" "🤨..... startx....."
@FolklorCaduco
Жыл бұрын
This is the way.
I love ly and have used it for years, and have never had any issues with it on X or Wayland. Also the animation toggle sets the PSX doom fire animation as the background which imo, makes it the coolest looking display manager by far! Also it's the perfect middle ground between wanting no display manager, but still wanting to be able to select a gui at login without reconfiguring xinitrc or anything.
Hey Matt, you could have simply "sudo systemctl disable sddm" first before uninstalling SDDM, then no errors would come up when you enable the next display manager.
@jeremydoerksen5988
2 жыл бұрын
How can ppl hate systemd?
@methamphetamememcmeth3422
2 жыл бұрын
@@jeremydoerksen5988 I personally like it.
@jeremydoerksen5988
2 жыл бұрын
@@methamphetamememcmeth3422 Me, too! It's wonderful!
@duckmeat4674
2 жыл бұрын
@@jeremydoerksen5988 it goes against the KISS philosophy. I dont care about it (I do prefer openrc though), but that's why people dont like it
Those color ids are based on ANSI standards, which is what tty sessions use: DEFAULT 0 BLACK 1 RED 2 GREEN 3 YELLOW 4 BLUE 5 MAGENTA 6 CYAN 7 WHITE 8
Been using lightdm ever since, other display managers seemed to have issues with the dark mode. Glad I stumbled upon this video
The way X works, it should be possible to have X and an XTerm running before you log in to any user, and in that XTerm runs login(8), and that XTerm stays open after you've logged in as a window for prints in your login profile such as "You have mail."
It's cool to see other linux nerds that don't need to blame others to feel they are better. Nice video!
Matt: *runs rm to delete the sddm syslink* sudo systemctl disable sddm.service: Am I a joke to you?
@TheLinuxCast
2 жыл бұрын
Yeah, I don't use systemd enough to know all the tricks, tbh.
@VixieTSQ
2 жыл бұрын
@@TheLinuxCast it's one of the 3 basic subcommands. enable, disable, and start
@TricksterRad
2 жыл бұрын
@@TheLinuxCast to be fair, disabling sddm in systemd is all you really needed to do - useful in case you just want to try lydm out, and want to have the option of easily switching back in case things don't work and you can't be bothered to fix them right now, or yu just end up not really liking it for whatever reason.
@TheLinuxCast
2 жыл бұрын
@@TricksterRad as I said below , I deleted it on purpose. Why would I need both? I dont like clutter.
@TricksterRad
2 жыл бұрын
@@TheLinuxCast I explained why you might want both around for a short period while making the switch.
Stumbled on your chanel and I must say that I love your way of explaining 👍
I've never heard of Ly. Definitely gonna check this out.
Back in 2014ish I really enjoyed ripping the display manager out of Lubuntu so I could log in from text mode. I haven't bothered doing that in a long time but it's so satisfying. Fancy display managers suck, the basic text login will always be my fave :P (But Ly looks pretty cool as well, I probably would've tried it back then if it existed)
Holy shit!! I've been looking for something like Ly for over a year!! Thank you!!!
There's a better and fast way if you're on Arch or an Arch based distro, install Yay, Paru, Trizen etc. and install my from the AUR,then type in the following command without parentheses, "systemctl disable (eg. sddm)-f" then "systemctl enable ly -f"
@kingramass443
2 жыл бұрын
Additionally, I have not tested it. Be weary of compatibility with plymouth.
@joshuaburt8711
2 жыл бұрын
I use arch btw
@Gaellka
2 жыл бұрын
I use arch btw.
@cowardly_wizard
2 жыл бұрын
More to the point you basically never want to install something outside of your package manager.
great video brilliant summary
Thank you man, I haven’t see this before and It is amazing 🤩, for things like this It’s that I love Linux
I'm running greetd with tui-greetd. Super minimal, completely text based, feels kind badass ngl.
I actually prefer the simplest option of logging in from the pure TTY prompt and automatically running xinit from my zsh/bash profile if the login came from tty #1, Using Ly is not that much better in comparison, unless you'd need the option of DE/WM selection, and it's one less program to worry about.
@kbcarte420
2 жыл бұрын
This is what I did with Arch for around 2 years.
@riceontopofbeans534
2 жыл бұрын
DMs are bloat
@riceontopofbeans534
2 жыл бұрын
@@leeroyjenkins0 so true, i started using my school notebook to code and compile rust
@Linuxdirk
2 жыл бұрын
@@riceontopofbeans534 I once tried. Almost none of my X configuration was used.
@raskr8137
2 жыл бұрын
and it's more secure too.
Nice! I always just used the terminal and startx, this is much better.
Thank you very much Matt...I somehow messed up my lightdm display manager 😩 and was using startx to start my system. Slick-greeter, gtx would not work. I installed ly following your video and it works and looks great. I will continue to troubleshoot lightdm, but now am able to login. Thank you!
You got me at "I'm a nerd", also a Nerd here and proudly !
my fav that i have been using for a year now!
funny how it's so simple looking but also super cool
I love it. For DECADES ive wanted to login to my computer and have it look like Deus Ex unatco login screen. This is the closest ive seen
@dermond
2 жыл бұрын
User: JCD Password: bionicman
@robbs96
2 жыл бұрын
@@dermond exactly
@robbs96
2 жыл бұрын
@@dermond um... i mean no, what? Thats totaly not my credentials
i'm still rocking the good old startx
Nice video. I had the plain tty, but probably will get this badboy now, thx
All guys want to do these days is install Linux, eat hot chip, and ly!
ty so much! loved this video :)
I hope a lot of people love you and take care of you. Much luck on your endeavors. Have a great day.
Hey, what Plasma Theme are you using? Thanks for the video
I love your content... I's just always so good :D
I've had a pretty bad issue with Ly a year ago. For some reason it messed up the environment variables in a way that kept CMake from setting LLVM_INSTALL_DIR properly. It was an absolutely terrible issue to troubleshoot as it took me a whole day of pure frustration and misery to connect the dots between some build issue and that display manager, but here we are. Use at your own risk.
@isheamongus811
2 жыл бұрын
What is the diff between login and display manager
@isheamongus811
2 жыл бұрын
I love awesomeWM
@isheamongus811
2 жыл бұрын
U can use nano jpico or ed it should be bundled with almost all distros
@atanki5682
Жыл бұрын
why build it from source? almost all repos have it.
@isheamongus811
Жыл бұрын
@@atanki5682 Debian?
8:40 I would recommend getting into the habit of using "sudoedit /etc/ly" (or "sudo -e /etc/ly" which does the same thing) rather than giving the editor superuser privileges. That way editor runs as the regular user, and only the part that needs superuser privileges (replacing the file) gets executed with elevated privileges.
@sethadkins546
2 жыл бұрын
It's not going to make much of a difference...
@sethadkins546
2 жыл бұрын
@@h7hj59fh3f I guess if you decide to not let people use vim with sudo??
@TheLinuxCast
2 жыл бұрын
I always forget that that exists. Idk why.
@duckmeat4674
2 жыл бұрын
@@sethadkins546 its a safety thing. Sudo (editor) means that the program is running the file *directly*. If something happens during your edit like power cut, program crash, anything, you can mess up your file. Whereas sudo -e copies the file to a tmp folder, you edit the copied file, and when you quit, the tmp file replaces the privileged file. If anything happens to your editor or your computer while editing, your original file is safe
@sethadkins546
2 жыл бұрын
@@duckmeat4674 Ohhhhh ok
Dude great guide. Love your work. The need to uninstall sddm stumped me till I stumbled onto your vid. Animated matrix background is def most leet heh =)
When Lester needs you to prep to use the phone for a heist
Thanks for the video, but I have an unrelated question. What is that loading screen after you login at 8:09 I’d love something like that to hide different prices of my desktop loading in at different speeds
@TheLinuxCast
Жыл бұрын
That was the kde splash screen that came with the Arch Linux GUI (That project has been abandoned). I'm sure that it's online somewhere. Usually those splash screens can be installed in the kde setting panel.
I'm seeing that and wondering if there's a way to put an ascii wallpaper on it xD
Hey Linux Cast, would you mind doing a video on installing and playing with VMs like you do? I have dabbled with QEMU but it'd be really nice to learn about it from a pro like you. And awesome video man as always, thank you!
also sudo -e filename will copy copy the file to a temporary file in your $EDITOR, edit it as your user, and when you write the changes it will write them as sudo back to the original file
@TheLinuxCast
2 жыл бұрын
It was a VM, I have no clue what the editor variable is set as.
@code8986
2 жыл бұрын
There’s also sudoedit, which I’m guessing is basically a wrapper for that, because it does the exact same thing.
@Ziggurat1
2 жыл бұрын
@@code8986 sudo edit file and sudo -e file uses the same program and the program responds to it all the same, so yes you are practically correct
@code8986
2 жыл бұрын
@@Ziggurat1 Got it, thanks for the confirmation.
I followed the steps but after tryign to enable the service "systemctl enable ly.service" I get an error: Synchronizing state of ly.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable ly update-rc.d: error: ly Default-Start contains no runlevels, aborting. I don't have any desktop enviroment and no sddm or lxdm installed. Any ideas how to make this works? Running Debian 12, just Terminal and SSH.
It reminds me of a time when I was using Ratpoison as my WM.
Ly has a nice animation background
Hi Mat i think u should try to use the "mark the text then paste whit mouse wheel push to copy the text whit out putting it to clip board" method
What virtualization software are you using that lets you add the shortcuts at 4:24 ?
@TheLinuxCast
2 жыл бұрын
That's Virt Manager
Does it use Xorg by default? No fiddling necessary? Gnome is pain in the butt to start x by default.
2:15 see the screenshot: omg this is the dm i always wanted!
those color numbers look like the beginning of the rgb codes for black and red
Hi, what window manager are you using?
Oh snap! Finally, I can have a DM like a UI peasant while still actually using a tty like a Chad I just got a severe allergy after one if the DMs (prolly lightDM, but don't quote me on that) refused to accept my password, though I was (and still am) 100% certain I typed it correctly. Like I purposefully made a simple password even I can't screw up no matter how high I am or how many kbd layouts I have and what they are - it should've been impossible to screw that up, yet that DM did. I ended up deleting it and I've been using startx (and more recently - sx) for login purposes. Works all the time, every time, like clockwork. Oh yeah and in case if anyone wonders: after I uninstalled that DM, my tty accepted my credentials on the first try, so I'm fairly positive it was the DM's fault.
I'm a fairly competent gnulinux user, and you do a very good job of explaining steps, and showing the errors. The only way to learn is to get errors and then figure out why that happened. When you're installing something, you can go sudo pacman -S -yy and you won't have to type y when it asks. You can use that on apt, yum etc. like sudo apt update && apt upgrade -yy and it'll be quicker. there's lots of little things like that to make it quicker. either way, keep it up bud.
@gagagero
2 жыл бұрын
This comment is lying. -yy doesn't automatically say yes, but instead updates the repositories without upgrading your packages which is dangerous and may break you system.
@FaranAiki
6 ай бұрын
Fairly competent but misinformation about pacman -Syy?
Now in the first 30 seconds this guy addresses something that I've heard very few people talk about; the standards that is. Plasma = mostly SDDM, Gnome = Mostly GDM etc. I am always hugely confused between all the packages and the way they have their own names for everything. It's very easy to get lost. So my question is, is there some kind of info-graphic or image, or text that shows us the "topology" of a Linux system including the filesystem and all their respective programs?
@glebanych2000
2 жыл бұрын
Probs not, but you could draw it and contribute
@TheLinuxCast
2 жыл бұрын
Probably out there somewhere there is something like this. For example, this is one on the Unix/Linux file system. community.clearlinux.org/t/linux-related-infographics-and-cheat-sheets/2010/6
5:50 I wonder if that gives an error just because you probably need to disable whatever DM you are currently using. Like maybe you need _sudo systemctl disable sddm.service_ And maybe that prevents the error.
what/how do you drag-and-snap windows left & right like at minute 3?
@TheLinuxCast
2 жыл бұрын
Just drag to the screen edges in kde
I never mess with DMs. I just use DWM and log in from TTY
@duckmeat4674
2 жыл бұрын
St and tabbed too?
What, so "display manager" is basically a login screen? I recently installed Ubuntu Server and then XFCE. It starts in text login screen as usual, and when I need GUI, I type "startx" and then XFCE starts right from the desktop. If I use it like that, I don't need a display manager? Then why is it called "display manager". That sounds as if it is a vital part of GUI.
@overclucker
2 жыл бұрын
Display managers usually have a few other features that are attractive to the majority of users, apart from logging in 1. looks friendly 2. you can change the desktop environment/window manager easily 3. there are power/restart/hibernate buttons. 4. language, keyboard layout, and accessibility options.
@linuxramblingproductions8554
Жыл бұрын
Yeah they should be called login managers
Is there also a text based boot manager to finish up the design?
@psamaras
2 жыл бұрын
Grub without a theme is text only. You can change bg/fg colors in grub default file.
Really interesting vid, truly. But "I'm never gonna use that!" (Still looking for the vid that tells me "OK, you want to do 'something else' or 'custom install' for Linux but I want /home on that drive over there, and /boot and /root wherever, but I want it all encrypted. From start-up. Is that doable? And if so, how?)
is there any way to change ly's font?
I still use getty/login and THEN start X. Only a WM (sawfish), no desktop/display manager
Awesome video!
I searched sooo... much for this... i really dont want to deal with a lot of bloat as my main system is a raspberry pi and i had to us se big softwares like freecad in it... So i was looking for somthing like this... really thanks. .. :)
@linuxramblingproductions8554
Жыл бұрын
If space is so much of a concern it might be better to just using xinit
i daily drive ‘ly’, the ncurses feel is just unrivaled
you could also systemctl remove sddm and then run the command
wish you had shown the animation feature, its pretty cool
@TheLinuxCast
2 жыл бұрын
I couldn't get it to work in the VM. So I cut that portion out.
Matt. I need some help on Ubuntu using external monitors through USB... please
Bro, I know ly because of you. I use Arcolinux with Bspwm, and SDDM by now, I tried to install and set ly, everything fine, the only thing is that Variety stopped to show wallpapers, it runs well but doesn't show any wallpaper
Is their anyway to use Sleep with it? It seems like F3 to Sleep would be reasonable.
@TheLinuxCast
2 жыл бұрын
I'm not sure. I don't use sleep on my main desktop, so I haven't tried what it does when it comes back from sleep in a Desktop Environment.
My first thought is on switching desktop/wm if have them installed at beginning of video
@FOSSuser
Жыл бұрын
He answered my question here 8:06
6:20 That looks like the nuclear way of doing it. First, I would not recommend to outright uninstall sddm right out of the bat. Something goes wrong, or you don't like it, you can fall back into something that works, you can uninstall it afterwards with everything in order. Log out of your session, go to a tty, login, sudo systemctl stop sddm (or whatever you are using) sudo systemctl disable sddm sudo systemctl enable ly.service and that should also start the service right up. If not, sudo systemctl start ly should do the trick. That way you don't have to reboot your whole computer.
I thought a display manager was the thing AFTER login. I haven't had anything like what you're describing for years. I've been logging into a TTY and from a screen session, manually starting an X session via startx which is set up to run openbox. (then if I want to lock the system, I switch back to the TTY, detach screen if not detached, ^D out and switch back to X and run slock)
@TheLinuxCast
2 жыл бұрын
Nope. That's a window manager.
@lollllloro
2 жыл бұрын
Ah I thought window manager and display manager were synonyms, but it seems they're not. Wouldn't the generic term for Ly would be "login manager", though? (Since it doesn't manage a display, I think it's more akin to /bin/login)
@TheLinuxCast
2 жыл бұрын
@@lollllloro tbh, I don't know why they're called Display Managers, I just know they are. So for example, Gnome uses GDM or Gnome Display Manager. KDE uses SDDM, which as you might expect has Display Manager there at the end (I've not a clue what the SD stands for). LightDM is also a thing. And so on. I'm sure there's a reason why they are called that, I just don't know it.
@SirLancelotS
2 жыл бұрын
@@lollllloro they are called display managers(to confuse people) but in reality they're just login managers lol
My only reason to use ly is to log into my sway seassion, somehow it is kind lf glitched in Void so I just use plain tty to login.
is there a way yo enable numlock?
awesome!, now I gotta find a window manager/DE like this so my total ultra-nerd metamorphosis will be complete!.... any suggestions?
Emptty is criminally underrated
I might have to try this, right now I have no display manager on my arch install with i3wm on my thinkpad w520 lol I have an ascii art thinkpad logo in /etc/motd and a profile script that runs neofetch with cowsay and fortune as art on login through lolcat and use startx to start i3 lol
running make install on arch system feels so wrong. I'd do everything I can to have that as a package first
You should, at least, have tried out the available animations. You're in a VM, but they are console mode so probably not too resource heavy. Also, your one complaint about the focus being on the second input at startup, the setting for that is seemingly in the config file. `default_input = 2`
@TheLinuxCast
2 жыл бұрын
I saw it, the animations I mean. Couldn't get it to work in the VM. So I cut that part out.
@thedanyesful
2 жыл бұрын
His complaint was that the input doesn't automatically change. It sounds like the config file doesn't have a setting to automatically change input either.
what microphone youre using? you should list all of your gear in desc. or information tab
@TheLinuxCast
2 жыл бұрын
I use the Heil PR40. And that's a good idea, though I'll probably put it on the website.
@lolnjeoglondajmejejplejlis3365
2 жыл бұрын
@@TheLinuxCast distro-tube uses such mic
@TheLinuxCast
2 жыл бұрын
@@lolnjeoglondajmejejplejlis3365 He uses an ElectroVoice. I think Chris TItus uses the same mic I do, though
"Another's famous back door..."
Display manager sounds like it manages displays, and it's not correct because you described as it manages login after computer startup, so it's better to call it login screen. When I saw display manager I thought it's something that I can manage my displays - monitors and it's options like resolution refresh rate ect.
@TheLinuxCast
2 жыл бұрын
Can't really help what it's called. I didn't name it.
you can just execute systemctl enable ly - -force to overwrite sddm
Cool story bro, subbed
I recently tried on install Greetd on my Arch Sway install after SDDM broke when all i did was change the theme but Greetd just refused to work so then i tried Ly and it works absolutely perfectly out of the box.
You can setup autologin on tty and auto startx to completely avoid having a display manager The details depend on your init system, but I've done it on runit.
@0x7f2c
2 жыл бұрын
Huh?? How is it different per init?
@tiltltt
2 жыл бұрын
@@0x7f2c By how much the process changes idk, but you have to edit some service files.
@lucastavares3518
2 жыл бұрын
You can use the .profile from your login shell as well
@moister3727
2 жыл бұрын
I did it through my .zshrc file
@moister3727
2 жыл бұрын
@Glizzster aha
Can't wait when he tries greetd hahaha
I got worried for him at 9:07 if he haven't installed vim how would he exit out of that...
I've been using ly for 2 yrs.
One of reasons I use ly is for it's cooool DOOM style animation. I wonder you haven't say anything about it. Add this to the config file: animate = true
@TheLinuxCast
2 жыл бұрын
I saw it. Couldn't get it to work in the VM. So I cut that part out.
why do we need display manager , when there is startx.
Can you delete the git cloned directory after you make install?
@TheLinuxCast
Жыл бұрын
Yes
i just disabled the display manager so that if something goes wrong (usually does) i can go back.
this was supposed to be a review but i used it because my sddm got fucked up somehow so used this as a debug video, but good review still lol
Then there's me, logging in straight from the TTY, with a script running upon login asking if I want to start X.
@FolklorCaduco
Жыл бұрын
Same, but mine only runs on tty1 and doesn't ask me.
@RAndrewNeal
Жыл бұрын
@@FolklorCaduco I need to figure out how to tell the difference between TTY and SSH connections, as it currently prompts upon login regardless.
its so cool!
Is arch actually equipped with nano? If yes, then its no need to install vim actually....
@linuxramblingproductions8554
Жыл бұрын
Arch can be equipped with nano but vim is far better for editing then nano is
Why this if you can just startx?
I log in using tty and then star x11 manually :)))
I find it very difficult to go back to a display manager. On the other hand, I used .zprofile or whatever to automate startx... Turns out that's very much not ideal in the instance you have some error in your xinitrc where it just logs you back out.
@LHCB6
2 жыл бұрын
Put a conditional in your file that only runs startx if you're on a specific TTY.
@mfThump
2 жыл бұрын
^ if [[ "$(tty)" = "/dev/tty1" ]]; then startx "/custom/location/xinitrc" fi
@sheepy0125
2 жыл бұрын
@@LHCB6 i do the auto startx, but have never thought about what would happen if there's a problem with my xinitrc. thanks for the advice for the specific tty, i'm sure my future self will appreciate it if it breaks
@LHCB6
2 жыл бұрын
@@sheepy0125 Most Welcome! Not sure how well code shows up on comments, but here's a snippet that starts KDE PLasma if TTY is 1. if [[ $XDG_VTNR -eq 1 ]] then export DESKTOP_SESSION=plasma exec xrandr --output DP-2 --mode 2560x1440 --pos 1080x0 --primary --output HDMI-0 --mode 1920x1080 --rotate left --pos 0x-300 & exec /usr/bin/startplasma-x11 fi Edit: There's more info on the Arch Wiki (even if you don't use Arch). I kept the xrandr in because without specifying whatever your setup is, widgets can get displaced with multiple monitors.
@oranellis
2 жыл бұрын
I am the same but if I have any issues I use the root account which doesn’t start the display manager by default
great channel