Sys-whonix control panel won't display

My sys-whonix control panel often does not display. I can see it at first but then once I close it and try to open it again it will not open.

I think sys-whonix was hacked or keeps getting hacked.

How do I download the entire whonix package (sys-whonix, template whonix-gw template whonix-ws) without deleting what I have?

Do I just rename everything and follow the standard method to download whonix template? Why is window showing tor control panel not showing? Have I been hacked?

Try to run contol panel from sys-whonix terminal and see if it’ll give you any errors:

sudo --set-home tor-control-panel 

When I do this it shows an error and says it is already displayed, although nothing is displayed.

Can you post the debug output here to see what exactly does it say?

Type: “whonix” for help.
user@host:~$ sudo --set-home tor-control-panel
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to ‘/tmp/runtime-root’

  • set -e
  • true ‘/usr/libexec/helper-scripts/repair-torrc: START’
  • test -f /usr/share/anon-gw-base-files/gateway
  • true ‘INFO: Whonix detected, ok.’
  • torrcd_path=/etc/torrc.d/95_whonix.conf
  • torrc_file_path=/usr/local/etc/torrc.d/40_tor_control_panel.conf
  • torrc_user_file_path=/usr/local/etc/torrc.d/50_user.conf
  • for folder_name in /etc/tor /etc/torrc.d /usr/local/etc/torrc.d
  • test -d /etc/tor
  • true ‘INFO: folder /etc/tor already exists, ok.’
  • for folder_name in /etc/tor /etc/torrc.d /usr/local/etc/torrc.d
  • test -d /etc/torrc.d
  • true ‘INFO: folder /etc/torrc.d already exists, ok.’
  • for folder_name in /etc/tor /etc/torrc.d /usr/local/etc/torrc.d
  • test -d /usr/local/etc/torrc.d
  • true ‘INFO: folder /usr/local/etc/torrc.d already exists, ok.’
  • test -f /etc/tor/torrc
  • true ‘INFO: file /etc/tor/torrc already exists, ok.’
  • grep -q ‘%include /etc/torrc.d/*.conf$’ /etc/tor/torrc
  • true ‘INFO: already includes - %include /etc/torrc.d/*.conf - ok.’
  • grep -q ‘%include /etc/torrc.d/$’ /etc/tor/torrc
  • test -f /etc/torrc.d/95_whonix.conf
  • true ‘INFO: file /etc/torrc.d/95_whonix.conf already exists, ok.’
  • test -f /usr/local/etc/torrc.d/40_tor_control_panel.conf
  • true ‘INFO: file /usr/local/etc/torrc.d/40_tor_control_panel.conf already exists, ok.’
  • test -f /usr/local/etc/torrc.d/50_user.conf
  • true ‘INFO: file /usr/local/etc/torrc.d/50_user.conf already exits, ok.’
  • true ‘/usr/libexec/helper-scripts/repair-torrc: END’
    QLayout: Attempting to add QLayout “” to QFrame “”, which already has a layout
    Traceback (most recent call last):
    File “/usr/lib/python3/dist-packages/tor_control_panel/tor_control_panel.py”, line 641, in refresh_logs
    line = re.sub(line[12:19], ‘…’, line)
    File “/usr/lib/python3.9/re.py”, line 210, in sub
    return _compile(pattern, flags).sub(repl, string, count)
    File “/usr/lib/python3.9/re.py”, line 304, in _compile
    p = sre_compile.compile(pattern, flags)
    File “/usr/lib/python3.9/sre_compile.py”, line 764, in compile
    p = sre_parse.parse(p, flags)
    File “/usr/lib/python3.9/sre_parse.py”, line 948, in parse
    p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
    File “/usr/lib/python3.9/sre_parse.py”, line 443, in _parse_sub
    itemsappend(_parse(source, state, verbose, nested + 1,
    File “/usr/lib/python3.9/sre_parse.py”, line 834, in _parse
    p = _parse_sub(source, state, sub_verbose, nested + 1)
    File “/usr/lib/python3.9/sre_parse.py”, line 443, in _parse_sub
    itemsappend(_parse(source, state, verbose, nested + 1,
    File “/usr/lib/python3.9/sre_parse.py”, line 668, in _parse
    raise source.error(“nothing to repeat”,
    re.error: nothing to repeat at position 1
    Aborted

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to ‘/tmp/runtime-root’
and
QLayout: Attempting to add QLayout “” to QFrame “”, which already has a layout
Are normal messages, I have them as well.
The problem is in traceback but I can’t tell what’s happening there.
I suggest you to report this issue on Whonix forum:
http://forums.dds6qkxpwdeubwucdiaord2xgbbeyds25rbsgr73tbfpqpt4a6vjwsyd.onion