* bug#29934: in virtual machines the graphical dektop environment randomly fails to show up @ 2018-01-01 20:06 Catonano 2018-01-01 20:47 ` Danny Milosavljevic 2024-02-25 9:05 ` Ricardo Wurmus 0 siblings, 2 replies; 18+ messages in thread From: Catonano @ 2018-01-01 20:06 UTC (permalink / raw) To: 29934 [-- Attachment #1: Type: text/plain, Size: 423 bytes --] 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 [-- Attachment #2: Type: text/html, Size: 509 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* bug#29934: in virtual machines the graphical dektop environment randomly fails to show up 2018-01-01 20:06 bug#29934: in virtual machines the graphical dektop environment randomly fails to show up Catonano @ 2018-01-01 20:47 ` Danny Milosavljevic 2018-01-01 22:18 ` Catonano 2024-02-25 9:05 ` Ricardo Wurmus 1 sibling, 1 reply; 18+ messages in thread From: Danny Milosavljevic @ 2018-01-01 20:47 UTC (permalink / raw) To: Catonano; +Cc: 29934 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? ^ permalink raw reply [flat|nested] 18+ messages in thread
* bug#29934: in virtual machines the graphical dektop environment randomly fails to show up 2018-01-01 20:47 ` Danny Milosavljevic @ 2018-01-01 22:18 ` Catonano 2018-01-02 8:58 ` Danny Milosavljevic 0 siblings, 1 reply; 18+ messages in thread From: Catonano @ 2018-01-01 22:18 UTC (permalink / raw) To: Danny Milosavljevic; +Cc: 29934 [-- Attachment #1: Type: text/plain, Size: 355 bytes --] 2018-01-01 21:47 GMT+01:00 Danny Milosavljevic <dannym@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 ? [-- Attachment #2: Type: text/html, Size: 831 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* bug#29934: in virtual machines the graphical dektop environment randomly fails to show up 2018-01-01 22:18 ` Catonano @ 2018-01-02 8:58 ` Danny Milosavljevic 2018-01-02 11:17 ` Catonano 0 siblings, 1 reply; 18+ messages in thread From: Danny Milosavljevic @ 2018-01-02 8:58 UTC (permalink / raw) To: Catonano; +Cc: 29934 > 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. ^ permalink raw reply [flat|nested] 18+ messages in thread
* bug#29934: in virtual machines the graphical dektop environment randomly fails to show up 2018-01-02 8:58 ` Danny Milosavljevic @ 2018-01-02 11:17 ` Catonano 2018-01-02 11:51 ` Danny Milosavljevic 2018-01-02 11:52 ` Danny Milosavljevic 0 siblings, 2 replies; 18+ messages in thread From: Catonano @ 2018-01-02 11:17 UTC (permalink / raw) To: Danny Milosavljevic; +Cc: 29934 [-- Attachment #1: Type: text/plain, Size: 697 bytes --] 2018-01-02 9:58 GMT+01:00 Danny Milosavljevic <dannym@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 [-- Attachment #2: Type: text/html, Size: 1251 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* bug#29934: in virtual machines the graphical dektop environment randomly fails to show up 2018-01-02 11:17 ` Catonano @ 2018-01-02 11:51 ` Danny Milosavljevic 2018-01-02 11:52 ` Danny Milosavljevic 1 sibling, 0 replies; 18+ messages in thread From: Danny Milosavljevic @ 2018-01-02 11:51 UTC (permalink / raw) To: Catonano; +Cc: 29934 > 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. ^ permalink raw reply [flat|nested] 18+ messages in thread
* bug#29934: in virtual machines the graphical dektop environment randomly fails to show up 2018-01-02 11:17 ` Catonano 2018-01-02 11:51 ` Danny Milosavljevic @ 2018-01-02 11:52 ` Danny Milosavljevic 2018-01-02 12:08 ` Catonano 1 sibling, 1 reply; 18+ messages in thread From: Danny Milosavljevic @ 2018-01-02 11:52 UTC (permalink / raw) To: Catonano; +Cc: 29934 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. ^ permalink raw reply [flat|nested] 18+ messages in thread
* bug#29934: in virtual machines the graphical dektop environment randomly fails to show up 2018-01-02 11:52 ` Danny Milosavljevic @ 2018-01-02 12:08 ` Catonano 2018-01-02 14:17 ` Catonano 0 siblings, 1 reply; 18+ messages in thread From: Catonano @ 2018-01-02 12:08 UTC (permalink / raw) To: Danny Milosavljevic; +Cc: 29934 [-- Attachment #1: Type: text/plain, Size: 418 bytes --] 2018-01-02 12:52 GMT+01:00 Danny Milosavljevic <dannym@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 [-- Attachment #2: Type: text/html, Size: 981 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* bug#29934: in virtual machines the graphical dektop environment randomly fails to show up 2018-01-02 12:08 ` Catonano @ 2018-01-02 14:17 ` Catonano 2018-01-02 14:19 ` Catonano 0 siblings, 1 reply; 18+ messages in thread From: Catonano @ 2018-01-02 14:17 UTC (permalink / raw) To: Danny Milosavljevic; +Cc: 29934 [-- Attachment #1: Type: text/plain, Size: 5916 bytes --] 2018-01-02 13:08 GMT+01:00 Catonano <catonano@gmail.com>: > > > 2018-01-02 12:52 GMT+01:00 Danny Milosavljevic <dannym@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) [-- Attachment #2: Type: text/html, Size: 7150 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* bug#29934: in virtual machines the graphical dektop environment randomly fails to show up 2018-01-02 14:17 ` Catonano @ 2018-01-02 14:19 ` Catonano 2018-01-02 14:28 ` Catonano 0 siblings, 1 reply; 18+ messages in thread From: Catonano @ 2018-01-02 14:19 UTC (permalink / raw) To: Danny Milosavljevic; +Cc: 29934 [-- Attachment #1: Type: text/plain, Size: 6361 bytes --] 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@gmail.com>: > > > 2018-01-02 13:08 GMT+01:00 Catonano <catonano@gmail.com>: > >> >> >> 2018-01-02 12:52 GMT+01:00 Danny Milosavljevic <dannym@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) > > > [-- Attachment #2: Type: text/html, Size: 7945 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* bug#29934: in virtual machines the graphical dektop environment randomly fails to show up 2018-01-02 14:19 ` Catonano @ 2018-01-02 14:28 ` Catonano 2018-01-02 14:31 ` Catonano 2018-01-02 17:11 ` Danny Milosavljevic 0 siblings, 2 replies; 18+ messages in thread From: Catonano @ 2018-01-02 14:28 UTC (permalink / raw) To: Danny Milosavljevic; +Cc: 29934 [-- Attachment #1: Type: text/plain, Size: 4505 bytes --] 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. [-- Attachment #2: Type: text/html, Size: 5345 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* bug#29934: in virtual machines the graphical dektop environment randomly fails to show up 2018-01-02 14:28 ` Catonano @ 2018-01-02 14:31 ` Catonano 2018-01-02 17:15 ` Danny Milosavljevic 2018-01-02 17:11 ` Danny Milosavljevic 1 sibling, 1 reply; 18+ messages in thread From: Catonano @ 2018-01-02 14:31 UTC (permalink / raw) To: Danny Milosavljevic; +Cc: 29934 [-- Attachment #1: Type: text/plain, Size: 4994 bytes --] 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@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. > > > [-- Attachment #2: Type: text/html, Size: 6444 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* bug#29934: in virtual machines the graphical dektop environment randomly fails to show up 2018-01-02 14:31 ` Catonano @ 2018-01-02 17:15 ` Danny Milosavljevic 2018-01-02 19:39 ` Catonano 2018-01-03 1:03 ` Danny Milosavljevic 0 siblings, 2 replies; 18+ messages in thread From: Danny Milosavljevic @ 2018-01-02 17:15 UTC (permalink / raw) To: Catonano; +Cc: 29934 On Tue, 2 Jan 2018 15:31:49 +0100 Catonano <catonano@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. ^ permalink raw reply [flat|nested] 18+ messages in thread
* bug#29934: in virtual machines the graphical dektop environment randomly fails to show up 2018-01-02 17:15 ` Danny Milosavljevic @ 2018-01-02 19:39 ` Catonano 2018-01-03 1:03 ` Danny Milosavljevic 1 sibling, 0 replies; 18+ messages in thread From: Catonano @ 2018-01-02 19:39 UTC (permalink / raw) To: Danny Milosavljevic; +Cc: 29934 [-- Attachment #1: Type: text/plain, Size: 6355 bytes --] 2018-01-02 18:15 GMT+01:00 Danny Milosavljevic <dannym@scratchpost.org>: > On Tue, 2 Jan 2018 15:31:49 +0100 > Catonano <catonano@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 [-- Attachment #2: Type: text/html, Size: 8013 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* bug#29934: in virtual machines the graphical dektop environment randomly fails to show up 2018-01-02 17:15 ` Danny Milosavljevic 2018-01-02 19:39 ` Catonano @ 2018-01-03 1:03 ` Danny Milosavljevic 2018-01-03 6:56 ` Catonano 1 sibling, 1 reply; 18+ messages in thread From: Danny Milosavljevic @ 2018-01-03 1:03 UTC (permalink / raw) To: Catonano; +Cc: 29934 $ 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: ^ permalink raw reply [flat|nested] 18+ messages in thread
* bug#29934: in virtual machines the graphical dektop environment randomly fails to show up 2018-01-03 1:03 ` Danny Milosavljevic @ 2018-01-03 6:56 ` Catonano 0 siblings, 0 replies; 18+ messages in thread From: Catonano @ 2018-01-03 6:56 UTC (permalink / raw) To: Danny Milosavljevic; +Cc: 29934 [-- Attachment #1: Type: text/plain, Size: 2201 bytes --] 2018-01-03 2:03 GMT+01:00 Danny Milosavljevic <dannym@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 [-- Attachment #2: Type: text/html, Size: 3283 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* bug#29934: in virtual machines the graphical dektop environment randomly fails to show up 2018-01-02 14:28 ` Catonano 2018-01-02 14:31 ` Catonano @ 2018-01-02 17:11 ` Danny Milosavljevic 1 sibling, 0 replies; 18+ messages in thread From: Danny Milosavljevic @ 2018-01-02 17:11 UTC (permalink / raw) To: Catonano; +Cc: 29934 Hmm, does it work when you don't expose $HOME ? Maybe X dislikes multiple concurrent users of its Xauthority files. ^ permalink raw reply [flat|nested] 18+ messages in thread
* bug#29934: in virtual machines the graphical dektop environment randomly fails to show up 2018-01-01 20:06 bug#29934: in virtual machines the graphical dektop environment randomly fails to show up Catonano 2018-01-01 20:47 ` Danny Milosavljevic @ 2024-02-25 9:05 ` Ricardo Wurmus 1 sibling, 0 replies; 18+ messages in thread From: Ricardo Wurmus @ 2024-02-25 9:05 UTC (permalink / raw) To: 29934-done 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 ^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2024-02-25 9:08 UTC | newest] Thread overview: 18+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-01-01 20:06 bug#29934: in virtual machines the graphical dektop environment randomly fails to show up Catonano 2018-01-01 20:47 ` Danny Milosavljevic 2018-01-01 22:18 ` Catonano 2018-01-02 8:58 ` Danny Milosavljevic 2018-01-02 11:17 ` Catonano 2018-01-02 11:51 ` Danny Milosavljevic 2018-01-02 11:52 ` Danny Milosavljevic 2018-01-02 12:08 ` Catonano 2018-01-02 14:17 ` Catonano 2018-01-02 14:19 ` Catonano 2018-01-02 14:28 ` Catonano 2018-01-02 14:31 ` Catonano 2018-01-02 17:15 ` Danny Milosavljevic 2018-01-02 19:39 ` Catonano 2018-01-03 1:03 ` Danny Milosavljevic 2018-01-03 6:56 ` Catonano 2018-01-02 17:11 ` Danny Milosavljevic 2024-02-25 9:05 ` Ricardo Wurmus
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/guix.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.