|
From: | Catonano |
Subject: | bug#29934: in virtual machines the graphical dektop environment randomly fails to show up |
Date: | Wed, 3 Jan 2018 07:56:01 +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:
[Prev in Thread] | Current Thread | [Next in Thread] |