unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Ben Sturmfels <ben@sturm.com.au>
To: Danny Milosavljevic <dannym@scratchpost.org>, 35408@debbugs.gnu.org
Subject: bug#35408: External monitor not working with GDM
Date: Thu, 25 Apr 2019 22:53:56 +1000	[thread overview]
Message-ID: <d6b64a28c63ba668d6a92ac608e39e1f0654f4ea.camel@sturm.com.au> (raw)
In-Reply-To: <20190425141622.175fe961@scratchpost.org>

[-- Attachment #1: Type: text/plain, Size: 893 bytes --]

On Thu, 2019-04-25 at 14:16 +0200, Danny Milosavljevic wrote:
> On Thu, 25 Apr 2019 21:41:27 +1000
> Ben Sturmfels <ben@sturm.com.au> wrote:
> 
> > Apr 25 20:30:54 localhost gdm:
> > gdm_session_set_environment_variable:
> > assertion 'value != NULL' failed 
> 
> Yeah, that one again.  It might make sense to patch that so the
> assertion actually prints name and value passed.
> 
> You can also set "debug"'s "Enable=true" in gnu/services/xorg.scm ,
> in gdm-configuration-file , but it will only help in a limited way
> here.

Thanks Danny, I'll try enabling debugging in a second and see if I can
get some more info.

For what it's worth, I've attached my minimal system config that won't
start GDM on either internal or external monitor. It's very close to
what's in the manual. This is on an X200 with Libreboot running Guix
System 33023baac8ec548fe64ce8e4eb48840b5411ee4c.

Regards,
Ben

[-- Attachment #2: test.scm --]
[-- Type: text/x-scheme, Size: 3297 bytes --]

(use-modules (gnu) (gnu system nss))
(use-service-modules desktop xorg)
(use-package-modules certs gnome)

(operating-system
 (host-name "Mars")
 (timezone "Australia/Melbourne")
 (locale "en_AU.utf8")

 ;; Choose US English keyboard layout.  The "altgr-intl"
 ;; variant provides dead keys for accented characters.
 (keyboard-layout (keyboard-layout "us" "altgr-intl"))

 ;; Assuming /dev/sdX is the target hard disk, and "my-root" is
 ;; the label of the target root file system.
 ;;
 ;; Using "target" here, rather than "device" suppresses a deprecation warning
 ;; from `guix reconfigure`.
 (bootloader (bootloader-configuration
              (bootloader grub-bootloader)
              (target "/dev/sda")))

 ;; Specify a mapped device for the encrypted root partition.
 ;; The UUID is that returned by 'cryptsetup luksUUID'.
 (mapped-devices
  (list (mapped-device
         (source (uuid "7c901f8e-c9fe-4e4d-989b-25a966e27df0"))
         (target "myroot")
         (type luks-device-mapping))
        (mapped-device
         (source (uuid "a63a607b-4fd8-4093-be93-c6265744e8b8"))
         (target "myhome")
         (type luks-device-mapping))))

 (file-systems (append
                (list (file-system
                       (device (file-system-label "mars-root"))
                       (mount-point "/")
                       (type "ext4")
                       (dependencies mapped-devices))
                      (file-system
                       (device (file-system-label "mars-home"))
                       (mount-point "/home")
                       (type "ext4")
                       (dependencies mapped-devices)))
                %base-file-systems))

 ;; This is where user accounts are specified.  The "root"
 ;; account is implicit, and is initially created with the
 ;; empty password.
 (users (cons (user-account
               (name "ben")
               (comment "Ben Sturmfels")
               (group "users")
               ;; Adding the account to the "wheel" group
               ;; makes it a sudoer.  Adding it to "audio"
               ;; and "video" allows the user to play sound
               ;; and access the webcam.
               (supplementary-groups '("wheel" "netdev"
                                       "audio" "video"
                                       "kvm" ; Needed for guix system vm
                                       ;; "docker"
                                       ))
               (home-directory "/home/ben"))
              %base-user-accounts))

 ;; Globally-installed packages.
 (packages (append
            (list gvfs ; for user mounts
                  nss-certs ; for HTTPS access
                  )
            %base-packages))

 ;; Add GNOME and/or Xfce---we can choose at the log-in
 ;; screen with F1.  Use the "desktop" services, which
 ;; include the X11 log-in service, networking with Wicd,
 ;; and more.
 (services (append
            (list (service gnome-desktop-service-type)
                  (service xfce-desktop-service-type)
                  (set-xorg-configuration
                   (xorg-configuration
                    (keyboard-layout keyboard-layout))))
            %desktop-services))

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

  reply	other threads:[~2019-04-25 12:55 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-24  4:25 bug#35408: External monitor not working with GDM Ben Sturmfels
2019-04-25  9:08 ` Ludovic Courtès
2019-04-25 11:41   ` Ben Sturmfels
2019-04-25 12:16     ` Danny Milosavljevic
2019-04-25 12:53       ` Ben Sturmfels [this message]
2019-04-25 16:37       ` Ludovic Courtès
2019-04-26  1:12       ` Ben Sturmfels
2019-04-26  8:12         ` Ludovic Courtès
2019-04-25 22:13     ` Diego Nicola Barbato
2019-04-26  0:42       ` Ben Sturmfels
2019-04-26  8:14         ` Ludovic Courtès
2019-05-02  2:00           ` Ben Sturmfels
2019-05-02  8:01             ` Ben Sturmfels
2019-05-02 15:20               ` Ludovic Courtès
2019-05-08  2:50                 ` Ben Sturmfels
2020-06-11  4:01 ` Royce Strange

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d6b64a28c63ba668d6a92ac608e39e1f0654f4ea.camel@sturm.com.au \
    --to=ben@sturm.com.au \
    --cc=35408@debbugs.gnu.org \
    --cc=dannym@scratchpost.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).