GNU bug report logs - #29934
in virtual machines the graphical dektop environment randomly fails to show up

Previous Next

Package: guix;

Reported by: Catonano <catonano <at> gmail.com>

Date: Mon, 1 Jan 2018 20:07:01 UTC

Severity: normal

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Catonano <catonano <at> gmail.com>
Cc: 29934 <at> debbugs.gnu.org
Subject: bug#29934: in virtual machines the graphical dektop environment randomly fails to show up
Date: Wed, 3 Jan 2018 02:03:15 +0100
$ cat vm-config-desktop.scm

(operating-system
  (host-name "antelope")
  (timezone "Europe/Paris")
  (locale "it_IT.utf8")
  (kernel-arguments `("console=ttyS0"))

  ;; Assuming /dev/sdX is the target hard disk, and "my-root"
  ;; is the label of the target root file system.
  (bootloader (grub-configuration (device "/dev/sda")))

  (file-systems (cons (file-system
                        (device "my-root")
                        (title 'label)
                        (mount-point "/")
                        (type "ext4")
                       
                      )
                      %base-file-systems))

  (users (cons (user-account
                (name "catonano")
                (comment "Alice's brother")
                (group "users")
                (supplementary-groups '("wheel" "netdev"
                                        "audio" "video"))
                (home-directory "/home/catonano"))
               %base-user-accounts))

  ;; This is where we specify system-wide packages.
  (packages (cons* nss-certs         ;for HTTPS access
                   gvfs              ;for user mounts
                   %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 (cons* (postgresql-service #:locale "it_IT.UTF-8")
                   ;(service trytond-service-type)
                   (service agetty-service-type (agetty-configuration (tty "ttyS0")))
                   (gnome-desktop-service)
                   (xfce-desktop-service)
                   %desktop-services))

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


And then 

$ `guix system vm ~/vm-config-desktop.scm    --image-size=10GB   --share=$HOME/tmp=/exchange` -serial stdio
...
This is the GNU system.  Welcome.
antelope login: 




This bug report was last modified 1 year and 165 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.