Open fulalas opened 3 months ago
start-cosmic should work even without running the greeter. However as for this, you need to run `command = "cosmic-comp cosmic-greeter" and you either need a sysusers implementation, or to create a cosmic-greeter user yourself.
I did test on artix and simply running start-cosmic
and locking did work fine.
systemd is only relied upon by cosmic-greeter to start itself and greetd. You can do as above and run start-cosmic
from a TTY.
Thanks, guys.
I managed to make it work using this /etc/greetd/config.toml
:
[terminal]
vt = 7
[general]
service = "login"
[default_session]
command = "start-cosmic"
user = "guest"
I just wonder if there's a way to start COSMIC without loging in automatically (i.e. showing the log in screen instead of the desktop).
@fulalas as I said you need to use cosmic-comp cosmic-greeter, this is what I use on artix.
[terminal]
vt = "1"
[default_session]
command = "cosmic-comp cosmic-greeter"
user = "cosmic-greeter"
if you don't have a sysuser impl, create cosmic-greeter user yourself
@Quackdoc, thanks! But, as I said, it's already working.
I just want to avoid auto login. That's all :)
the greeter config I posted will show the login screen
Hmmmm... I tried it, but I doesn't work for me:
I need:
[general]
service = "login"
But if I adapt using your command
I only have the compositor loaded, and nothing else (i.e. grey full screen).
I'm not sure how cosmic-greeter
handles greetd tty autologin but still presents the UI login screen. Maybe a parameter in the cosmic-session
call?
command="cosmic-comp logger -t cosmic-greeter -- cosmic-greeter"
I used this but got an error:check_children: greeter exited without creating a session
Since Slackware doesn't use systemd, you won't have systemd-cat available. Instead, you can use logger, which is the traditional syslog command in Linux for sending messages to the system logger. Here's how you could adapt the command for Slackware:
In your alpha ISO I see
/etc/greetd/cosmic-greeter.toml
like this:For distros with no systemd, what is the recommended command to start COSMIC? Currently I'm using
start-cosmic
but lock screen is not working, and logout just restarts COSMIC.I'm testing current master on PorteuX (Slackware based), which has no systemd.