Re: X-Windows Over VPN Issues

  • From: Andrew Kerber <andrew.kerber@xxxxxxxxx>
  • To: keithmooredba@xxxxxxxxx
  • Date: Wed, 8 Apr 2020 22:43:20 -0500

The most likely problem is that the vpn is blocking the port. I have seen that 
before. 

Sent from my iPad

On Apr 8, 2020, at 22:19, Keith Moore <keithmooredba@xxxxxxxxx> wrote:

I’ll second what Rich has mentioned if you are doing a sudo as part of the 
process. Here are the steps I have used (same as Rich’s, just cleaned up a 
little bit :-) )

      echo $DISPLAY
      xauth list
      sudo su - oracle
      xauth add [output from xauth list in original session]
      export DISPLAY = [value from original session]
      xclock  # test

Keith

On Apr 7, 2020, at 1:09 PM, Scott Canaan <srcdco@xxxxxxx> wrote:

With everyone working from home, a new issue has arisen.  We can’t get 
x-windows to work over VPN.  That makes it difficult to run things like dbua.
 
Our environment:
Windows 10 laptop – at home connected via Cisco VPN to work
Xming running on laptop
SecureCRT running on laptop, under Options -> session options, X11 
Forwarding turned on
 
Linux 7 server
Oracle 12, 18, and 19
 
I’ve tried setting the DISPLAY to the IP address on my laptop (from 
ipconfig) and to 127.0.0.1:0.0.
 
When I try to run dbua, it sits for a while then returns the following error:
 
Exception in thread "main" java.lang.NoClassDefFoundError: Could not 
initialize class sun.awt.X11.XToolkit
 
I’m sure someone has been able to get this to work.  If anyone can let me 
know what needs to be done, I’d really appreciate it.
 
Thank you,
 
Scott Canaan ‘88
Sr Database Administrator 
Information & Technology Services
Finance & Administration 
Rochester Institute of Technology
o: (585) 475-7886 | f: (585) 475-7520
srcdco@xxxxxxx | c: (585) 339-8659 

CONFIDENTIALITY NOTE: The information transmitted, including attachments, is 
intended only for the person(s) or entity to which it is addressed and may 
contain confidential and/or privileged material. Any review, retransmission, 
dissemination or other use of, or taking of any action in reliance upon this 
information by persons or entities other than the intended recipient is 
prohibited. If you received this in error, please contact the sender and 
destroy any copies of this information.

Other related posts: