as long as you have an X server running somewhere (the server is what is
attached to the display), you can run programs (clients) anywhere, local or
remote. so yes, a headless server can run X programs that display elsewhere.

see the faq, section 11.

On Sun, 14 Dec 2014 10:55:16 +0100 Paolo Aglialoro <[email protected]> wrote:
> Does this also work when u do it from OpenBSD to a headless (just no video
> card) OpenBSD server? Can I run X stuff on that remote box too?
> 
> Il 14/dic/2014 05:46 "Edgar Pettijohn" <[email protected]> ha scritto:
> >
> > 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
> > >> [email protected]'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