Команда xrandr не работает в lightdm.conf

мой файл /etc/lightdm/lightdm.conf

 [SeatDefaults] user-session=ubuntu greeter-session=unity-greeter allow-guest=false display-setup-script=xrandr --newmode "2560x1440" 220.812 2560 2608 2640 2720 1440 1443 1448 1478 -hsync -vsync && xrandr --addmode HDMI1 "2560x1440" && xrandr --output HDMI1 --rotate right 

Когда я запускаю компьютер, появляется черный пустой экран, поскольку сервер x останавливается из-за ошибки. Когда я запускаю команду xrandr как правило, в терминале при xrandr в систему, она работает.

Ошибки в ~/.xsession-errors.old

 openConnection: connect: No such file or directory cannot connect to brltty at :0 upstart: window-stack-bridge main process (2057) killed by HUP signal upstart: bamfdaemon main process (2115) killed by TERM signal upstart: hud main process (2186) killed by HUP signal upstart: unity-settings-daemon main process (2188) killed by HUP signal upstart: gnome-session (Unity) main process (2195) killed by HUP signal upstart: unity-panel-service main process (2202) killed by HUP signal upstart: indicator-messages main process (2231) killed by HUP signal upstart: indicator-bluetooth main process (2232) killed by TERM signal upstart: indicator-power main process (2233) killed by TERM signal upstart: indicator-datetime main process (2234) killed by TERM signal upstart: indicator-keyboard main process (2235) killed by HUP signal upstart: indicator-sound main process (2236) killed by HUP signal upstart: indicator-printers main process (2239) killed by TERM signal upstart: indicator-session main process (2240) killed by TERM signal upstart: indicator-application main process (2249) killed by TERM signal upstart: indicator-application pre-stop process (3254) killed by HUP signal upstart: unity7 main process (2277) terminated with status 1 

Interesting Posts
Linux и Unix - лучшая ОС в мире.