Username: Password: Remember me
--- src/usr/bin/upwork	2018-11-08 21:07:12.000000000 +0200
+++ upwork.patched	2019-03-05 20:42:12.082295838 +0200
@@ -6,5 +6,9 @@
   export XDG_CURRENT_DESKTOP=Unity
 fi
 
+if [ $XDG_SESSION_TYPE == 'tty' ]; then
+  export XDG_SESSION_TYPE=x11
+fi
+
 cd /usr/share/upwork
 exec ./upwork "$@"