From mboxrd@z Thu Jan 1 00:00:00 1970 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 Message-ID: References: <20180101214735.734b62cd@scratchpost.org> <20180102095808.04d1111b@scratchpost.org> <20180102125201.628f4cf1@scratchpost.org> <20180102181515.195ec353@scratchpost.org> <20180103020315.7e9825fb@scratchpost.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="f403045e94fc5f6e5c0561d9b5ce" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53600) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eWcz4-0002rh-WC for bug-guix@gnu.org; Wed, 03 Jan 2018 01:57:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eWcz1-0000Za-2Y for bug-guix@gnu.org; Wed, 03 Jan 2018 01:57:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:53318) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eWcz0-0000ZW-Tb for bug-guix@gnu.org; Wed, 03 Jan 2018 01:57:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eWcz0-0003rx-Hm for bug-guix@gnu.org; Wed, 03 Jan 2018 01:57:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20180103020315.7e9825fb@scratchpost.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Danny Milosavljevic Cc: 29934@debbugs.gnu.org --f403045e94fc5f6e5c0561d9b5ce Content-Type: text/plain; charset="UTF-8" 2018-01-03 2:03 GMT+01:00 Danny Milosavljevic : > $ 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: > Ok, now I can login into the guest from the host terminal This will be uuseful ! Thanks --f403045e94fc5f6e5c0561d9b5ce Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


2018-01-03 2:03 GMT+01:00 Danny Milosavljevic <dannym@scratchpost= .org>:
$ cat vm-config-desk= top.scm

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

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

=C2=A0 (file-systems (cons (file-system
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 (device "my-root")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 (title 'label)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 (mount-point "/")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 (type "ext4")

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 )
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 %base-file-systems))

=C2=A0 (users (cons (user-account
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (name "catonan= o")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (comment "Alic= e's brother")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (group "users&= quot;)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (supplementary-grou= ps '("wheel" "netdev"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "au= dio" "video"))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (home-directory &qu= ot;/home/catonano"))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0%base-user-accounts)= )

=C2=A0 ;; This is where we specify system-wide packages.
=C2=A0 (packages (cons* nss-certs=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0;for HTT= PS access
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0gvfs= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ;for user mounts
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0%base-= packages))

=C2=A0 ;; Add GNOME and/or Xfce---we can choose at the log-in
=C2=A0 ;; screen with F1.=C2=A0 Use the "desktop" services, which=
=C2=A0 ;; include the X11 log-in service, networking with Wicd,
=C2=A0 ;; and more.
=C2=A0 (services (cons* (postgresql-service #:locale "it_IT.UTF-8"= ;)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0;(serv= ice trytond-service-type)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(servi= ce agetty-service-type (agetty-configuration (tty "ttyS0")))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(gnome= -desktop-service)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(xfce-= desktop-service)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0%deskt= op-services))

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


And then

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


Ok, now I can l= ogin into the guest from the host terminal

This will be uuseful !

Thanks
--f403045e94fc5f6e5c0561d9b5ce--