Open zolopp opened 3 years ago
does ZENITY
work fine ???
Execute the follow cmdline on your terminal console
MyName=$(zenity --title="☠ Enter your name ☠" --text "example: ssa" --entry --width 300) > /dev/null 2>&1
echo "my name is: $MyName"
It sould respond: my name is: (the name your have input)
does
ZENITY
work fine ???Execute the follow cmdline on your terminal console
MyName=$(zenity --title="☠ Enter your name ☠" --text "example: ssa" --entry --width 300) > /dev/null 2>&1 echo "my name is: $MyName"
It sould respond:
my name is: (the name your have input)
thank u for reply maybe the zenity not working ! i will check how to fixed it
Execute this command and check if zenity works now
xhost +
If the 1º command dosent work try this one:
replace <USERNAME> by system username
[root@localhost ~]# touch .Xauthority
[root@localhost ~]# xauth merge /<USERNAME>/.Xauthority
[root@localhost ~]# export DISPLAY=0:0
If the 2º command dosent work try this one:
Where $USER is the name of the user you want to run as.
su $USER -c 'xhost local:$USER; zenity --question --text "Continue or cancel?" '
Im using kali linux threw a virtual machine on windows, and im having the same problem installing the package "{ ### (zenity:7105): Gtk-WARNING **: 03:31:57.852: cannot open display: 0:0 }", I'm very new to using linux so if i can or cant fix this problem could you explain the reasons, so i can learn a little bit more about my situation.
I am also experiencing this problem and still can't fix it according to the mentioned solution above. So what should I do?
the zenity has install already,but still have this issue! need help !