code: public void allowX11Forwarding(String display) throws SshException {
  		String homeDir = "";
  		try {
  			homeDir = System.getProperty("user.home");
  		} catch (SecurityException e) {
  			// ignore
  		}
  		allowX11Forwarding(display, new File(homeDir, ".Xauthority"));
  	}
docs: Configure the forwarding client to manage X11 connections. This method
  will configure the {@link com.sshtools.ssh.SshClient} for X11 forwarding
  and will generate a fake cookie which will be used to spoof incoming X11
  requests. When a request is received the fake cookie will be replaced in
  the authentication packet by a real cookie which is extracted from the
  users .Xauthority file.
  
  @param display
  String
  @throws IOException