LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to use local displayer as remote server's display? (https://www.linuxquestions.org/questions/linux-software-2/how-to-use-local-displayer-as-remote-servers-display-172422/)

htm 04-20-2004 05:31 AM

how to use local displayer as remote server's display?
 
Can anyone remind me the setdisplay command so that my local
server's display can serve as my remote server's display?

The reason is I have operate my mailman at my remote server while
using local display at my office.

Thx,
HTM

masand 04-20-2004 06:11 AM

hi

"DISPLAY=ip of remote machine:0"

this is to be run on server
will set ur display as that of remote machine


also a "xhost +192.168.0.20:0"

where 192.168.0.20=ip of server

run this command on the remote mach.
so that it accepts display from ur server

and running any application on the server will be directed to the remote machine

htm 04-20-2004 07:49 AM

any security holes there?

Thx,
HTM

htm 04-22-2004 03:07 AM

My network configuration is as follows:

1. I have a LAN with a server equipped with 2 cards, one uses an internet address,
another uses 192.168.0.1, set DISPLY internet_addr:0 has no prlome

2. I have a remote server out side my LAN has another internet address,
whne I ran xhost + another_ip_addr, I got following errorm why?
xhost: unable to open display "localhost:10.0"

Thx,
HTM

andrewlkho 04-22-2004 05:24 AM

Well it's trying to open a display on your remote server. You need to set the DISPLAY environment variable as described above, or use xhost.


All times are GMT -5. The time now is 09:38 PM.