scap-workbench: cannot open display: :0 Permission denied

Solution In Progress - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content