remote x-window

Frank Staals frankstaals at gmx.net
Fri Feb 3 08:04:07 PST 2006


Michael Fleming wrote:

>On Thu, Feb 02, 2006 at 09:48:56PM -0900, Beech Rintoul wrote:
>  
>
>>I have sort of a newbie question. How do I connect to a remote machine with 
>>x-windows and get a desktop? Could someone point me in the right direction as 
>>I've never had a need to to do it before. I do have ssh to the machine.
>>
>>Beech
>>-- 
>>
>>    
>>
>You'll have to export $DISPLAY=x.x.x.x:0.0 so that the display on the
>remote machine is displayed on the local. You'll also have to forward
>X11 packets, check your ssh_conf so that "forward X11 yes".
>I use cygwin on my work laptop ( XP ) and a openvpn connection to my BSD
>machine then fire up the display on the XP machine.
>I did use just ssh and allowed only ssh from the outside to the BSD
>machine, but found that someone was trying to brute force the username
>and password so set up the openvpn. I feel a lot more comfortable with
>that, even though it's just my own private network.
>There's plenty of info on google to point you in the right direction.
>  
>
I also noticed a lot of brute force username and password attempts, an 
easier solution is to just change the default SSH-port ( 
/etc/ssh/sshd_conf ) as I did

>Mike
>  
>
>>
>>    
>>
>
>
>
>  
>


-- 
-Frank Staals




More information about the freebsd-questions mailing list