cannot export DISPLAY
Hello - I am trying to export DISPLAY (using below cmd) to my local computer (windows) from Linux server (RHEL 6.9). When I did it first time, I used different ip address (for my local machine, had typo) and was able to see pop up for wizard where I had control to perform different task).
export DISPLAY=localhostip:0.0 After that, it not working at all with correct ip address (for my local machine) or with one that I used it before. I tried to reboot my local machine (not linux server) but still same issue, not able to open display. I checked /etc/ssh/sshd_config -> where X11FORWARDING is enabled with yes option. Any workaround? |
What ssh client are you using to connect to the server?
What x server are you running on Windows? |
I am using MobaXterm.
I am not sure if any 'x server' is there on my machine by default but I didn't installed any. It was working fine before and then it stopped. I believe cause is, I used incorrect ip first time which is still in system (linux) somewhere not letting correct ip address picking up or so - but again its my understanding so far...not 100% sure. |
MobaXterm includes an x server and your DISPLAY variable should be automatically set. Have you looked at the log files on the server?
https://mobaxterm.mobatek.net/documentation.html#1_4 |
thanks Michaelk. I don't know much about MobaXterm setup but I believe something wrong on specific server itself. something (may be any temporary file) needs to go away so everything can start from scratch I think, but don't know what is that :(
|
Have you tried not exporting DISPLAY to see what happens?
|
yes, I did. then it is saying DISPLAY environment variable has not been assigned, Thank you.
|
All times are GMT -5. The time now is 06:31 PM. |