* Xorg won't start
@ 2017-06-12 8:37 someone
2017-06-13 20:49 ` Ricardo Wurmus
0 siblings, 1 reply; 2+ messages in thread
From: someone @ 2017-06-12 8:37 UTC (permalink / raw)
To: help-guix
Im unable to start Xorg on one of my laptops - can't get to slim or start
a desktop service with xfce4start etc.
At the second to last line of Xorg.0.log I have:
systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
full log is at http://sprunge.us/WNGa
Is there a way to fix this?
For the sake of testing I then ran guix package -i libdrm && mpv --vo drm
my_vid.wmv which hangs the console (not the pointer but can't cancel the
process) and Im unable to switch tty.
I also tried changing slim to sddm and setting wayland instead of X11 but
that didn't help. I also tried to define my-slim-service and add the nouveau
driver in case there's a problem with the intel graphics but I weren't
able to write it correctly, this didn't work:
> (define (my-slim-service)
> (mlet* %store-monad ((config (xorg-configuration-file
> ;; #:drivers '("nouveau" "vesa")
> #:resolutions '((1920 1080) (1366 768) (1024 768))
> ))
> (startx (xorg-start-command
> #:configuration-file config)))
> (slim-service #:startx startx)))
..
(services (cons* (xfce-desktop-service)
(my-slim-service)
%desktop-services))
Any ideas, anyone?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Xorg won't start
2017-06-12 8:37 Xorg won't start someone
@ 2017-06-13 20:49 ` Ricardo Wurmus
0 siblings, 0 replies; 2+ messages in thread
From: Ricardo Wurmus @ 2017-06-13 20:49 UTC (permalink / raw)
To: someone; +Cc: help-guix
someone@selfhosted.xyz writes:
>> (define (my-slim-service)
>> (mlet* %store-monad ((config (xorg-configuration-file
>> ;; #:drivers '("nouveau" "vesa")
>> #:resolutions '((1920 1080) (1366 768) (1024 768))
>> ))
>> (startx (xorg-start-command
>> #:configuration-file config)))
>> (slim-service #:startx startx)))
> ..
> (services (cons* (xfce-desktop-service)
> (my-slim-service)
> %desktop-services))
This probably won’t do what you want. First, the %desktop-services
contain an implementation of the slim-service-type, so you’ll get two
services that want to start X.
Instead of defining my-slim-service (which looks more complicated than
it should), how about just modifying the service with the
slim-service-type? Here’s a snippet to append config snippets to the
xorg configuration file:
--8<---------------cut here---------------start------------->8---
(services (cons* (whatever-service)
(modify-services %desktop-services
(slim-service-type
config => (slim-configuration
(inherit config)
(startx (xorg-start-command
#:configuration-file
(xorg-configuration-file
#:extra-config
(list marble-mouse-settings
dvorak-evdev)))))))))
--8<---------------cut here---------------end--------------->8---
Hope this helps!
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-06-13 20:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-12 8:37 Xorg won't start someone
2017-06-13 20:49 ` Ricardo Wurmus
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.