Bitcoin Forum
May 30, 2024, 03:07:04 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: armory - QGtkStyle could not resolve GTK  (Read 69 times)
harlequininja (OP)
Jr. Member
*
Offline Offline

Activity: 46
Merit: 13


View Profile
February 21, 2022, 05:32:20 PM
 #1

Hey guys,

I'm trying to setup Armory on my freshly installed Debian. I installed bitcoincore and everything is running fine.
But I can't get Armory running.

If I try to run armory via terminal as sudo I get this message

Quote
No protocol specified
ArmoryQt.py: cannot connect to X server :0

If I try to run armory via terminal as normal user I get this message

Quote
QGtkStyle could not resolve GTK. Make sure you have installed the proper libraries.

If I click on the Desktop-Icon nothing happens.

I checked all the dependencies and installed all the libraries as described in this post https://bitcointalk.org/index.php?topic=5209374.0

Any ideas what could be the problem?

Cheers!
BitMaxz
Legendary
*
Offline Offline

Activity: 3276
Merit: 2979


BTC price road to $80k


View Profile WWW
February 21, 2022, 11:13:34 PM
Merited by harlequininja (1)
 #2

I search a bit and according to this you need to allow the root user access to X server and point to the right display.

use this commands

Code:
xhost local:root

And then this

Code:
sudo DISPLAY=$DISPLAY gedit /etc/profile

If not, try to repeat the installation try to follow the guide from their Github here https://github.com/goatpig/BitcoinArmory/blob/master/linuxbuild/Linux_build_notes.md
Just take note of the version on the commands so replace it with the latest firmware version.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1347

Armory Developer


View Profile
February 24, 2022, 09:49:36 AM
 #3

1. What version of Debian?

2. Do *NOT* run Armory with root privileges. You should not run it with sudo. Just dont.

3. What version of python is installed on your system?

harlequininja (OP)
Jr. Member
*
Offline Offline

Activity: 46
Merit: 13


View Profile
February 24, 2022, 07:17:20 PM
 #4

If not, try to repeat the installation try to follow the guide from their Github here https://github.com/goatpig/BitcoinArmory/blob/master/linuxbuild/Linux_build_notes.md
Just take note of the version on the commands so replace it with the latest firmware version.

Thank you very much BitMaxz! Did reinstall armory according to the description on github. Now everything is running smoothly and I don't have to run armory as root. Thank you Goatpig for the advice! I have Debian Buster 10.11 installed.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!