On Dec 13, 2014, at 8:51 PM, Hugo Villeneuve wrote:

> On Sat, Dec 13, 2014 at 07:12:07PM -0600, Edgar Pettijohn wrote:
>> I can't seem to figure out how to startx over ssh.  I seem to be
>> getting closer, but not sure where the problem lays.  I'm connecting
>> to an OpenBSD 5.6 box from an iMac.  It really isn't necessary but
>> Its bugging me that I can't figure it out.
>> 
>> $ ssh -X 192.168.1.5 -l root
>> root@192.168.1.5's password: 
>> Last login: Sat Dec 13 18:17:13 2014 from 192.168.1.4
>> OpenBSD 5.6 (GENERIC) #0: Fri Dec 12 22:23:14 CST 2014
>> 
> 
> I'm not sure what you want to acheive.
> 
> "startx" without arguments should only be run from the server console
> directly. That is, startx run X which takes over the server video
> card, keyboard and mouse. I will do nothing on the computer you
> "ssh" from.
> 
> When I want a "full" X session from a remote server to be displayed
> locally. I use "Xnest", a special X server that is just a client
> to another one.
> 
> If you have XQuartz on your Mac, run something like:
> 
> ssh -X hostname -l user "/usr/X11R6/bin/startx -- /usr/X11R6/bin/Xnest :5 
> -once -geometry 1600x900"
> 
> (Maybe I completly misunderstood what you meant.)
> 
> 

You sir are a genius.

Reply via email to