Tag Info

Hot answers tagged

2

Try setting the DISPLAY variable to the X server of the VNC session: DISPLAY=:1 java xxx


1

You will need to enable X11 forwarding, this will forward it to your own X11 server (so you need a running X11 server on the client you're SSHing from). This can be done by adding -X to your SSH command. Example: ssh -X user@server Then make sure that the $DISPLAY variable is set to the correct display. Check this with echo $DISPLAY If what you're trying ...



Only top voted, non community-wiki answers of a minimum length are eligible