Discussion:
X11 forwarding and ssh
Michael Alaimo
2003-07-24 13:59:24 UTC
Permalink
If I would like to install an OpenBSD server and then remotely connect from
another computer, whatever the operating system is with ssh. Is it possible
to bring up and X11 program even if X is not running on the BSD server?

I have tried to turn on X11 forwarding on my server, and turned on X11
forwarding in my putty ssh client running in windows, and was
unsucsessfull.. I am unsure of the error message as I do not have access to
my computers right now.

Just wondering if anyone has gotten it to work, and what client programs
they use.

Thanks

Mike

_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail
Anthony Schlemmer
2003-07-24 14:41:07 UTC
Permalink
I assume you have a XServer installed on the Windows client you're
running PuTTY on? If not you need an XServer running on your client box
for that to work. I use the XFree86 X server that's part of the Cygwin
tools from RedHat on my Win2K laptop. It's not real pretty as I just
have the default setup with "twm" but it does works well enough for me
to run X applications remotely through SSH.

http://www.cygwin.com/

There's also a commercial product for Windows called Exceed that has an
XServer as well. Haven't used it in a while box it works pretty well
and integrated nicely into the Windows desktop when I last used it.

I've gotten this to work with both the PuTTY client and with the
command-line ssh client that is part of the Cygwin tools.

Tony
Post by Michael Alaimo
If I would like to install an OpenBSD server and then remotely
connect from another computer, whatever the operating system is with
ssh. Is it possible to bring up and X11 program even if X is not
running on the BSD server?
I have tried to turn on X11 forwarding on my server, and turned on
X11 forwarding in my putty ssh client running in windows, and was
unsucsessfull.. I am unsure of the error message as I do not have
access to my computers right now.
Just wondering if anyone has gotten it to work, and what client
programs they use.
Thanks
Mike
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail
--
Anthony Schlemmer
***@comcast.net
Matthew Clarke
2003-07-24 21:40:42 UTC
Permalink
Post by Michael Alaimo
If I would like to install an OpenBSD server and then remotely connect from
another computer, whatever the operating system is with ssh. Is it
possible to bring up and X11 program even if X is not running on the BSD
server?
I have tried to turn on X11 forwarding on my server, and turned on X11
forwarding in my putty ssh client running in windows, and was
unsucsessfull.. I am unsure of the error message as I do not have access to
my computers right now.
Just wondering if anyone has gotten it to work, and what client programs
they use.
In X terminology, the X server runs on the system that has the screen,
keyboard, and mouse attached, and X clients can run on that system or on
other systems.

So, if you're doing SSH via PuTTY from a Microsoft Windows client to an
OpenBSD server, you need an X server running on the MS-Windows system, and
X clients on the OpenBSD system.

I use X-Win32, a commercial X server for MS-Windows, with PuTTY's X
forwarding, and it works quite well.

Matt.
--
For a successful technology, reality must take precedence over public
relations, for nature cannot be fooled.
-- Richard P. Feynman
Stepping Razor
2003-07-25 05:34:11 UTC
Permalink
From my 'XP laptop, I run from cygwin:
xinit.exe /usr/bin/ssh -X ***@192.168.1.69 \
/home/after/.xinitrc -- /usr/X11R6/bin/XWin.exe :0
to start blackbox on my freebsd box.
btw,
reddaemon@/home/after% cat .xinitrc
exec blackbox

Good luck,
RZR
Post by Michael Alaimo
If I would like to install an OpenBSD server and then remotely connect
from another computer, whatever the operating system is with ssh. Is it
possible to bring up and X11 program even if X is not running on the BSD
server?
I have tried to turn on X11 forwarding on my server, and turned on X11
forwarding in my putty ssh client running in windows, and was
unsucsessfull.. I am unsure of the error message as I do not have access
to my computers right now.
Just wondering if anyone has gotten it to work, and what client programs
they use.
Thanks
Mike
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail
Michael Alaimo
2003-07-25 13:13:36 UTC
Permalink
Thanks to all for the answers you have given me in the past couple of days
:)!

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail

Loading...