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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 29934 in the body.
You can then email your comments to 29934 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#29934; Package guix. (Mon, 01 Jan 2018 20:07:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Catonano <catonano <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 01 Jan 2018 20:07:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Catonano <catonano <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: in virtual machines the graphical dektop environment randomly fails
 to show up
Date: Mon, 1 Jan 2018 21:06:44 +0100
[Message part 1 (text/plain, inline)]
I created a virtual machine with this command

./pre-inst-env guix system vm ~/configs/vm-config-desktop.scm \
   --image-size=10GB \
   --expose=$HOME \
   --share=$HOME/tmp=/exchange

I run this virtual machine with this command

/gnu/store/zlnjsjgw8d0b6p1p7c3dbh4g6x80mrq6-run-vm.sh

Sometimes the graphical login screen comes up

Sometimes it doesn't and a login form in a terminal gets proposed

This happens randomly
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#29934; Package guix. (Mon, 01 Jan 2018 20:48:02 GMT) Full text and rfc822 format available.

Message #8 received at 29934 <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Catonano <catonano <at> gmail.com>
Cc: 29934 <at> debbugs.gnu.org
Subject: Re: bug#29934: in virtual machines the graphical dektop environment
 randomly fails to show up
Date: Mon, 1 Jan 2018 21:47:35 +0100
Can you try to make it not show up and then check the log files in the guest?

Also, how does vm-config-desktop.scm look?




Information forwarded to bug-guix <at> gnu.org:
bug#29934; Package guix. (Mon, 01 Jan 2018 22:19:01 GMT) Full text and rfc822 format available.

Message #11 received at 29934 <at> debbugs.gnu.org (full text, mbox):

From: Catonano <catonano <at> gmail.com>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 29934 <at> debbugs.gnu.org
Subject: Re: bug#29934: in virtual machines the graphical dektop environment
 randomly fails to show up
Date: Mon, 1 Jan 2018 23:18:20 +0100
[Message part 1 (text/plain, inline)]
2018-01-01 21:47 GMT+01:00 Danny Milosavljevic <dannym <at> scratchpost.org>:

> Can you try to make it not show up and then check the log files in the
> guest?
>
> Also, how does vm-config-desktop.scm look?
>


This is the vm-config-desktop.scm file
https://paste.freshbakedyams.com/paste/J93D5MQD

As for the log in the guest, how wold I copy and paste it ?
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#29934; Package guix. (Tue, 02 Jan 2018 08:59:02 GMT) Full text and rfc822 format available.

Message #14 received at 29934 <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Catonano <catonano <at> gmail.com>
Cc: 29934 <at> debbugs.gnu.org
Subject: Re: bug#29934: in virtual machines the graphical dektop environment
 randomly fails to show up
Date: Tue, 2 Jan 2018 09:58:08 +0100
> As for the log in the guest, how wold I copy and paste it ?

There's a stdio feature in qemu:

qemu-system-x86_64 -enable-kvm -hda Q -serial stdio -m 1G
                                      ^^^^^^^^^^^^^

