[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: setting up display for remote access



Cheers - that worked great
Rich

On Thu, 29 Oct 1998 servis@purdue.edu wrote:

> *- Richard Harran. wrote about "setting up display for remote access"
> | I want to be able to use my X-display on my computer at home to be run
> | from a remote server.
> | 
> | Ie, I want to be able to telnet or rlogin to a remote system, then try
> | something like:
> | 
> |     xterm -display <my_ip_address>:<vt_number>
> | 
> | but when I have tried this, I have got the error message:
> | 
> |     can't open display <my_ip_address>:<vt_number>.
> | 
> | Do I need to change the settings on my computer, or is it something to do
> | with the other computer, or is my command wrong?
> | 
> | Also, is there a preferable value for <vt_number>, such as 0, or 7 (my
> | usual X vt)?
> 
> It is not <vt_number> it is the display number of the X server running
> and it starts counting from 0 so if you only have 1 X server running it
> would be <my_ip_address>:0.  See the man X man page and the section on
> Display Names.
> 
> You also need to give the remote machine permission to display on your
> machine with the xhost command, see the man page. Usually 
> 'xhost +<remote_ip_address>' on the <my_ip_address> machine will work.
> 
> -- 
> Brian 
> ---------------------------------------------------------------------
> "Never criticize anybody until you have walked a mile in their shoes,  
>  because by that time you will be a mile away and have their shoes." 
> 							   - unknown  
> 
> Mechanical Engineering                              servis@purdue.edu
> Purdue University                   http://www.ecn.purdue.edu/~servis
> ---------------------------------------------------------------------
> 
> 


Reply to: