How to use UCK without Mir?

Asked by Sterling McLeod

Hello,

I am trying to use UCK on Ubuntu 16.04.1. However, the build always fails with this error:

Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused

(zenity:6896): Gtk-WARNING **: cannot open display: :1

The full log is:

Build (/usr/bin/uck-gui --wait-before-exit) started at 2016-09-26 11:50:55
>> Ubuntu Customization Kit 2.4.7 on Ubuntu 16.04, 4.4.0-38-generic x86_64
Starting CD remastering on Mon Sep 26 11:50:59 EDT 2016
Customization dir=/home/sterlingm/tmp/customization-scripts
Mounting ISO image...
mount: /dev/loop0 is write-protected, mounting read-only
Unpacking ISO image...
Unmounting ISO image...
Mounting SquashFS image...
Unpacking SquashFS image...
Unmounting SquashFS image...
Removing win32 files...
Creating apt cache...
Creating root home...
Mounting /proc
Mounting /sys
Mounting /dev/pts
Mounting /tmp
Mounting /home/sterlingm/tmp/remaster-root-home
Mounting /home/sterlingm/tmp/remaster-apt-cache
Mounting /run
Mounting /home/sterlingm/tmp/customization-scripts
Copying fstab/mtab...
Creating DBUS uuid...
Deactivating initctl...
Deactivating update-grub...
Deactivating grub-probe...
Hacking grub-probe postinst/postrm...
Remembering kernel update state...
>> Customizing: Ubuntu 16.04, 4.4.0-31-generic x86_64
Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [95.7 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [391 kB]
Get:5 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [143 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [148 kB]
Get:7 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [59.0 kB]
Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [298 kB]
Get:9 http://archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [184 kB]
Get:10 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [79.1 kB]
Get:11 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [62.9 kB]
Fetched 1555 kB in 2s (594 kB/s)
Reading package lists...
Installing language packs (en)...
Reading package lists...
Building dependency tree...
Reading state information...
language-pack-en is already the newest version (1:16.04+20160627).
language-pack-en-base is already the newest version (1:16.04+20160627).
language-pack-gnome-en is already the newest version (1:16.04+20160627).
language-pack-gnome-en-base is already the newest version (1:16.04+20160627).
0 upgraded, 0 newly installed, 0 to remove and 204 not upgraded.
Removing unnecessary language packages...
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
  firefox-locale-de* firefox-locale-es* firefox-locale-fr* firefox-locale-it*
  firefox-locale-pt* firefox-locale-ru* firefox-locale-zh-hans*
  language-pack-de* language-pack-de-base* language-pack-es*
  language-pack-es-base* language-pack-fr* language-pack-fr-base*
  language-pack-gnome-de* language-pack-gnome-de-base* language-pack-gnome-es*
  language-pack-gnome-es-base* language-pack-gnome-fr*
  language-pack-gnome-fr-base* language-pack-gnome-it*
  language-pack-gnome-it-base* language-pack-gnome-pt*
  language-pack-gnome-pt-base* language-pack-gnome-ru*
  language-pack-gnome-ru-base* language-pack-gnome-zh-hans*
  language-pack-gnome-zh-hans-base* language-pack-it* language-pack-it-base*
  language-pack-pt* language-pack-pt-base* language-pack-ru*
  language-pack-ru-base* language-pack-zh-hans* language-pack-zh-hans-base*
0 upgraded, 0 newly installed, 35 to remove and 197 not upgraded.
After this operation, 191 MB disk space will be freed.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 191925 files and directories currently installed.)
Removing firefox-locale-de (47.0+build3-0ubuntu0.16.04.1) ...
Removing firefox-locale-es (47.0+build3-0ubuntu0.16.04.1) ...
Removing firefox-locale-fr (47.0+build3-0ubuntu0.16.04.1) ...
Removing firefox-locale-it (47.0+build3-0ubuntu0.16.04.1) ...
Removing firefox-locale-pt (47.0+build3-0ubuntu0.16.04.1) ...
Removing firefox-locale-ru (47.0+build3-0ubuntu0.16.04.1) ...
Removing firefox-locale-zh-hans (47.0+build3-0ubuntu0.16.04.1) ...
Removing language-pack-gnome-de-base (1:16.04+20160627) ...
Purging configuration files for language-pack-gnome-de-base (1:16.04+20160627) ...
Removing language-pack-de-base (1:16.04+20160627) ...
Purging configuration files for language-pack-de-base (1:16.04+20160627) ...
Removing language-pack-gnome-es-base (1:16.04+20160627) ...
Purging configuration files for language-pack-gnome-es-base (1:16.04+20160627) ...
Removing language-pack-es-base (1:16.04+20160627) ...
Purging configuration files for language-pack-es-base (1:16.04+20160627) ...
Removing language-pack-gnome-fr-base (1:16.04+20160627) ...
Purging configuration files for language-pack-gnome-fr-base (1:16.04+20160627) ...
Removing language-pack-fr-base (1:16.04+20160627) ...
Purging configuration files for language-pack-fr-base (1:16.04+20160627) ...
Removing language-pack-gnome-it-base (1:16.04+20160627) ...
Purging configuration files for language-pack-gnome-it-base (1:16.04+20160627) ...
Removing language-pack-gnome-pt-base (1:16.04+20160627) ...
Purging configuration files for language-pack-gnome-pt-base (1:16.04+20160627) ...
Removing language-pack-gnome-ru-base (1:16.04+20160627) ...
Purging configuration files for language-pack-gnome-ru-base (1:16.04+20160627) ...
Removing language-pack-gnome-zh-hans-base (1:16.04+20160627) ...
Purging configuration files for language-pack-gnome-zh-hans-base (1:16.04+20160627) ...
Removing language-pack-it-base (1:16.04+20160627) ...
Purging configuration files for language-pack-it-base (1:16.04+20160627) ...
Removing language-pack-pt-base (1:16.04+20160627) ...
Purging configuration files for language-pack-pt-base (1:16.04+20160627) ...
Removing language-pack-ru-base (1:16.04+20160627) ...
Purging configuration files for language-pack-ru-base (1:16.04+20160627) ...
Removing language-pack-zh-hans-base (1:16.04+20160627) ...
Purging configuration files for language-pack-zh-hans-base (1:16.04+20160627) ...
Removing language-pack-gnome-de (1:16.04+20160627) ...
Removing language-pack-de (1:16.04+20160627) ...
Removing language-pack-gnome-es (1:16.04+20160627) ...
Removing language-pack-es (1:16.04+20160627) ...
Removing language-pack-gnome-fr (1:16.04+20160627) ...
Removing language-pack-fr (1:16.04+20160627) ...
Removing language-pack-gnome-it (1:16.04+20160627) ...
Removing language-pack-gnome-pt (1:16.04+20160627) ...
Removing language-pack-gnome-ru (1:16.04+20160627) ...
Removing language-pack-gnome-zh-hans (1:16.04+20160627) ...
Removing language-pack-it (1:16.04+20160627) ...
Removing language-pack-pt (1:16.04+20160627) ...
Removing language-pack-ru (1:16.04+20160627) ...
Removing language-pack-zh-hans (1:16.04+20160627) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160701-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
W: --force-yes is deprecated, use one of the options starting with --allow instead.
No protocol specified
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused

(zenity:6369): Gtk-WARNING **: cannot open display: :1
Script cancelled by user
Restoring kernel update state...
Reactivating initctl...
Reactivating update-grub...
Reactivating grub-probe...
Reactivating grub-probe postinst/postrm...
Removing generated machine uuid...
Removing generated fstab/mtab...
Removing crash reports...
Unmounting /home/sterlingm/tmp/remaster-root/var/cache/apt...
Unmounting /home/sterlingm/tmp/remaster-root/tmp/customization-scripts...
Unmounting /home/sterlingm/tmp/remaster-root/tmp...
Unmounting /home/sterlingm/tmp/remaster-root/sys...
Unmounting /home/sterlingm/tmp/remaster-root/run...
Unmounting /home/sterlingm/tmp/remaster-root/root...
Unmounting /home/sterlingm/tmp/remaster-root/proc...
Unmounting /home/sterlingm/tmp/remaster-root/dev/pts...
Cleaning up temporary directories...
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Build ended at 2016-09-26 11:53:50

Is there a way to use UCK without running Mir?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Customization Kit Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

1. Do all other programs work as they should, even when run as root?
What is the output of

echo $XAUTHORITY
ls -l $XAUTHORITY
(source: Bug #1449748 )

2. Are you aware that the development of UCK has been abandoned (see note "!!!PROJECT DISCONTINUED!!!" on https://launchpad.net/uck )and that there are some compatibility problems running it on Ubuntu 16.04?

Revision history for this message
Sterling McLeod (sterlingmcleod9) said :
#2

All other programs work fine. I tried on a machine running Ubuntu 14.04 and got the same issue.

I was not aware it has been discontinued. I can look for another way to create a custom iso then.

Revision history for this message
Sterling McLeod (sterlingmcleod9) said :
#3

Sorry, forgot to include outputs:

echo $XAUTHORITY
/run/user/1000/gdm/Xauthority

ls -l $XAUTHORITY
-rwx------ 1 sterlingm sterlingm 114 Sep 27 09:24 /run/user/1000/gdm/Xauthority

Can you help with this problem?

Provide an answer of your own, or ask Sterling McLeod for more information if necessary.

To post a message you must log in.