So if you start qemu in a terminal, you can log into the guest from that terminal (at least when you pass (kernel-arguments '("console=ttyS0")) to the guest.

You can copy & paste normally from that terminal.




Information forwarded to bug-guix <at> gnu.org:
bug#29934; Package guix. (Tue, 02 Jan 2018 11:18:02 GMT) Full text and rfc822 format available.

Message #17 received at 29934 <at> debbugs.gnu.org (full text, mbox):

From: Catonano <catonano <at> gmail.com>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 29934 <at> debbugs.gnu.org
Subject: Re: bug#29934: in virtual machines the graphical dektop environment
 randomly fails to show up
Date: Tue, 2 Jan 2018 12:17:05 +0100
[Message part 1 (text/plain, inline)]
2018-01-02 9:58 GMT+01:00 Danny Milosavljevic <dannym <at> scratchpost.org>:

>
> > As for the log in the guest, how wold I copy and paste it ?
>
> There's a stdio feature in qemu:
>
> qemu-system-x86_64 -enable-kvm -hda Q -serial stdio -m 1G
>                                       ^^^^^^^^^^^^^
>
> So if you start qemu in a terminal, you can log into the guest from that
> terminal (at least when you pass (kernel-arguments '("console=ttyS0")) to
> the guest.
>
> You can copy & paste normally from that terminal.
>


It says:
qemu-system-x86_64: -hda Q: Could not open 'Q': No such file or directory

This is the ffile that I'm using to launch quemu
https://paste.freshbakedyams.com/paste/T4NS0FD2
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#29934; Package guix. (Tue, 02 Jan 2018 11:52:02 GMT) Full text and rfc822 format available.

Message #20 received at 29934 <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Catonano <catonano <at> gmail.com>
Cc: 29934 <at> debbugs.gnu.org
Subject: Re: bug#29934: in virtual machines the graphical dektop environment
 randomly fails to show up
Date: Tue, 2 Jan 2018 12:51:03 +0100
> This is the ffile that I'm using to launch quemu
> https://paste.freshbakedyams.com/paste/T4NS0FD2

Yeah, so this one has already the "-serial stdio" option.  And it also has the console=ttyS0 option.

So just run the VM from a terminal, it should print output and accept input in the terminal.




Information forwarded to bug-guix <at> gnu.org:
bug#29934; Package guix. (Tue, 02 Jan 2018 11:53:01 GMT) Full text and rfc822 format available.

Message #23 received at 29934 <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Catonano <catonano <at> gmail.com>
Cc: 29934 <at> debbugs.gnu.org
Subject: Re: bug#29934: in virtual machines the graphical dektop environment
 randomly fails to show up
Date: Tue, 2 Jan 2018 12:52:01 +0100
Oh sorry, you edited it, right? Then remove the -hda Q, it's just an example.  Just the -serial stdio and kernel option is enough.




Information forwarded to bug-guix <at> gnu.org:
bug#29934; Package guix. (Tue, 02 Jan 2018 12:09:03 GMT) Full text and rfc822 format available.

Message #26 received at 29934 <at> debbugs.gnu.org (full text, mbox):

From: Catonano <catonano <at> gmail.com>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 29934 <at> debbugs.gnu.org
Subject: Re: bug#29934: in virtual machines the graphical dektop environment
 randomly fails to show up
Date: Tue, 2 Jan 2018 13:08:46 +0100
[Message part 1 (text/plain, inline)]
2018-01-02 12:52 GMT+01:00 Danny Milosavljevic <dannym <at> scratchpost.org>:

> Oh sorry, you edited it, right? Then remove the -hda Q, it's just an
> example.  Just the -serial stdio and kernel option is enough.
>

This is the new version of the command to launch qemu
https://paste.freshbakedyams.com/paste/NS4HNRQ9

What happens now is that it hangs on:

Booting from ROM...

Here's a picture
https://imgur.com/a/f7hpW
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#29934; Package guix. (Tue, 02 Jan 2018 14:18:02 GMT) Full text and rfc822 format available.

Message #29 received at 29934 <at> debbugs.gnu.org (full text, mbox):

From: Catonano <catonano <at> gmail.com>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 29934 <at> debbugs.gnu.org
Subject: Re: bug#29934: in virtual machines the graphical dektop environment
 randomly fails to show up
Date: Tue, 2 Jan 2018 15:17:17 +0100
[Message part 1 (text/plain, inline)]
2018-01-02 13:08 GMT+01:00 Catonano <catonano <at> gmail.com>:

>
>
> 2018-01-02 12:52 GMT+01:00 Danny Milosavljevic <dannym <at> scratchpost.org>:
>
>> Oh sorry, you edited it, right? Then remove the -hda Q, it's just an
>> example.  Just the -serial stdio and kernel option is enough.
>>
>
> This is the new version of the command to launch qemu
> https://paste.freshbakedyams.com/paste/NS4HNRQ9
>
> What happens now is that it hangs on:
>
> Booting from ROM...
>
> Here's a picture
> https://imgur.com/a/f7hpW
>

No, sorry, I think I used the wrong script

Now it works

Sometimes I need some pauses, I get tired. I apologize

So, this is what I could fetch in the terminal (cool trick ! Thhanks !)

 2 Jan 15:15:07 ntpd[388]: Listen normally on 5 eth0
[fe80::f94:7e70:cad0:a679%2]:123
 2 Jan 15:15:07 ntpd[388]: new interface(s) found: waking up resolver
New session c1 of user root.
/gnu/store/r4rfxxi8k4gql53vfcr3ns9l2mksd3m2-xauth-1.0.10/bin/xauth:  file
/root/.Xauthority does not exist
error in finalization thread: Successo
[   22.244616] fuse init (API version 7.26)
gnome-session-binary[441]: WARNING: Could not parse desktop file
xscreensaver.desktop or it references a not found TryExec binary
Jan  2 15:15:17 localhost gnome-keyring-daemon[490]: couldn't access
control socket: /run/user/0/keyring/control: File o directory non esistente
Jan  2 15:15:17 localhost gnome-keyring-daemon[491]: couldn't access
control socket: /run/user/0/keyring/control: File o directory non esistente
** Message: couldn't access control socket: /run/user/0/keyring/control:
File o directory non esistente
** Message: couldn't access control socket: /run/user/0/keyring/control:
File o directory non esistente
Jan  2 15:15:17 localhost gnome-keyring-daemon[492]: couldn't access
control socket: /run/user/0/keyring/control: File o directory non esistente
** Message: couldn't access control socket: /run/user/0/keyring/control:
File o directory non esistente
SSH_AUTH_SOCK=/run/user/0/keyring/ssh
SSH_AUTH_SOCK=/run/user/0/keyring/ssh
SSH_AUTH_SOCK=/run/user/0/keyring/ssh
Gjs-Message: JS WARNING: [resource:///org/gnome/shell/ui/main.js 317]:
reference to undefined property global.stage
Gjs-Message: JS WARNING: [resource:///org/gnome/shell/ui/layout.js 217]:
reference to undefined property global.window_group
Gjs-Message: JS WARNING:
[resource:///org/gnome/shell/ui/osdMonitorLabeler.js 59]: reference to
undefined property Meta.MonitorManager
GNOME Shell-Message: Failed to launch ibus-daemon: Esecuzione del processo
figlio «ibus-daemon» non riuscita (File o directory non esistente)
Gjs-Message: JS WARNING: [resource:///org/gnome/shell/ui/slider.js 34]:
reference to undefined property St.GenericAccessible
dbus[384]: [system] Activating service name='org.freedesktop.Accounts'
(using servicehelper)
dbus[384]: [system] Successfully activated service
'org.freedesktop.Accounts'
dbus[384]: [system] Activating service name='org.freedesktop.GeoClue2'
(using servicehelper)
dbus[384]: [system] Successfully activated service
'org.freedesktop.GeoClue2'
dbus[384]: [system] Activating service name='org.freedesktop.UDisks2'
(using servicehelper)
dbus[384]: [system] Successfully activated service 'org.freedesktop.UDisks2'
Gjs-Message: JS WARNING:
[resource:///org/gnome/gjs/modules/tweener/tweener.js 540]: reference to
undefined property properties[istr].isSpecialProperty
GNOME Shell-Message: No permission to trigger offline updates:
Polkit.Error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action
org.freedesktop.packagekit.trigger-offline-update is not registered
GNOME Shell-Message: Error loading calendars: Errore nel chiamare
StartServiceByName per org.gnome.Shell.CalendarServer:
GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process
org.gnome.Shell.CalendarServer exited with status 1

(gsd-sharing:560): sharing-plugin-WARNING **: Failed to StopUnit service:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.freedesktop.systemd1 was not provided by any .service files

(gsd-sharing:560): sharing-plugin-WARNING **: Failed to StopUnit service:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.freedesktop.systemd1 was not provided by any .service files

(gsd-sharing:560): sharing-plugin-WARNING **: Failed to StopUnit service:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.freedesktop.systemd1 was not provided by any .service files
dbus[384]: [system] Activating service name='org.freedesktop.ColorManager'
(using servicehelper)
dbus[384]: [system] Activating service name='org.freedesktop.GeoClue2'
(using servicehelper)
/gnu/store/llp6klxx0gz9zcwhfcaklhp0gv3x178f-gnome-disk-utility-3.26.2/libexec/gsd-disk-utility-notify:
Relink
`/gnu/store/x999chw1v0qz0z8k61k51q44jn5srqg6-libpng-1.6.29/lib/libpng16.so.16'
with
`/gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/libpthread.so.0'
for IFUNC symbol `longjmp'
dbus[384]: [system] Successfully activated service
'org.freedesktop.ColorManager'
dbus[384]: [system] Successfully activated service
'org.freedesktop.GeoClue2'
[   34.770084] .colord-sane-re[661]: segfault at 30 ip 00007fdd577e4a94 sp
00007ffdcda44460 error 4 in libpthread-2.25.so[7fdd577db000+19000]
GNOME Shell-Message: Error looking up permission:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.freedesktop.impl.portal.PermissionStore was not provided by any
.service files
GNOME Shell-Message: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied:
gnome-shell not allowed to act as agent

(gsd-color:570): color-plugin-WARNING **: failed to get edid: unable to get
EDID for output

(gsd-color:570): color-plugin-WARNING **: unable to get EDID for
xrandr-default: unable to get EDID for output
GNOME Shell started at Tue Jan 02 2018 15:15:22 GMT+0100 (CET)
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#29934; Package guix. (Tue, 02 Jan 2018 14:20:01 GMT) Full text and rfc822 format available.

Message #32 received at 29934 <at> debbugs.gnu.org (full text, mbox):

From: Catonano <catonano <at> gmail.com>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 29934 <at> debbugs.gnu.org
Subject: Re: bug#29934: in virtual machines the graphical dektop environment
 randomly fails to show up
Date: Tue, 2 Jan 2018 15:19:43 +0100
[Message part 1 (text/plain, inline)]
ehm...

i seems the login worked, this time

I guix pulled in thhe meantime, so maybe this had been solved already

Gosh I'm sorry





2018-01-02 15:17 GMT+01:00 Catonano <catonano <at> gmail.com>:

>
>
> 2018-01-02 13:08 GMT+01:00 Catonano <catonano <at> gmail.com>:
>
>>
>>
>> 2018-01-02 12:52 GMT+01:00 Danny Milosavljevic <dannym <at> scratchpost.org>:
>>
>>> Oh sorry, you edited it, right? Then remove the -hda Q, it's just an
>>> example.  Just the -serial stdio and kernel option is enough.
>>>
>>
>> This is the new version of the command to launch qemu
>> https://paste.freshbakedyams.com/paste/NS4HNRQ9
>>
>> What happens now is that it hangs on:
>>
>> Booting from ROM...
>>
>> Here's a picture
>> https://imgur.com/a/f7hpW
>>
>
> No, sorry, I think I used the wrong script
>
> Now it works
>
> Sometimes I need some pauses, I get tired. I apologize
>
> So, this is what I could fetch in the terminal (cool trick ! Thhanks !)
>
>  2 Jan 15:15:07 ntpd[388]: Listen normally on 5 eth0
> [fe80::f94:7e70:cad0:a679%2]:123
>  2 Jan 15:15:07 ntpd[388]: new interface(s) found: waking up resolver
> New session c1 of user root.
> /gnu/store/r4rfxxi8k4gql53vfcr3ns9l2mksd3m2-xauth-1.0.10/bin/xauth:  file
> /root/.Xauthority does not exist
> error in finalization thread: Successo
> [   22.244616] fuse init (API version 7.26)
> gnome-session-binary[441]: WARNING: Could not parse desktop file
> xscreensaver.desktop or it references a not found TryExec binary
> Jan  2 15:15:17 localhost gnome-keyring-daemon[490]: couldn't access
> control socket: /run/user/0/keyring/control: File o directory non esistente
> Jan  2 15:15:17 localhost gnome-keyring-daemon[491]: couldn't access
> control socket: /run/user/0/keyring/control: File o directory non esistente
> ** Message: couldn't access control socket: /run/user/0/keyring/control:
> File o directory non esistente
> ** Message: couldn't access control socket: /run/user/0/keyring/control:
> File o directory non esistente
> Jan  2 15:15:17 localhost gnome-keyring-daemon[492]: couldn't access
> control socket: /run/user/0/keyring/control: File o directory non esistente
> ** Message: couldn't access control socket: /run/user/0/keyring/control:
> File o directory non esistente
> SSH_AUTH_SOCK=/run/user/0/keyring/ssh
> SSH_AUTH_SOCK=/run/user/0/keyring/ssh
> SSH_AUTH_SOCK=/run/user/0/keyring/ssh
> Gjs-Message: JS WARNING: [resource:///org/gnome/shell/ui/main.js 317]:
> reference to undefined property global.stage
> Gjs-Message: JS WARNING: [resource:///org/gnome/shell/ui/layout.js 217]:
> reference to undefined property global.window_group
> Gjs-Message: JS WARNING: [resource:///org/gnome/shell/ui/osdMonitorLabeler.js
> 59]: reference to undefined property Meta.MonitorManager
> GNOME Shell-Message: Failed to launch ibus-daemon: Esecuzione del processo
> figlio «ibus-daemon» non riuscita (File o directory non esistente)
> Gjs-Message: JS WARNING: [resource:///org/gnome/shell/ui/slider.js 34]:
> reference to undefined property St.GenericAccessible
> dbus[384]: [system] Activating service name='org.freedesktop.Accounts'
> (using servicehelper)
> dbus[384]: [system] Successfully activated service
> 'org.freedesktop.Accounts'
> dbus[384]: [system] Activating service name='org.freedesktop.GeoClue2'
> (using servicehelper)
> dbus[384]: [system] Successfully activated service
> 'org.freedesktop.GeoClue2'
> dbus[384]: [system] Activating service name='org.freedesktop.UDisks2'
> (using servicehelper)
> dbus[384]: [system] Successfully activated service
> 'org.freedesktop.UDisks2'
> Gjs-Message: JS WARNING: [resource:///org/gnome/gjs/modules/tweener/tweener.js
> 540]: reference to undefined property properties[istr].isSpecialProperty
> GNOME Shell-Message: No permission to trigger offline updates:
> Polkit.Error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action
> org.freedesktop.packagekit.trigger-offline-update is not registered
> GNOME Shell-Message: Error loading calendars: Errore nel chiamare
> StartServiceByName per org.gnome.Shell.CalendarServer:
> GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process
> org.gnome.Shell.CalendarServer exited with status 1
>
> (gsd-sharing:560): sharing-plugin-WARNING **: Failed to StopUnit service:
> GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
> org.freedesktop.systemd1 was not provided by any .service files
>
> (gsd-sharing:560): sharing-plugin-WARNING **: Failed to StopUnit service:
> GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
> org.freedesktop.systemd1 was not provided by any .service files
>
> (gsd-sharing:560): sharing-plugin-WARNING **: Failed to StopUnit service:
> GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
> org.freedesktop.systemd1 was not provided by any .service files
> dbus[384]: [system] Activating service name='org.freedesktop.ColorManager'
> (using servicehelper)
> dbus[384]: [system] Activating service name='org.freedesktop.GeoClue2'
> (using servicehelper)
> /gnu/store/llp6klxx0gz9zcwhfcaklhp0gv3x178f-gnome-disk-utility-3.26.2/
> libexec/gsd-disk-utility-notify: Relink `/gnu/store/
> x999chw1v0qz0z8k61k51q44jn5srqg6-libpng-1.6.29/lib/libpng16.so.16' with
> `/gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/libpthread.so.0'
> for IFUNC symbol `longjmp'
> dbus[384]: [system] Successfully activated service
> 'org.freedesktop.ColorManager'
> dbus[384]: [system] Successfully activated service
> 'org.freedesktop.GeoClue2'
> [   34.770084] .colord-sane-re[661]: segfault at 30 ip 00007fdd577e4a94 sp
> 00007ffdcda44460 error 4 in libpthread-2.25.so[7fdd577db000+19000]
> GNOME Shell-Message: Error looking up permission:
> GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
> org.freedesktop.impl.portal.PermissionStore was not provided by any
> .service files
> GNOME Shell-Message: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied:
> gnome-shell not allowed to act as agent
>
> (gsd-color:570): color-plugin-WARNING **: failed to get edid: unable to
> get EDID for output
>
> (gsd-color:570): color-plugin-WARNING **: unable to get EDID for
> xrandr-default: unable to get EDID for output
> GNOME Shell started at Tue Jan 02 2018 15:15:22 GMT+0100 (CET)
>
>
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#29934; Package guix. (Tue, 02 Jan 2018 14:29:02 GMT) Full text and rfc822 format available.

Message #35 received at 29934 <at> debbugs.gnu.org (full text, mbox):

From: Catonano <catonano <at> gmail.com>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 29934 <at> debbugs.gnu.org
Subject: Re: bug#29934: in virtual machines the graphical dektop environment
 randomly fails to show up
Date: Tue, 2 Jan 2018 15:28:06 +0100
[Message part 1 (text/plain, inline)]
Ok, I think I've got something, finally

root can log in
catonano cannot

Here:

New session c5 of user catonano.
/gnu/store/r4rfxxi8k4gql53vfcr3ns9l2mksd3m2-xauth-1.0.10/bin/xauth:  error
in locking authority file /home/catonano/.Xauthority
error in finalization thread: Successo
/home/catonano/.bash_profile: riga 5:
/home/catonano/guix/doc:/run/current-system/profile/share/info:/home/catonano/.guix-profile/share/info:/run/current-system/profile/share/info:
File o directory non esistente
declare -x BASH_LOADABLES_PATH="/run/current-system/profile/lib/bash"
declare -x DBUS_FATAL_WARNINGS="0"
declare -x
DICPATH="/home/catonano/.guix-profile/share/hunspell:/run/current-system/profile/share/hunspell"
declare -x DISPLAY=":0.0"
declare -x
GIO_EXTRA_MODULES="/home/catonano/.guix-profile/lib/gio/modules:/run/current-system/profile/lib/gio/modules"
declare -x GIT_SSL_CAINFO="/etc/ssl/certs/ca-certificates.crt"
declare -x GST_PLUGIN_PATH="/home/catonano/.guix-profile/lib/gstreamer-1.0"
declare -x
GST_PLUGIN_SYSTEM_PATH="/home/catonano/.guix-profile/lib/gstreamer-1.0:/run/current-system/profile/lib/gstreamer-1.0"
declare -x GTK_DATA_PREFIX="/run/current-system/profile"
declare -x
GUILE_LOAD_COMPILED_PATH="/home/catonano/.guix-profile/lib/guile/2.0/site-ccache:/home/catonano/.guix-profile/share/guile/site/2.0:/run/current-system/profile/lib/guile/2.2/site-ccache:/run/current-system/profile/share/guile/site/2.2"
declare -x
GUILE_LOAD_PATH="/home/catonano/.guix-profile/share/guile/site/2.0:/run/current-system/profile/share/guile/site/2.2"
declare -x GUIX_GTK2_PATH="/home/catonano/.guix-profile/lib/gtk-2.0"
declare -x GUIX_GTK3_PATH="/run/current-system/profile/lib/gtk-3.0"
declare -x GUIX_LOCPATH="/run/current-system/locale"
declare -x GUIX_PACKAGE_PATH="/home/catonano/projects/local_packages"
declare -x HOME="/home/catonano"
declare -x
INFOPATH="/run/current-system/profile/share/info:/home/catonano/.guix-profile/share/info:/run/current-system/profile/share/info"
declare -x LANG="it_IT.utf8"
declare -x
LIBRARY_PATH="/home/catonano/.guix-profile/lib:/home/catonano/.guix-profile/lib64"
declare -x LINUX_MODULE_DIRECTORY="/run/booted-system/kernel/lib/modules"
declare -x LOGNAME="catonano"
declare -x MAIL="/var/mail/catonano"
declare -x
MANPATH="/run/current-system/profile/share/man:/home/catonano/.guix-profile/share/man:/run/current-system/profile/share/man"
declare -x
NM_VPN_PLUGIN_DIR="/gnu/store/7m12paa3z0y2wl5ya82wqydkw67xj40l-network-manager-vpn-plugins/lib/NetworkManager/VPN"
declare -x OLDPWD
declare -x
PATH="/home/catonano/.guix-profile/bin:/home/catonano/.guix-profile/sbin:/home/catonano/.guix-profile/bin:/run/setuid-programs:/run/current-system/profile/bin:/run/current-system/profile/sbin"
declare -x PWD="/home/catonano"
declare -x
PYTHONPATH="/home/catonano/.guix-profile/lib/python3.5/site-packages"
declare -x QMAKEPATH="/home/catonano/.guix-profile/"
declare -x
SHELL="/gnu/store/ars9lm9jk9hgdifg0gqvf1jrvz5mdg1j-bash-4.4.12/bin/bash"
declare -x SHLVL="1"
declare -x SSL_CERT_DIR="/etc/ssl/certs"
declare -x SSL_CERT_FILE="/etc/ssl/certs/ca-certificates.crt"
declare -x
TZDIR="/gnu/store/bzj472nmnnj5hcfd5yvfiqip1wzw84p9-tzdata-2017b/share/zoneinfo"
declare -x USER="catonano"
declare -x XAUTHORITY="/home/catonano/.Xauthority"
declare -x
XCURSOR_PATH="/home/catonano/.icons:/home/catonano/.guix-profile/share/icons:/run/current-system/profile/share/icons"
declare -x
XDG_CONFIG_DIRS="/home/catonano/.guix-profile/etc/xdg:/run/current-system/profile/etc/xdg"
declare -x
XDG_DATA_DIRS="/run/current-system/profile/share:/home/catonano/.guix-profile/share:/run/current-system/profile/share"
declare -x XDG_RUNTIME_DIR="/run/user/1000"
declare -x XDG_SEAT="seat0"
declare -x XDG_SESSION_ID="c5"
declare -x XDG_VTNR="7"
declare -x X_XFCE4_LIB_DIRS="/run/current-system/profile/lib/xfce4"
No protocol specified

** (process:1256): WARNING **: Could not make bus activated clients aware
of XDG_CURRENT_DESKTOP=GNOME environment variable: Could not connect:
Connection refused
No protocol specified

(gnome-session-check-accelerated:1268): Gtk-WARNING **: cannot open
display: :0.0
No protocol specified

(gnome-session-check-accelerated:1269): Gtk-WARNING **: cannot open
display: :0.0
gnome-session-binary[1256]: WARNING: software acceleration check failed:
Processo figlio uscito con codice 1

** (gnome-session-failed:1270): WARNING **: Cannot open display:
(II) Server terminated successfully (0). Closing log file.
Removed session c5.
Respawning xorg-server.
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#29934; Package guix. (Tue, 02 Jan 2018 14:32:01 GMT) Full text and rfc822 format available.

Message #38 received at 29934 <at> debbugs.gnu.org (full text, mbox):

From: Catonano <catonano <at> gmail.com>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 29934 <at> debbugs.gnu.org
Subject: Re: bug#29934: in virtual machines the graphical dektop environment
 randomly fails to show up
Date: Tue, 2 Jan 2018 15:31:49 +0100
[Message part 1 (text/plain, inline)]
You said that I could have logged in from the host terminal, right ?

How do I do that ?

The host terminal is running qemu, there are the messages that I'm pasting
here, no prompt

Please bear with me



2018-01-02 15:28 GMT+01:00 Catonano <catonano <at> gmail.com>:

>
>
> Ok, I think I've got something, finally
>
> root can log in
> catonano cannot
>
> Here:
>
> New session c5 of user catonano.
> /gnu/store/r4rfxxi8k4gql53vfcr3ns9l2mksd3m2-xauth-1.0.10/bin/xauth:
> error in locking authority file /home/catonano/.Xauthority
> error in finalization thread: Successo
> /home/catonano/.bash_profile: riga 5: /home/catonano/guix/doc:/run/
> current-system/profile/share/info:/home/catonano/.guix-
> profile/share/info:/run/current-system/profile/share/info: File o
> directory non esistente
> declare -x BASH_LOADABLES_PATH="/run/current-system/profile/lib/bash"
> declare -x DBUS_FATAL_WARNINGS="0"
> declare -x DICPATH="/home/catonano/.guix-profile/share/hunspell:/run/
> current-system/profile/share/hunspell"
> declare -x DISPLAY=":0.0"
> declare -x GIO_EXTRA_MODULES="/home/catonano/.guix-profile/lib/
> gio/modules:/run/current-system/profile/lib/gio/modules"
> declare -x GIT_SSL_CAINFO="/etc/ssl/certs/ca-certificates.crt"
> declare -x GST_PLUGIN_PATH="/home/catonano/.guix-profile/lib/
> gstreamer-1.0"
> declare -x GST_PLUGIN_SYSTEM_PATH="/home/catonano/.guix-profile/lib/
> gstreamer-1.0:/run/current-system/profile/lib/gstreamer-1.0"
> declare -x GTK_DATA_PREFIX="/run/current-system/profile"
> declare -x GUILE_LOAD_COMPILED_PATH="/home/catonano/.guix-profile/
> lib/guile/2.0/site-ccache:/home/catonano/.guix-profile/
> share/guile/site/2.0:/run/current-system/profile/lib/
> guile/2.2/site-ccache:/run/current-system/profile/share/guile/site/2.2"
> declare -x GUILE_LOAD_PATH="/home/catonano/.guix-profile/share/
> guile/site/2.0:/run/current-system/profile/share/guile/site/2.2"
> declare -x GUIX_GTK2_PATH="/home/catonano/.guix-profile/lib/gtk-2.0"
> declare -x GUIX_GTK3_PATH="/run/current-system/profile/lib/gtk-3.0"
> declare -x GUIX_LOCPATH="/run/current-system/locale"
> declare -x GUIX_PACKAGE_PATH="/home/catonano/projects/local_packages"
> declare -x HOME="/home/catonano"
> declare -x INFOPATH="/run/current-system/profile/share/info:/home/
> catonano/.guix-profile/share/info:/run/current-system/profile/share/info"
> declare -x LANG="it_IT.utf8"
> declare -x LIBRARY_PATH="/home/catonano/.guix-profile/lib:/home/
> catonano/.guix-profile/lib64"
> declare -x LINUX_MODULE_DIRECTORY="/run/booted-system/kernel/lib/modules"
> declare -x LOGNAME="catonano"
> declare -x MAIL="/var/mail/catonano"
> declare -x MANPATH="/run/current-system/profile/share/man:/home/
> catonano/.guix-profile/share/man:/run/current-system/profile/share/man"
> declare -x NM_VPN_PLUGIN_DIR="/gnu/store/7m12paa3z0y2wl5ya82wqydkw67xj4
> 0l-network-manager-vpn-plugins/lib/NetworkManager/VPN"
> declare -x OLDPWD
> declare -x PATH="/home/catonano/.guix-profile/bin:/home/catonano/.
> guix-profile/sbin:/home/catonano/.guix-profile/bin:/
> run/setuid-programs:/run/current-system/profile/bin:/
> run/current-system/profile/sbin"
> declare -x PWD="/home/catonano"
> declare -x PYTHONPATH="/home/catonano/.guix-profile/lib/python3.5/
> site-packages"
> declare -x QMAKEPATH="/home/catonano/.guix-profile/"
> declare -x SHELL="/gnu/store/ars9lm9jk9hgdifg0gqvf1jrvz5mdg
> 1j-bash-4.4.12/bin/bash"
> declare -x SHLVL="1"
> declare -x SSL_CERT_DIR="/etc/ssl/certs"
> declare -x SSL_CERT_FILE="/etc/ssl/certs/ca-certificates.crt"
> declare -x TZDIR="/gnu/store/bzj472nmnnj5hcfd5yvfiqip1wzw84
> p9-tzdata-2017b/share/zoneinfo"
> declare -x USER="catonano"
> declare -x XAUTHORITY="/home/catonano/.Xauthority"
> declare -x XCURSOR_PATH="/home/catonano/.icons:/home/catonano/.guix-
> profile/share/icons:/run/current-system/profile/share/icons"
> declare -x XDG_CONFIG_DIRS="/home/catonano/.guix-profile/etc/
> xdg:/run/current-system/profile/etc/xdg"
> declare -x XDG_DATA_DIRS="/run/current-system/profile/share:/home/
> catonano/.guix-profile/share:/run/current-system/profile/share"
> declare -x XDG_RUNTIME_DIR="/run/user/1000"
> declare -x XDG_SEAT="seat0"
> declare -x XDG_SESSION_ID="c5"
> declare -x XDG_VTNR="7"
> declare -x X_XFCE4_LIB_DIRS="/run/current-system/profile/lib/xfce4"
> No protocol specified
>
> ** (process:1256): WARNING **: Could not make bus activated clients aware
> of XDG_CURRENT_DESKTOP=GNOME environment variable: Could not connect:
> Connection refused
> No protocol specified
>
> (gnome-session-check-accelerated:1268): Gtk-WARNING **: cannot open
> display: :0.0
> No protocol specified
>
> (gnome-session-check-accelerated:1269): Gtk-WARNING **: cannot open
> display: :0.0
> gnome-session-binary[1256]: WARNING: software acceleration check failed:
> Processo figlio uscito con codice 1
>
> ** (gnome-session-failed:1270): WARNING **: Cannot open display:
> (II) Server terminated successfully (0). Closing log file.
> Removed session c5.
> Respawning xorg-server.
>
>
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#29934; Package guix. (Tue, 02 Jan 2018 17:12:01 GMT) Full text and rfc822 format available.

Message #41 received at 29934 <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Catonano <catonano <at> gmail.com>
Cc: 29934 <at> debbugs.gnu.org
Subject: Re: bug#29934: in virtual machines the graphical dektop environment
 randomly fails to show up
Date: Tue, 2 Jan 2018 18:11:20 +0100
Hmm, does it work when you don't expose $HOME ?

Maybe X dislikes multiple concurrent users of its Xauthority files.




Information forwarded to bug-guix <at> gnu.org:
bug#29934; Package guix. (Tue, 02 Jan 2018 17:16:02 GMT) Full text and rfc822 format available.

Message #44 received at 29934 <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Catonano <catonano <at> gmail.com>
Cc: 29934 <at> debbugs.gnu.org
Subject: Re: bug#29934: in virtual machines the graphical dektop environment
 randomly fails to show up
Date: Tue, 2 Jan 2018 18:15:15 +0100
On Tue, 2 Jan 2018 15:31:49 +0100
Catonano <catonano <at> gmail.com> wrote:

> You said that I could have logged in from the host terminal, right ?
> 
> How do I do that ?
> 
> The host terminal is running qemu, there are the messages that I'm pasting
> here, no prompt

Then no getty is running.

Please add 

    (mingetty-service-type config =>
                           (mingetty-configuration
                            (inherit config)
                            (tty "/dev/ttyS0")))))

to (services ...) in vm-config-desktop.scm .

Maybe agetty instead of mingetty, I forgot...

That should start a login thingie on the serial.




Information forwarded to bug-guix <at> gnu.org:
bug#29934; Package guix. (Tue, 02 Jan 2018 19:40:01 GMT) Full text and rfc822 format available.

Message #47 received at 29934 <at> debbugs.gnu.org (full text, mbox):

From: Catonano <catonano <at> gmail.com>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 29934 <at> debbugs.gnu.org
Subject: Re: bug#29934: in virtual machines the graphical dektop environment
 randomly fails to show up
Date: Tue, 2 Jan 2018 20:39:05 +0100
[Message part 1 (text/plain, inline)]
2018-01-02 18:15 GMT+01:00 Danny Milosavljevic <dannym <at> scratchpost.org>:

> On Tue, 2 Jan 2018 15:31:49 +0100
> Catonano <catonano <at> gmail.com> wrote:
>
> > You said that I could have logged in from the host terminal, right ?
> >
> > How do I do that ?
> >
> > The host terminal is running qemu, there are the messages that I'm
> pasting
> > here, no prompt
>
> Then no getty is running.
>
> Please add
>
>     (mingetty-service-type config =>
>                            (mingetty-configuration
>                             (inherit config)
>                             (tty "/dev/ttyS0")))))
>
> to (services ...) in vm-config-desktop.scm .
>
> Maybe agetty instead of mingetty, I forgot...
>
> That should start a login thingie on the serial.
>


Good news !

adding the mingetty service I get this

<unknown location>: error: invalid field specifier

when calling guix system vm

Also, I fiddled with the mingetty service line, to no good

I read here that mingetty should be in the %base-services ?

https://www.gnu.org/software/guix/manual/htmlhttps://www.gnu.org/software/guix/manual/html_node/Base-Services.html#Base-Services_node/Base-Services.html#Base-Services

Anyway, I tried without --expose=$HOME \ and it works

catonano CAN log in, now

Here:

New session c2 of user catonano.
/gnu/store/r4rfxxi8k4gql53vfcr3ns9l2mksd3m2-xauth-1.0.10/bin/xauth:  file
/home/catonano/.Xauthority does not exist
error in finalization thread: Successo
gnome-session-binary[772]: WARNING: Could not parse desktop file
xscreensaver.desktop or it references a not found TryExec binary
Jan  2 20:18:53 localhost gnome-keyring-daemon[817]: couldn't access
control socket: /run/user/1000/keyring/control: File o directory non
esistente
** Message: couldn't access control socket: /run/user/1000/keyring/control:
File o directory non esistente
Jan  2 20:18:53 localhost gnome-keyring-daemon[818]: couldn't access
control socket: /run/user/1000/keyring/control: File o directory non
esistente
** Message: couldn't access control socket: /run/user/1000/keyring/control:
File o directory non esistente
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
Gjs-Message: JS WARNING: [resource:///org/gnome/shell/ui/main.js 317]:
reference to undefined property global.stage
Gjs-Message: JS WARNING: [resource:///org/gnome/shell/ui/layout.js 217]:
reference to undefined property global.window_group
Gjs-Message: JS WARNING:
[resource:///org/gnome/shell/ui/osdMonitorLabeler.js 59]: reference to
undefined property Meta.MonitorManager
GNOME Shell-Message: Failed to launch ibus-daemon: Esecuzione del processo
figlio «ibus-daemon» non riuscita (File o directory non esistente)
Gjs-Message: JS WARNING: [resource:///org/gnome/shell/ui/slider.js 34]:
reference to undefined property St.GenericAccessible
dbus[384]: [system] Activating service name='org.freedesktop.GeoClue2'
(using servicehelper)
dbus[384]: [system] Successfully activated service
'org.freedesktop.GeoClue2'
Gjs-Message: JS WARNING:
[resource:///org/gnome/gjs/modules/tweener/tweener.js 540]: reference to
undefined property properties[istr].isSpecialProperty
GNOME Shell-Message: No permission to trigger offline updates:
Polkit.Error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action
org.freedesktop.packagekit.trigger-offline-update is not registered
GNOME Shell-Message: Error loading calendars: Errore nel chiamare
StartServiceByName per org.gnome.Shell.CalendarServer:
GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process
org.gnome.Shell.CalendarServer exited with status 1

(gsd-sharing:879): sharing-plugin-WARNING **: Failed to StopUnit service:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.freedesktop.systemd1 was not provided by any .service files

(gsd-sharing:879): sharing-plugin-WARNING **: Failed to StopUnit service:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.freedesktop.systemd1 was not provided by any .service files

(gsd-sharing:879): sharing-plugin-WARNING **: Failed to StopUnit service:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.freedesktop.systemd1 was not provided by any .service files

(gsd-rfkill:877): rfkill-plugin-WARNING **: Could not open RFKILL control
device, please verify your installation
/gnu/store/llp6klxx0gz9zcwhfcaklhp0gv3x178f-gnome-disk-utility-3.26.2/libexec/gsd-disk-utility-notify:
Relink
`/gnu/store/x999chw1v0qz0z8k61k51q44jn5srqg6-libpng-1.6.29/lib/libpng16.so.16'
with
`/gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/libpthread.so.0'
for IFUNC symbol `longjmp'
GNOME Shell-Message: Error looking up permission:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.freedesktop.impl.portal.PermissionStore was not provided by any
.service files
GNOME Shell-Message: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied:
gnome-shell not allowed to act as agent

(gsd-color:889): color-plugin-WARNING **: failed to get edid: unable to get
EDID for output

(gsd-color:889): color-plugin-WARNING **: unable to get EDID for
xrandr-default: unable to get EDID for output
GNOME Shell started at Tue Jan 02 2018 20:18:57 GMT+0100 (CET)






There's a shocking amount of warnings and erros, missing resources and so
on, in fact the resulting desktop is somewhat awkward (blu background, no
picture)

BUT it works

I opened the file browser (Nautilus ?) and the utility to visualize the
disk utilization

I'd say that the session is viable

I don't now why, as I don't understand the X layers stack, and I don't
understand qemu.
Which 2 users accessing the .Xauthority file ?
And what is this .Xauthority file useful for, anyway ?

But I'm satisfied nonetheless.

I want to use a virtual machine to test my Trytond service and Tryton has a
native GUI client so a graphical environment is necessary

I could connect a client running in the host to the sevice running in a so
called headless guest but I see this line, when I launch qemu

Warning: vlan 0 is not connected to host network

so I'm not sure I want to go there

Thank you Andy, I know I strained your patience
I appreciate that 🙏

Ciao
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#29934; Package guix. (Wed, 03 Jan 2018 01:04:02 GMT) Full text and rfc822 format available.

Message #50 received at 29934 <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Catonano <catonano <at> gmail.com>
Cc: 29934 <at> debbugs.gnu.org
Subject: Re: 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: 




Information forwarded to bug-guix <at> gnu.org:
bug#29934; Package guix. (Wed, 03 Jan 2018 06:57:02 GMT) Full text and rfc822 format available.

Message #53 received at 29934 <at> debbugs.gnu.org (full text, mbox):

From: Catonano <catonano <at> gmail.com>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 29934 <at> debbugs.gnu.org
Subject: Re: bug#29934: in virtual machines the graphical dektop environment
 randomly fails to show up
Date: Wed, 3 Jan 2018 07:56:01 +0100
[Message part 1 (text/plain, inline)]
2018-01-03 2:03 GMT+01:00 Danny Milosavljevic <dannym <at> scratchpost.org>:

> $ 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
[Message part 2 (text/html, inline)]

Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Sun, 25 Feb 2024 09:08:02 GMT) Full text and rfc822 format available.

Notification sent to Catonano <catonano <at> gmail.com>:
bug acknowledged by developer. (Sun, 25 Feb 2024 09:08:02 GMT) Full text and rfc822 format available.

Message #58 received at 29934-done <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: 29934-done <at> debbugs.gnu.org
Subject: in virtual machines the graphical dektop environment randomly fails
 to show up
Date: Sun, 25 Feb 2024 10:05:38 +0100
I'm closing this for lack of recent activity, and as it appears that the
issue has been solved.

If this decision was incorrect please open a new issue.

Thanks!

-- 
Ricardo




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 24 Mar 2024 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 25 days ago.

Previous Next


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