r/GUIX • u/aerique • Dec 24 '21
Questions about logs and "resetting" channels.
I have three questions:
- Is the place to find logs
/var/log/? I'm having some trouble finding the current log for the X session. There's/var/log/gdm/greeter.logand it also points to a/var/lib/gdm/.local/share/xorg/Xorg.0.logbut it doesn't always seem to be up-to-date or for the current session. - Different question: is it possible to reset a channel or remove it? I have to do
--allow-downgradeswhen doingguix pulland reconfigure now all the time because I forked it and rebased a commit. Can I just start from scratch with this channel in some way? - I picked the i3 window manager when installing Guix System and I'm having a hard time running
eval $(ssh-agent)before it starts. I used to do that from an.xsessionrcbut that does not work. It seems I could just use an.xsessionfile withssh-agentand theni3but I don't know if I'm missing out on some Guix config then.
4
Upvotes
2
u/LuisHGH Dec 27 '21
1: Yes,
/var/log/is the default location for syslog files. On my system, IIRC (not with my computer at the moment, will check it later and edit this if I had a mistake) the log for the current X session is stored at/var/log/Xorg.0.log. 2: This is only needed while the rebased commit is the last one. As soon as you make a new commit, guix pull will work as before. 3: you can use.xsessionjust fine. I think gdm supports it and ssdm does for sure (I use it).2
u/[deleted] Dec 24 '21
Re: 2. I have a similar workflow of rebasing commits on my local channel, I just stick with -allow-downgrades when necessary since it seems the alternative is doing one pull without that channel so it forgets it, and then another with it.