Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Linux by (18.4k points)
edited by

I use Xming for running Xserver on the windows machine and that works just fine.

export DISPLAY=<windows_host_IPAddr>:0.0

But I want to export the display onto another Linux host.

export DISPLAY=<linux_host_IPAddr>:0.0

I am running the OpenSUSE and I think Xorg should do the job. 

If there is any Xming equivalent packages for Linux, please let me know. Thanks in advance.

1 Answer

0 votes
by (36.8k points)
edited by

You need to enable the remote X sessions on your SuSe box. So, login at your desktop, open the shell, and type:

xhost +<IP_address_of_server>

Where your IP_address_of_server is the address of your machine where you are starting the actual program (so you allow incoming X connections).

However, this is so secure, so the best option may be to use SSH and X-forwarding. Then, on the SuSe box, you should open a terminal and type in the following:

ssh -X <account>@<IP_address_of_server>

Then, in an ssh session start the X program without any DISPLAY options, and your output should appear on the local desktop.

In case you have trouble with your -X option, you may try your -Y one, but see the manual page of ssh for details.

Want to be a Linux expert? Come and join this Linux course

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Dec 12, 2020 in Linux by blackindya (18.4k points)
0 votes
1 answer
0 votes
1 answer

Browse Categories

...