all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Wayland setup
@ 2018-03-05 12:59 Thorsten Wilms
  2018-03-05 13:47 ` Andreas Enge
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Thorsten Wilms @ 2018-03-05 12:59 UTC (permalink / raw)
  To: help-guix

Hi!

Potentially switching distributions seemed like a good opportunity to 
try Wayland, especially since I'm playing with the idea of writing a 
schemey WM; doing so based on X11 seems like wasted effort at this point.

I would like to have a system with just a floating-window Wayland 
compositor installed (Weston?) and the least amount of Gnome and Xorg 
dependencies.

My understanding from the documentation is that the default login 
manager Slim doesn't deal with Wayland. The only alternative seems to be 
sddm. %desktop-services would bring in Slim, AFAICS, so I tried to do 
without and list things explicitly.

Surprised to see Wayland handled via xorg service, _trying_ to make 
sense of the documentation, I ended up with
(service xorg-service-type (sddm-configuration (display-server 
"wayland")), but commented it out to get beyond yet another error 
message on the way.

Actually, I would be OK with logging in on a VT and type whatever the 
Wayland equivalent of startx might be.

What's behind (banana-service) vs (service banana-service-type)? Maybe 
I'm a bad reader, but the documentation left me guessing / piecing it 
from examples, which form to use, except that the later seems to allow 
configuration?

I'm also a bit on a loss on what I actually need regarding networking 
services. During installation, "ifconfig enp5s2 up; dhclient -v enp5s2" 
was sufficient. No Wifi here, just one wrong device enp2s0 to avoid.

My attempt:

(use-modules (gnu)
              (gnu packages freedesktop) ; guix suggested this one
              (gnu system nss)
              (gnu services networking))
(use-service-modules admin avahi base dbus desktop mcron networking sddm 
ssh xorg) ; desktop was suggested for elogind
(use-package-modules base idutils bootloaders certs ntp)

(operating-system
   ...
   (packages (cons* wayland
                    weston
                    nss-certs ;for HTTPS access
                    %base-packages))

   (services (cons* ;(colord-service) missing the right service module
                    (elogind-service)
                    (dbus-service)
                    (polkit-service)
                    (service mcron-service-type)
                    (service network-manager-service-type)
                    (service rottlog-service-type)
                    (sddm-service)
                    (service wpa-supplicant-service-type)
                    ;(service xorg-service-type (sddm-configuration 
(display-server "wayland")))
                    %base-services)))

   ;; Allow resolution of '.local' host names with mDNS.
   ;(name-service-switch %mdns-host-lookup-nss))


I was dismayed to see lots of Xorg stuff scroll by and ending up with 
5,6G on the second generation, before even installing any applications.

If one should do a guix pull before init, 
https://www.gnu.org/software/guix/manual/html_node/Proceeding-with-the-Installation.html#Proceeding-with-the-Installation 
should say so. I only recalled having seen that somewhere else, afterwards!


Got collision warnings at the end of init, whatever that means:
-----
;Creating manual page database for 49 packages... done in 6.230 s
;find-files: 
/gnu/store/amxx08a88q2wypk5fwribkvm7qzl84q0-xf86-video-vesa-2.3.4/share/X11/xorg.conf.d: 
No such file or directory
;find-files: 
/gnu/store/drdl1aw2zhp6qlafs5bb0p6mva1sycqw-xf86-video-fbdev-0.4.4/share/X11/xorg.conf.d: 
No such file or directory
;find-files: 
/gnu/store/019ikmqqq5wkdhrlzyighgbinkjc51nl-xf86-video-cirrus-1.5.3/share/X11/xorg.conf.d: 
No such file or directory
;find-files: 
/gnu/store/37gddpml9db3fgp30vrnhgf4h098nbw2-xf86-video-intel-2.99.917-8-c899057/share/X11/xorg.conf.d: 
No such file or directory
;find-files: 
/gnu/store/44knzzw2bl78n0ylaj9q10j2mqs4apy1-xf86-video-mach64-6.9.5/share/X11/xorg.conf.d: 
No such file or directory
;find-files: 
/gnu/store/1l7rjh5c4vfz9d40yn2dyyy433wla8k1-xf86-video-nouveau-1.0.15/share/X11/xorg.conf.d: 
No such file or directory
;find-files: 
/gnu/store/b8a7jcj40rdpwg6cww9xmc28zzkkkr48-xf86-video-nv-2.1.21/share/X11/xorg.conf.d: 
No such file or directory
;find-files: 
/gnu/store/hgnmrhy4p0sv9l64vn14nf3mrxckav4y-xf86-video-sis-0.10.9/share/X11/xorg.conf.d: 
No such file or directory
;find-files: 
/gnu/store/8mncbkqy6cjdj4qzw2q26jk5qs4fl1cx-xf86-input-keyboard-1.9.0/share/X11/xorg.conf.d: 
No such file or directory
;find-files: 
/gnu/store/dfp22bxrpfq2xfwg27f7xi6080wskinb-xf86-input-mouse-1.9.2/share/X11/xorg.conf.d: 
No such file or directory
;warning: collision encountered: 
/gnu/store/hi7gadjf2gc3ma5bzabpkzjzcd89zz87-util-linux-2.30.1/share/man/man8/nologin.8.gz 
/gnu/store/a8arlhcrf70113zw7b3qrwqbqfq2hgj6-shadow-4.5/share/man/man8/nolo$
;warning: arbitrarily choosing 
/gnu/store/hi7gadjf2gc3ma5bzabpkzjzcd89zz87-util-linux-2.30.1/share/man/man8/nologin.8.gz
;warning: collision encountered: 
/gnu/store/hi7gadjf2gc3ma5bzabpkzjzcd89zz87-util-linux-2.30.1/sbin/nologin 
/gnu/store/a8arlhcrf70113zw7b3qrwqbqfq2hgj6-shadow-4.5/sbin/nologin
;warning: arbitrarily choosing 
/gnu/store/hi7gadjf2gc3ma5bzabpkzjzcd89zz87-util-linux-2.30.1/sbin/nologin
;warning: collision encountered: 
/gnu/store/54k4zlx3azmhqydlilysirpqmhvcw8gr-inetutils-1.9.4/bin/ifconfig 
/gnu/store/q588bqj8cshg9cijkm5s18xspc9wkap8-net-tools-1.60-0.479bb4a/bin/ifconfig
;warning: arbitrarily choosing 
/gnu/store/54k4zlx3azmhqydlilysirpqmhvcw8gr-inetutils-1.9.4/bin/ifconfig
;/gnu/store/skrdqdm1xnfphdrk5fc14kg2mj0sfd8h-system
;/gnu/store/19y01m3r6riir52mnkvg8jcq4iynrlg7-grub.cfg
;
;initializing operating system under '/mnt'...
;copying to '/mnt'...
;populating '/mnt'...
---

Any help getting closer to my goal appreciated!

-- 
Thorsten Wilms

thorwil's design for free software:
http://thorwil.wordpress.com/

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2018-03-15 10:31 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-05 12:59 Wayland setup Thorsten Wilms
2018-03-05 13:47 ` Andreas Enge
2018-03-07 13:06 ` Oleg Pykhalov
2018-03-11 17:07 ` Thorsten Wilms
2018-03-12 17:19 ` Thorsten Wilms
2018-03-12 19:05   ` Gábor Boskovits
2018-03-12 20:54     ` Thorsten Wilms
2018-03-13 19:50       ` Thorsten Wilms
2018-03-13 21:22         ` Gábor Boskovits
2018-03-14 21:10 ` Thorsten Wilms
2018-03-15  1:08   ` Marius Bakke
2018-03-15 10:29     ` Thorsten Wilms
2018-03-15 10:06   ` Thorsten Wilms

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.