Also set DISPLAY in SSH unit

This commit is contained in:
rendaw
2018-03-13 16:31:52 +09:00
parent 93b548b737
commit 942f01418b

View File

@@ -113,6 +113,7 @@ Requires=trezor-ssh-agent.socket
[Service]
Type=Simple
Environment="DISPLAY=:0"
Environment="GNUPGHOME=%h/.gnupg/trezor"
Environment="PATH=/bin:/usr/bin:/usr/local/bin:%h/.local/bin"
ExecStart=/usr/bin/trezor-agent --foreground --sock-path %t/trezor-agent/S.ssh IDENTITY