Giter VIP home page Giter VIP logo

Comments (7)

Aylur avatar Aylur commented on July 17, 2024

It happened to me, but after I updated the lock file it went away and now works again
You can journalctl --unit greetd to debug greetd
You can try running the greeter.js config to see if there are other possible errors, but make sure to edit the greetd/session.ts before running
You can also try debugging with fakegreet

the build error is from the the activation script that can be ignored

from dotfiles.

Sitolam avatar Sitolam commented on July 17, 2024

This is the output when I run journalctl --unit greetd:

-- Boot 9a93ff7c83734adbbcef31fe1296c46a --
Apr 08 13:44:05 nixotic systemd[1]: Started greetd.service.
Apr 08 13:44:06 nixotic greetd[1841]: pam_unix(greetd:session): session opened for user greeter(ui>
Apr 08 13:44:06 nixotic greetd[1841]: gkr-pam: gnome-keyring-daemon started properly
Apr 08 14:34:32 nixotic greetd[1757]: error: check_children: greeter exited without creating a ses>
Apr 08 14:34:32 nixotic systemd[1]: greetd.service: Deactivated successfully.
Apr 08 14:34:32 nixotic systemd[1]: greetd.service: Scheduled restart job, restart counter is at 1.
Apr 08 14:34:32 nixotic systemd[1]: Started greetd.service.
-- Boot 9067141af4ac4c0da9b678febf3e6c85 --
Apr 08 14:35:54 nixotic systemd[1]: Started greetd.service.
Apr 08 14:35:54 nixotic greetd[1836]: pam_unix(greetd:session): session opened for user greeter(ui>
Apr 08 14:35:55 nixotic greetd[1836]: gkr-pam: gnome-keyring-daemon started properly

Can't really figure things out with that, but how can I run the greeter.js config and what do I need to edit in the greetd/session.ts file?

from dotfiles.

Sitolam avatar Sitolam commented on July 17, 2024

This is the error that I get when I run ags -t greeter:

(com.github.Aylur.ags:4142): Gjs-Console-CRITICAL **: 17:57:23.349: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
@file:///tmp/ags/main.js:513:21
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34


(com.github.Aylur.ags:4142): Gjs-Console-CRITICAL **: 17:57:23.350: Error: There is no window named greeter
getWindow@resource:///com/github/Aylur/ags/app.js:140:27
toggleWindow@resource:///com/github/Aylur/ags/app.js:115:24
ToggleWindow@resource:///com/github/Aylur/ags/app.js:283:14
main/<@resource:///com/github/Aylur/ags/main.js:123:21
_load@resource:///com/github/Aylur/ags/app.js:203:29
async*vfunc_activate@resource:///com/github/Aylur/ags/app.js:109:14
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34


(com.github.Aylur.ags:4142): Gjs-Console-CRITICAL **: 17:57:23.350: Error: There is no window named greeter
getWindow@resource:///com/github/Aylur/ags/app.js:140:27
ToggleWindow@resource:///com/github/Aylur/ags/app.js:284:24
main/<@resource:///com/github/Aylur/ags/main.js:123:21
_load@resource:///com/github/Aylur/ags/app.js:203:29
async*vfunc_activate@resource:///com/github/Aylur/ags/app.js:109:14
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34

from dotfiles.

Sitolam avatar Sitolam commented on July 17, 2024

Do these dotfiles even work on nixos?

from dotfiles.

Aylur avatar Aylur commented on July 17, 2024

(com.github.Aylur.ags:4142): Gjs-Console-CRITICAL **: 17:57:23.349: SyntaxError: JSON.parse: unexpected end of data at line > 1 column 1 of the JSON data
@file:///tmp/ags/main.js:513:21
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34

you are still stuck on #214

Do these dotfiles even work on nixos?

yes, I'm on nixos-unstable 4cba8b5

from dotfiles.

Sitolam avatar Sitolam commented on July 17, 2024

(com.github.Aylur.ags:4142): Gjs-Console-CRITICAL **: 17:57:23.349: SyntaxError: JSON.parse: unexpected end of data at line > 1 column 1 of the JSON data
@file:///tmp/ags/main.js:513:21
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34

you are still stuck on #214

Do these dotfiles even work on nixos?

yes, I'm on nixos-unstable 4cba8b5

How did you install your config on nixos? Can you just note all the steps you did take to get it working? And how does the nix profile work?

from dotfiles.

Sitolam avatar Sitolam commented on July 17, 2024

I was able to solve the issue. I had forked your repository right before you did a commit with some fixes, I merged the commits and that solved the problem! Thank you for your help and the wonderful project!

from dotfiles.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.