Re: [Tails-ux] Tails Server GUI Design

Delete this message

Reply to this message
Autor: segfault
Data:  
Dla: Tails user experience & user interface design, George Kadianakis, anonym
Temat: Re: [Tails-ux] Tails Server GUI Design
> I tried to run it from Tails and failed as well.

Damn, that was bad timing. I pushed a lot of changes yesterday evening,
among others I restructured the project and created a setup.py but
forgot to delete the obsolete setup.sh and update the instructions in
the README.
I just fixed this, so you should be able to test it with the latest
changes. But note that now it actually installs the service and attempts
to start it as a hidden service.
If you just want to test the GUI, you can checkout the branch
gui_prototype_2016-05-04 and run the setup.sh.

For the record: I wrote George on IRC back then and he was able to run
tails-server from a regular Debian after installing python3-gi.

Cheers!

sajolida:
> segfault:
>> George Kadianakis:
>>> segfault <segfault@???> writes:
>>>
>>> Hello segfault,
>>>
>>> what's the right way to test the prototype? Do we need to be on a Tails
>>> installation, or can I do it on a regular Debian box?
>>
>> I develop and test it on Tails. But I just tested it with a Debian
>> stretch and Debian jessie and it worked without problems. Do you have
>> GNOME installed? The error message says that it couldn't find the gi
>> module, which is provided by the debian package python-gi and required
>> by many GTK applications.
>>
>>> On a Debian box, I ran the setup.sh script, and then I tried to launch
>>> tails-server. It failed like this:
>>>
>>>     $ tails-server
>>>     Traceback (most recent call last):
>>>       File "/usr/bin/tails-server", line 10, in <module>
>>>         from gi.repository import Gtk
>>>     ImportError: No module named 'gi'

>>>
>>> Is this something I need to run from inside Tails?
>
> I tried to run it from Tails and failed as well.
>
> The first error I get with running `sudo ./setup.sh` is:
>
> sudo: ./setup.sh: command not found
>
> I guess because setup.sh is not executable by default.
>
> If I do:
>
> sudo bash setup.sh
>
> I get:
>
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> python3-dbus is already the newest version.
> python3-gi is already the newest version.
> python3-sh is already the newest version.
> python3-yaml is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
> install: cannot stat
> ‘/home/amnesia/Persistent/tails-server/dbus_interface.py’: No such file
> or directory
> install: cannot stat ‘/home/amnesia/Persistent/tails-server/gui/icons’:
> No such file or directory
> install: cannot stat
> ‘/home/amnesia/Persistent/tails-server/gui/tails_server.ui’: No such
> file or directory
> install: cannot stat
> ‘/home/amnesia/Persistent/tails-server/gui/service_config.ui’: No such
> file or directory
> install: cannot stat
> ‘/home/amnesia/Persistent/tails-server/gui/service_status_panel.ui’: No
> such file or directory
> install: cannot stat
> ‘/home/amnesia/Persistent/tails-server/tails_service_wrapper.py’: No
> such file or directory
> install: cannot stat
> ‘/home/amnesia/Persistent/tails-server/gui/tails_server.py’: No such
> file or directory
>
> ---
> setup.sh | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/setup.sh b/setup.sh
> index cec065a..6783e66 100644
> --- a/setup.sh
> +++ b/setup.sh
> @@ -6,6 +6,7 @@ if [[ $EUID -ne 0 ]]; then
> fi
>
> DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
> +DIR="${DIR}/tails_server"
>
> apt-get install python3-sh python3-yaml python3-gi python3-dbus
>