scap-workbench: cannot open display: :0 Permission denied
Issue
Scap workbench thows below error while connecting to remote server:
Can't connect to remote machine! Exception was: There was a problem with SshConnection! Failed to create SSH master socket! Diagnostic info: Starting process '/usr/bin/setsid --wait /usr/bin/ssh -M -f -N -o ServerAliveInterval=60 -o ControlPath=/tmp/scap-workbench-rpfuoE/ssh_socket -p 22 root@x.x.x.x' Starting process '/usr/bin/setsid --wait /usr/bin/ssh -M -f -N -o ServerAliveInterval=60 -o ControlPath=/tmp/scap-workbench-rpfuoE/ssh_socket -p 22 root@x.x.x.x' stdout: =============================== stderr: =============================== Authorized uses only. All activity may be monitored and reported. (gnome-ssh-askpass:11250): Gtk-WARNING **: 15:17:32.094: cannot open display: :0 Permission denied, please try again. (gnome-ssh-askpass:11251): Gtk-WARNING **: 15:17:32.113: cannot open display: :0 Permission denied, please try again. (gnome-ssh-askpass:11252): Gtk-WARNING **: 15:17:32.131: cannot open display: :0 root@x.x.x.x: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
Environment
- Red Hat Enterprise Linux
- openscap
- scap workbench
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.