mwitmer / guile-wm

A Window Manager Toolkit for Guile Scheme
GNU General Public License v3.0
223 stars 13 forks source link

I started guile-wm on GuixSD, but it failed to start #12

Open slaluhux opened 4 years ago

slaluhux commented 4 years ago

I started guile-wm on GuixSD, but it failed to start

error output:

chromebook ~$ guile-wm
Backtrace:
           6 (apply-smob/1 #<catch-closure 7f0b4227aa60>)
In ice-9/boot-9.scm:
    705:2  5 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
In ice-9/eval.scm:
    619:8  4 (_ #(#(#<directory (guile-user) 7f0b41ef6140>)))
    619:8  3 (_ #(#(#(#<directory (guile-user) 7f0b41ef6140>) # #) #))
   626:19  2 (_ #(#(#(#<directory (guile-user) 7f0b41ef6140>) # #) #))
In xcb/xml/auth.scm:
   139:22  1 (xcb-connect! _ _)
In unknown file:
           0 (scm-error misc-error #f "~A ~S ~S" ("Could not fin…" …) …)

ERROR: In procedure scm-error:
Could not find any X authentication token for ~a ~a ":1" "chromebook"

How fix this error.

mwitmer commented 4 years ago

Do you know if there's already an X server running when you run guile-wm? If so, are you executing this command from a terminal emulator running inside the X session or outside of it? Typically you wouldn't want to invoke guile-wm directly but would use a command like startx or an X session manager.

slaluhux commented 4 years ago

My .xsession is:

# start guile-wm
#exec guile-wm

# debug guile-wm
exec st 

I have tried wrote 'exec guile-wm' to .xsession But it still fails

I don't understand how to use startx with GuixSD So I used gdm & xsession file to start it.

Levenson commented 3 years ago

It might be related to https://github.com/mwitmer/guile-xcb/pull/7