bug#29934: in virtual machines the graphical dektop environment randomly fails to show up
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#29934: in virtual machines the graphical dektop environment randomly fails to show up
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
bug#29934: in virtual machines the graphical dektop environment randomly fails to show up
$ 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:
bug#29934: in virtual machines the graphical dektop environment randomly fails to show up
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 => >(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/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:
bug#29934: in virtual machines the graphical dektop environment randomly fails to show up
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 => (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.
bug#29934: in virtual machines the graphical dektop environment randomly fails to show up
Hmm, does it work when you don't expose $HOME ? Maybe X dislikes multiple concurrent users of its Xauthority files.
bug#29934: in virtual machines the graphical dektop environment randomly fails to show up
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 : > > > 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. > > >
bug#29934: in virtual machines the graphical dektop environment randomly fails to show up
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.
bug#29934: in virtual machines the graphical dektop environment randomly fails to show up
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 : > > > 2018-01-02 13:08 GMT+01:00 Catonano : > >> >> >> 2018-01-02 12:52 GMT+01:00 Danny Milosavljevic : >> >>> 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/ > libexe
bug#29934: in virtual machines the graphical dektop environment randomly fails to show up
2018-01-02 13:08 GMT+01:00 Catonano : > > > 2018-01-02 12:52 GMT+01:00 Danny Milosavljevic : > >> 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
bug#29934: in virtual machines the graphical dektop environment randomly fails to show up
2018-01-02 12:52 GMT+01:00 Danny Milosavljevic : > 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
bug#29934: in virtual machines the graphical dektop environment randomly fails to show up
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.
bug#29934: in virtual machines the graphical dektop environment randomly fails to show up
> 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.
bug#29934: in virtual machines the graphical dektop environment randomly fails to show up
2018-01-02 9:58 GMT+01:00 Danny Milosavljevic : > > > 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
bug#29934: in virtual machines the graphical dektop environment randomly fails to show up
> 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.
bug#29934: in virtual machines the graphical dektop environment randomly fails to show up
2018-01-01 21:47 GMT+01:00 Danny Milosavljevic : > 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 ?
bug#29934: in virtual machines the graphical dektop environment randomly fails to show up
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?
bug#29934: in virtual machines the graphical dektop environment randomly fails to show up
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