You are not logged in.
I have a quite complex question to ask. The problem is with the system admin who has some special preferences...
The problem:
I want to run remote X applications but forward it to my computer. The tradition X forward over ssh is disabled by him, he only allows using the export DISPLAY=some_ip_addr:0 to forward X applications. However, my PC does not have a static address.
SERVER: where I want to have my X applications to run
PC: my *LOCAL* PC where I want the GUI on
SSH_SERVER: a ssh server which has a static IP address
I have enabled the X server to listen to TCP on my PC. I wanna using ssh -R 6000:localhost:6000 user@SSH_SERVER and using export DISPLAY=SSH_SERVER:0. However, I failed on this way.
Do you hae any suggestiongs that I can overcome this problem? Or anythin I did not make myself clear, please post here as well.
Many thanks!
My GitHub: kuantkid.github.com
Offline
Chance are that the remote port 6000 are already taken by a local Xserver. Try the following:
ssh -R 6018:127.0.0.1:6000 user@SSH_SERVERand use
export DISPLAY=127.0.0.1:18If it does not work try to type xhost + on your machine to enable any one to connect (warning just use that for testing purpose, if it is the problem use something more elaborate as xhost +YOUR_SERVER).
Offline