Results 1 to 6 of 6
Hi,
I would like to be able to ssh (or log on in any fashion) to a machine, start an application and have the window appear on a screen connected ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-16-2010 #1Just Joined!
- Join Date
- Sep 2007
- Posts
- 3
SSH, window on remote screen (not X11 forwarding)
Hi,
I would like to be able to ssh (or log on in any fashion) to a machine, start an application and have the window appear on a screen connected to the machine i logged on to. There are plenty of tutorials of how to do X11 forwarding to get the windows on the local screen, but i want the opposite of that. I have tried these options:
ssh -X (-Y) hostname
export DISPLAY='hostname:0.0'
ssh hostname
export DISPLAY='hostname:0.0'
but I always get the error: "Can't open display" And I can't see anything in the man pages that would help me.
Any suggestions?
- 03-16-2010 #2
Hello. What works for me is to use
Where program_name is the name of the application you are opening on the server.Code:DISPLAY=:0 program_name
Or you can do
To make that the default.Code:export DISPLAY=:0
- 03-16-2010 #3Just Joined!
- Join Date
- Sep 2007
- Posts
- 3
Thank you very much reed9, that works beautifully.
- 03-27-2010 #4Linux User
- Join Date
- Jan 2005
- Location
- Saint Paul, MN
- Posts
- 416
- 03-27-2010 #5Just Joined!
- Join Date
- Sep 2007
- Posts
- 3
Hi Alf,
Thanks for your reply, but did you read my post? I don't want the window to pop up on a screen connected to the computer I am ssh-ing from, but on the machine I am logging on to.
- 11-07-2010 #6Linux User
- Join Date
- Jan 2005
- Location
- Saint Paul, MN
- Posts
- 416
But that makes it very hard to interact with.


Reply With Quote

