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: Tue, 2 Jan 2018 20:39:05 +0100 Message-ID: References: <20180101214735.734b62cd@scratchpost.org> <20180102095808.04d1111b@scratchpost.org> <20180102125201.628f4cf1@scratchpost.org> <20180102181515.195ec353@scratchpost.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c0af9cc7473be0561d040c4" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60091) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eWSPw-00061A-QJ for bug-guix@gnu.org; Tue, 02 Jan 2018 14:40:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eWSPq-0002Au-3z for bug-guix@gnu.org; Tue, 02 Jan 2018 14:40:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:53009) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eWSPq-0002Ao-03 for bug-guix@gnu.org; Tue, 02 Jan 2018 14:40:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eWSPp-0005eQ-QC for bug-guix@gnu.org; Tue, 02 Jan 2018 14:40:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20180102181515.195ec353@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 --94eb2c0af9cc7473be0561d040c4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 2018-01-02 18:15 GMT+01:00 Danny Milosavljevic : > On Tue, 2 Jan 2018 15:31:49 +0100 > Catonano 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 =3D> > (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 : 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/g= uix/manual/html_node/Base-Services.html#Base-Services_node/Base-Services.ht= ml#Base-Services Anyway, I tried without --expose=3D$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=3D/run/user/1000/keyring/ssh SSH_AUTH_SOCK=3D/run/user/1000/keyring/ssh SSH_AUTH_SOCK=3D/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 =C2=ABibus-daemon=C2=BB 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=3D'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/libex= ec/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 =F0=9F=99=8F Ciao --94eb2c0af9cc7473be0561d040c4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
2018-01-02 18:15 GMT+01:00 Danny Milosavljevic <da= nnym@scratchpost.org>:
On Tue, = 2 Jan 2018 15:31:49 +0100
Catonano <catonano@gmail.com&g= t; 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

=C2=A0 =C2=A0 (mingetty-service-type config =3D>
=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(mingetty-configuration
=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 (inherit config)
=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 (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 n= o good

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

Anyway, I tried without --expo= se=3D$HOME \ and it works

catonano = CAN log in, now

Here:

New session c2 of user catonano.
/gnu/store/r= 4rfxxi8k4gql53vfcr3ns9l2mksd3m2-xauth-1.0.10/bin/xauth:=C2=A0 file /home/ca= tonano/.Xauthority does not exist
error in finalization thread: Successo=
gnome-session-binary[772]: WARNING: Could not parse desktop file xscree= nsaver.desktop or it references a not found TryExec binary
Jan=C2=A0 2 2= 0:18:53 localhost gnome-keyring-daemon[817]: couldn't access control so= cket: /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=C2=A0 2 20:18:53 localhost gnome-ke= yring-daemon[818]: couldn't access control socket: /run/user/1000/keyri= ng/control: File o directory non esistente
** Message: couldn't acce= ss control socket: /run/user/1000/keyring/control: File o directory non esi= stente
SSH_AUTH_SOCK=3D/run/user/1000/keyring/ssh
SSH_AUTH_SOCK=3D/ru= n/user/1000/keyring/ssh
SSH_AUTH_SOCK=3D/run/user/1000/keyring/ssh
Gj= s-Message: JS WARNING: [resource:///org/gnome/shell/ui/main.js 317]: refere= nce to undefined property global.stage
Gjs-Message: JS WARNING: [resourc= e:///org/gnome/shell/ui/layout.js 217]: reference to undefined property glo= bal.window_group
Gjs-Message: JS WARNING: [resource:///org/gnome/shell/u= i/osdMonitorLabeler.js 59]: reference to undefined property Meta.MonitorMan= ager
GNOME Shell-Message: Failed to launch ibus-daemon: Esecuzione del p= rocesso figlio =C2=ABibus-daemon=C2=BB non riuscita (File o directory non e= sistente)
Gjs-Message: JS WARNING: [resource:///org/gnome/shell/ui/slide= r.js 34]: reference to undefined property St.GenericAccessible
dbus[384]= : [system] Activating service name=3D'org.freedesktop.GeoClue2' (us= ing servicehelper)
dbus[384]: [system] Successfully activated service &#= 39;org.freedesktop.GeoClue2'
Gjs-Message: JS WARNING: [resource:///o= rg/gnome/gjs/modules/tweener/tweener.js 540]: reference to undefined proper= ty properties[istr].isSpecialProperty
GNOME Shell-Message: No permission= to trigger offline updates: Polkit.Error: GDBus.Error:org.freedesktop.Poli= cyKit1.Error.Failed: Action org.freedesktop.packagekit.trigger-offline-upda= te is not registered
GNOME Shell-Message: Error loading calendars: Error= e nel chiamare StartServiceByName per org.gnome.Shell.CalendarServer: GDBus= .Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gnome.Shel= l.CalendarServer exited with status 1

(gsd-sharing:879): sharing-plu= gin-WARNING **: Failed to StopUnit service: GDBus.Error:org.freedesktop.DBu= s.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.ServiceU= nknown: The name org.freedesktop.systemd1 was not provided by any .service = files

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

(gs= d-rfkill:877): rfkill-plugin-WARNING **: Could not open RFKILL control devi= ce, please verify your installation
/gnu/store/llp6klxx0gz9zcwhfcaklhp0g= v3x178f-gnome-disk-utility-3.26.2/libexec/gsd-disk-utility-notify: Relink `= /gnu/store/x999chw1v0qz0z8k61k51q44jn5srqg6-libpng-1.6.29/lib/libpng16.so.1= 6' with `/gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/lib= pthread.so.0' for IFUNC symbol `longjmp'
GNOME Shell-Message: Er= ror looking up permission: GDBus.Error:org.freedesktop.DBus.Error.ServiceUn= known: The name org.freedesktop.impl.portal.PermissionStore was not provide= d by any .service files
GNOME Shell-Message: GDBus.Error:org.freedesktop= .DBus.Error.AccessDenied: gnome-shell not allowed to act as agent

(g= sd-color:889): color-plugin-WARNING **: failed to get edid: unable to get E= DID for output

(gsd-color:889): color-plugin-WARNING **: unable to g= et EDID for xrandr-default: unable to get EDID for output
GNOME Shell st= arted 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 s= omewhat awkward (blu background, no picture)

BUT it works

I opened the= file browser (Nautilus ?) and the utility to visualize the disk utilizatio= n

I'd say that the session is v= iable

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 sa= tisfied nonetheless.

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

I could connect a client running in the host to the sevice runnin= g 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 =F0=9F=99=8F

=
Ciao
--94eb2c0af9cc7473be0561d040c4--