Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #203166 > unrolled thread

sending display to other monitor

Started bymick crane <mick.crane@gmail.com>
First post2018-12-08 14:40 +0100
Last post2018-12-08 20:20 +0100
Articles 4 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  sending display to other monitor mick crane <mick.crane@gmail.com> - 2018-12-08 14:40 +0100
    Re: sending display to other monitor Roberto C. Sánchez <roberto@debian.org> - 2018-12-08 16:10 +0100
    Re: sending display to other monitor Jason <electron@emypeople.net> - 2018-12-08 17:30 +0100
      Re: sending display to other monitor mick crane <mick.crane@gmail.com> - 2018-12-08 20:20 +0100

#203166 — sending display to other monitor

Frommick crane <mick.crane@gmail.com>
Date2018-12-08 14:40 +0100
Subjectsending display to other monitor
Message-ID<x2KZP-16E-7@gated-at.bofh.it>
I can ssh into a debian PC from windows PC with putty and start a 
program to be displayed on monitor plugged into windows PC with Xming. 
Is possible ssh to debian PC and start program displayed on monitor 
plugged into debian PC ?

mick

-- 
Key ID    4BFEBB31

[toc] | [next] | [standalone]


#203168

FromRoberto C. Sánchez <roberto@debian.org>
Date2018-12-08 16:10 +0100
Message-ID<x2MoW-24C-9@gated-at.bofh.it>
In reply to#203166
On Sat, Dec 08, 2018 at 01:38:21PM +0000, mick crane wrote:
> I can ssh into a debian PC from windows PC with putty and start a program to
> be displayed on monitor plugged into windows PC with Xming. Is possible ssh
> to debian PC and start program displayed on monitor plugged into debian PC ?
> 
Yes.

You have to use xming in Windows because Windows does not natively
support the X11 protocol.  However, any graphical environment you use on
Debian will natively support the X11 protocol.  So, all you need to do
is use a command like 'ssh -X ...' or 'ssh -Y ...'.  In most cases the
-X option is what you need, but -Y may be needed depending on the
server-side security settings.

Regards,

-Roberto

-- 
Roberto C. Sánchez

[toc] | [prev] | [next] | [standalone]


#203171

FromJason <electron@emypeople.net>
Date2018-12-08 17:30 +0100
Message-ID<x2NEm-2Kw-5@gated-at.bofh.it>
In reply to#203166
On Sat, Dec 08, 2018 at 01:38:21PM +0000, mick crane wrote:
> I can ssh into a debian PC from windows PC with putty and start a program to
> be displayed on monitor plugged into windows PC with Xming. Is possible ssh
> to debian PC and start program displayed on monitor plugged into debian PC ?

I think this might do what you want: Before starting the program you 
want to display on the target device, run

DISPLAY=:0.0

Then run the program. It should display on the machine you ssh'ed into 
if I'm not mistaken.

-- 
Jason

[toc] | [prev] | [next] | [standalone]


#203178

Frommick crane <mick.crane@gmail.com>
Date2018-12-08 20:20 +0100
Message-ID<x2QiR-4pQ-5@gated-at.bofh.it>
In reply to#203171
On 2018-12-08 16:10, Jason wrote:
> On Sat, Dec 08, 2018 at 01:38:21PM +0000, mick crane wrote:
>> I can ssh into a debian PC from windows PC with putty and start a 
>> program to
>> be displayed on monitor plugged into windows PC with Xming. Is 
>> possible ssh
>> to debian PC and start program displayed on monitor plugged into 
>> debian PC ?
> 
> I think this might do what you want: Before starting the program you
> want to display on the target device, run
> 
> DISPLAY=:0.0
> 
> Then run the program. It should display on the machine you ssh'ed into
> if I'm not mistaken.

works
cheers
-- 
Key ID    4BFEBB31

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web