initial attempt of proper xvfb-randr use

randr
Tomohisa Kusano 8 years ago
parent 8c6870da7e
commit b3a0c6ccf2

@ -2,7 +2,7 @@ FROM ubuntu:14.04
MAINTAINER Tomohisa Kusano <siomiz@gmail.com>
ENV CHROME_REMOTE_DESKTOP_DEFAULT_DESKTOP_SIZES 1024x768
# ENV CHROME_REMOTE_DESKTOP_DEFAULT_DESKTOP_SIZES 1024x768
COPY copyables /

@ -1 +1 @@
exec /opt/google/chrome/chrome --no-sandbox --window-position=0,0 --window-size=1024,768 --force-device-scale-factor=1
exec /opt/google/chrome/chrome --no-sandbox --start-maximized --window-position=0,0 --force-device-scale-factor=1 --no-default-browser-check

@ -2,7 +2,7 @@
nodaemon=true
[program:crd]
environment=HOME="/home/chrome",USER="chrome",CHROME_REMOTE_DESKTOP_DEFAULT_DESKTOP_SIZES="1024x768"
environment=HOME="/home/chrome",USER="chrome"
command=/usr/bin/python /opt/google/chrome-remote-desktop/chrome-remote-desktop --start --foreground --config=/home/chrome/.config/chrome-remote-desktop/~host.json
user=chrome
autorestart=true
@ -13,3 +13,10 @@ command=/usr/sbin/cron -f
user=root
autorestart=true
priority=100
[program:maximizer]
environment=DISPLAY=":20",XAUTHORITY="/home/chrome/.Xauthority"
command=/opt/siomiz/maximizer
user=chrome
autorestart=true
priority=50

Binary file not shown.
Loading…
Cancel
Save