Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[x] Script execution aborted .. {zenity} #112

Open
zolopp opened this issue Jul 27, 2021 · 5 comments
Open

[x] Script execution aborted .. {zenity} #112

zolopp opened this issue Jul 27, 2021 · 5 comments

Comments

@zolopp
Copy link

zolopp commented Jul 27, 2021

11
the zenity has install already,but still have this issue!
need help !

@r00t-3xp10it
Copy link
Owner

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)

@zolopp
Copy link
Author

zolopp commented Jul 30, 2021

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
11

@r00t-3xp10it
Copy link
Owner

r00t-3xp10it commented Jul 30, 2021

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?" '

@r00t-3xp10it r00t-3xp10it changed the title [x] Script execution aborted .. [x] Script execution aborted .. {zenity} Jul 31, 2021
@GrxmR3ap3r
Copy link

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.

@cycxyit
Copy link

cycxyit commented Aug 26, 2023

I am also experiencing this problem and still can't fix it according to the mentioned solution above. So what should I do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants