# disable screen saver
xset s off
xset -dpms
# start window-manager
i3
# Setting workspace to monitors
workspace 1 output HDMI1
workspace 2 output HDMI2
# tie each browser to each monitor
for_window [class="^chromium-left$"] move workspace number 1
for_window [class="^chromium-right$"] move workspace number 2
exec ./start-browsers.sh
./start- browsers.sh
#!/bin/bash
left_url="http://whatever/url/for/left/monitor"
right_url="http://whatever/url/for/right/monitor"
tmpdir1=$(mktemp --directory)
tmpdir2=$(mktemp --directory)
left_target="chromium --new-window $left_url \
--user-data-dir=$tmpdir1 \
--class=chromium-left \
--no-first-run \
--disable-restore-session-state \
--no-default-browser-check \
--disable-java \
--disable-translate \
--disable-infobars \
--disable-suggestions-service \
--disable-save-password-bubble \
--start-fullscreen"
right_target="chromium --new-window $right_url \
--disable-java --user-data-dir=$tmpdir2 \
--class=chromium-right \
--no-first-run \
--disable-restore-session-state \
--no-default-browser-check \
--disable-translate \
--disable-infobars \
--disable-suggestions-service \
--disable-save-password-bubble \
--start-fullscreen"
# start app for left screen
i3-msg 'workspace 1'
$left_target &
# start app for right screen
i3-msg 'workspace 2'
$right_target &
# hide mouse pointer
unclutter &
Устранена проблема. Оказывается, несколько библиотек, необходимых для двоичного файла login
, отсутствовали, а именно libcrack.so.2.8.0
и версия libglib
. Они должны были находиться в / usr / lib
, а каталог моего образа / usr / lib
был пуст. Я скопировал необходимые файлы из каталога / usr / lib
другой работающей ОС (того же типа и версии).
Итак, после выполнения:
cp -ap libcrack* /my/image/directory/mount/usr/lib
cp -ap libglib* /my/image/directory/mount/usr/lib
я могу войти в систему.