Commit 941e40b1 authored by Vitaly Lipatov's avatar Vitaly Lipatov

run-1c8.sh: add warning about missed Kerberos ticket

parent 6eac56c1
......@@ -2,9 +2,17 @@
# Usage: run-1c8.sh [wine]
assure_kerberos()
{
klist >/dev/null && return
zenity --error --no-wrap --text="Не получен тикет Kerberos"
return 1
}
# rerun via ssh from rw
if [ "$(hostname -s)" != "rw" ] ; then
TODO: use rxclient or xpra
# TODO: use rxclient or xpra
assure_kerberos || exit 1
ssh -o PasswordAuthentication=no -Y rw /home/share/resources/wine-buh/run-1c8.sh
exit
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment