Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

"Pushing" PC display to Pi running raspbmc

9,464 views
Skip to first unread message

deKay

unread,
Apr 30, 2013, 10:45:50 AM4/30/13
to
I have a PC (and/or a Mac) and I want to mirror my display on a Pi running
raspbmc elsewhere on my network.

PC running Windows 7, Mac running OS X Lion.

Any idea how to achieve this? Something like video capturing the whole
screen and pushing the stream to xbmc like I would any other video file?

deKay
--
Lofi Gaming - http://lofi-gaming.org.uk
Gaming Diary - http://lofi-gaming.org.uk/diary
Blog - http://lofi-gaming.org.uk/blog
My computer runs at 3.5MHz and I'm proud of that

Sven Geggus

unread,
Apr 30, 2013, 12:40:23 PM4/30/13
to
deKay <an...@lofi-gaming.org.uk.invalid> wrote:

> Any idea how to achieve this?

VNC tends to be slow but can do this. RDP (the Linux client is called
rdesktop) might also be an option.

Sven

--
"Der wichtigste Aspekt, den Sie vor der Entscheidung für ein Open
Source-Betriebssystem bedenken sollten, ist, dass Sie kein
Windows-Betriebssystem erhalten." (von http://www.dell.de/ubuntu)
/me is giggls@ircnet, http://sven.gegg.us/ on the Web

Another Dave

unread,
Apr 30, 2013, 2:07:57 PM4/30/13
to
On 30/04/2013 15:45, deKay wrote:
> I have a PC (and/or a Mac) and I want to mirror my display on a Pi
> running raspbmc elsewhere on my network.
>
> PC running Windows 7, Mac running OS X Lion.
>
> Any idea how to achieve this? Something like video capturing the whole
> screen and pushing the stream to xbmc like I would any other video file?

I'm not sure I understand your problem. What's wrong with using TightVNC?

http://tightvnc.com/

It's normal to use this to send the display from a Pi to another
computer so you can control the Pi remotely but I can't see any reason
why it wouldn't work the other way round.

Another Dave

Message has been deleted

deKay

unread,
May 1, 2013, 3:31:32 AM5/1/13
to
On Tue, 30 Apr 2013, Sven Geggus wrote:

> deKay <an...@lofi-gaming.org.uk.invalid> wrote:
>
>> Any idea how to achieve this?
>
> VNC tends to be slow but can do this. RDP (the Linux client is called
> rdesktop) might also be an option.

I've been told VNC is no good because raspbmc doesn't have X11...

deKay

unread,
May 1, 2013, 3:33:40 AM5/1/13
to
Again - no X11. And I'm not sure how I'd tell the Pi to accept the "push",
which needs to be initiated from the PC/Mac with no Pi interaction.

deKay

unread,
May 1, 2013, 3:36:41 AM5/1/13
to
On Tue, 30 Apr 2013, Dennis Lee Bieber wrote:

> On Tue, 30 Apr 2013 19:07:57 +0100, Another Dave <dmar...@nospam.com>
> declaimed the following in comp.sys.raspberry-pi:
>
>> It's normal to use this to send the display from a Pi to another
>> computer so you can control the Pi remotely but I can't see any reason
>> why it wouldn't work the other way round.
>>
> The problem would be that Windows doesn't come with a native
> X-window protocol to send its display to another machine. One has to
> basically reproduce the Windows "remote access" feature.

Or, capture the desktop as a video stream and push that to the Pi. But
I've no idea how to do that.

Another Dave

unread,
May 1, 2013, 4:22:30 AM5/1/13
to
On 01/05/2013 00:32, Dennis Lee Bieber wrote:

> The problem would be that Windows doesn't come with a native
> X-window protocol to send its display to another machine. One has to
> basically reproduce the Windows "remote access" feature.
>

The tightvnc website advertises both a Windows version and a Java
viewer. I'm not familiar with Apple stuff so I don't know if this is
relevant.

There's also "tightvnc projector" although since it costs $29 I don't
know anything about that either :)

Another Dave

Another Dave

unread,
May 1, 2013, 4:28:03 AM5/1/13
to
On 01/05/2013 08:31, deKay wrote:
>
> I've been told VNC is no good because raspbmc doesn't have X11...
>

This might be of interest:

http://elinux.org/RPi_Remote_Access

Another Dave


deKay

unread,
May 1, 2013, 4:35:47 AM5/1/13
to
That does the opposite of what I'm after :)

Alan Adams

unread,
May 1, 2013, 5:51:14 AM5/1/13
to
In message <alpine.OSX.2.00.1...@imac.dekay.sytes.net>
deKay <an...@lofi-gaming.org.uk.invalid> wrote:

> On Tue, 30 Apr 2013, Another Dave wrote:

>> On 30/04/2013 15:45, deKay wrote:
>>> I have a PC (and/or a Mac) and I want to mirror my display on a Pi
>>> running raspbmc elsewhere on my network.
>>>
>>> PC running Windows 7, Mac running OS X Lion.
>>>
>>> Any idea how to achieve this? Something like video capturing the whole
>>> screen and pushing the stream to xbmc like I would any other video file?
>>
>> I'm not sure I understand your problem. What's wrong with using TightVNC?
>>
>> http://tightvnc.com/
>>
>> It's normal to use this to send the display from a Pi to another computer so
>> you can control the Pi remotely but I can't see any reason why it wouldn't
>> work the other way round.

> Again - no X11. And I'm not sure how I'd tell the Pi to accept the "push",
> which needs to be initiated from the PC/Mac with no Pi interaction.

> deKay

You could run RISC OS on the pi, which does have a vnc server, and set
the server to run at startup.


--
Alan Adams, from Northamptonshire
al...@adamshome.org.uk
http://www.nckc.org.uk/

The Natural Philosopher

unread,
May 1, 2013, 6:48:49 AM5/1/13
to
On 01/05/13 09:35, deKay wrote:
> On Wed, 1 May 2013, Another Dave wrote:
>
>> On 01/05/2013 08:31, deKay wrote:
>>>
>>> I've been told VNC is no good because raspbmc doesn't have X11...
>>>
>>
>> This might be of interest:
>>
>> http://elinux.org/RPi_Remote_Access
>
> That does the opposite of what I'm after :)
>
> deKay
oh, you want to capture a PC screen keyboards and use the PI to control it?


two thoughts.

1/. Put windows in a VMware virtual machine and use a web browser

2/. IIRC there are remote video/keyboard hardware solutions designed to
remote boot dead windows servers etc. and the like. They sold rather
well :-)

E.g. http://www.kvmswitchdirect.co.uk/PDFs/Datasheets/ip8000_specsheet.pdf

Thats the cheapest way - a PCI hard that 'intercepts' the screen and
keyboards and has what looks like a sperate ethernet port to not
interfere with the main IP address on the PC. And the remote machine
needs a browser and if I read the sheet right, java.

I wonder if it allows ctrl-alt-del as well. :-)

--
Ineptocracy

(in-ep-toc’-ra-cy) – a system of government where the least capable to lead are elected by the least capable of producing, and where the members of society least likely to sustain themselves or succeed, are rewarded with goods and services paid for by the confiscated wealth of a diminishing number of producers.

deKay

unread,
May 1, 2013, 7:20:16 AM5/1/13
to
On Wed, 1 May 2013, Alan Adams wrote:

> You could run RISC OS on the pi, which does have a vnc server, and set
> the server to run at startup.

Yes, but

1) I need to be running xbmc, not RISC OS, and
2) I don't want to see the Pi's display on my PC, I want to see my PC's
display on my Pi.

deKay

unread,
May 1, 2013, 7:21:27 AM5/1/13
to
On Wed, 1 May 2013, The Natural Philosopher wrote:

> oh, you want to capture a PC screen keyboards and use the PI to control it?

No - just the screen, and I don't want the Pi to control it - just display
it.

> two thoughts.
>
> 1/. Put windows in a VMware virtual machine and use a web browser
>
> 2/. IIRC there are remote video/keyboard hardware solutions designed to
> remote boot dead windows servers etc. and the like. They sold rather well :-)
>
> E.g. http://www.kvmswitchdirect.co.uk/PDFs/Datasheets/ip8000_specsheet.pdf
>
> Thats the cheapest way - a PCI hard that 'intercepts' the screen and
> keyboards and has what looks like a sperate ethernet port to not interfere
> with the main IP address on the PC. And the remote machine needs a browser
> and if I read the sheet right, java.

So not xbmc then. Sigh.

Stanley Daniel de Liver

unread,
May 1, 2013, 8:00:56 AM5/1/13
to
On Wed, 01 May 2013 12:20:16 +0100, deKay
<an...@lofi-gaming.org.uk.invalid> wrote:

> On Wed, 1 May 2013, Alan Adams wrote:
>
>> You could run RISC OS on the pi, which does have a vnc server, and set
>> the server to run at startup.
>
> Yes, but
>
> 1) I need to be running xbmc, not RISC OS, and
> 2) I don't want to see the Pi's display on my PC, I want to see my PC's
> display on my Pi.
>
> deKay


rdesktop

--
It's a money /life balance.

deKay

unread,
May 1, 2013, 8:12:13 AM5/1/13
to
Which, again, needs X11. Which, again, raspbmc doesn't have. And then I'd
still have the problem of initiating it from the PC/Mac.

I appreciate the replies to the question but it seems everyone has been
reading a different question or missing the answers already given...

Guesser

unread,
May 1, 2013, 8:48:21 AM5/1/13
to
On 01/05/2013 13:12, deKay wrote:
> Which, again, needs X11. Which, again, raspbmc doesn't have. And then
> I'd still have the problem of initiating it from the PC/Mac.
>
> I appreciate the replies to the question but it seems everyone has been
> reading a different question or missing the answers already given...
>
> deKay

It sounds to me as though you want a vnc viewer which uses the
framebuffer rather than being built on top of X right?

Would directvnc fit the bill?

As for starting it remotely there's something called "listening mode"
that some VNC clients have where the connection is initiated from the
server end. That's not a facility that directvnc has alas, but you could
probably implement similar functionality by having inetd run the
appropriate command to connect to the server when it is prodded by the PC.

The Nomad

unread,
May 1, 2013, 8:51:20 AM5/1/13
to
On Wed, 01 May 2013 13:12:13 +0100, deKay wrote:

> On Wed, 1 May 2013, Stanley Daniel de Liver wrote:
>
>> On Wed, 01 May 2013 12:20:16 +0100, deKay
>> <an...@lofi-gaming.org.uk.invalid>
>> wrote:
>>
>>> On Wed, 1 May 2013, Alan Adams wrote:
>>>
>>>> You could run RISC OS on the pi, which does have a vnc server, and
>>>> set the server to run at startup.
>>>
>>> Yes, but
>>>
>>> 1) I need to be running xbmc, not RISC OS, and 2) I don't want to see
>>> the Pi's display on my PC, I want to see my PC's display on my Pi.
>>>
>>> deKay
>>
>>
>> rdesktop
>
> Which, again, needs X11. Which, again, raspbmc doesn't have. And then
> I'd still have the problem of initiating it from the PC/Mac.
>
> I appreciate the replies to the question but it seems everyone has been
> reading a different question or missing the answers already given...
>
> deKay

Maybe I've missed something but ...

VNC server on the PC (or rdesktop or what ever - don't do much with
windoze) and a VNC viewer on the RPi again don't know what XBMC comes
with but if it is linux based (I think it is) then you can install a vnc
viewer I'm sure, that way you get to see the PC screen and (if you want/
need) control i as well.

But as I say I may have missed something from this

Avpx



--
Verence would rather cut his own leg off than put a witch in
prison, since it'd save trouble in the long run and probably
be less painful.
(Lords and Ladies)
13:45:01 up 1 day, 19:25, 6 users, load average: 1.47, 1.54, 1.54

Another Dave

unread,
May 1, 2013, 10:25:16 AM5/1/13
to
On 01/05/2013 13:12, deKay wrote:

> I appreciate the replies to the question but it seems everyone has been
> reading a different question or missing the answers already given...
>

I think what's confusing everybody (it certainly confused me) is that
your original post read as though you were proposing sending video to
XBMC as a possible solution to your problem. You didn't say XBMC was a
REQUIREMENT. Raspbmc is, as I'm sure you're aware, just a cut-down
Debian with XBMC pre-loaded

Another Dave


yello...@gmail.com

unread,
May 1, 2013, 11:23:50 AM5/1/13
to
On Tuesday, April 30, 2013 3:45:50 PM UTC+1, deKay wrote:
> I have a PC (and/or a Mac) and I want to mirror my display on a Pi running
>
> raspbmc elsewhere on my network.
>
>
>
> PC running Windows 7, Mac running OS X Lion.
>
>
>
> Any idea how to achieve this? Something like video capturing the whole
>
> screen and pushing the stream to xbmc like I would any other video file?
>
>
>
> deKay
>

If you install ManyCam on your Windows system, you can get it to use your windows desktop as the video source for a virtual camera.

You should be able to use that with some webcam broadcasting software ( Not used any myself, but I believe there are a few out there ) to stream the desktop to your xbmc machine.

No idea what resolutions are supported, or if you will get the speed you need, but it's free so give it a go.

The Natural Philosopher

unread,
May 1, 2013, 11:43:48 AM5/1/13
to
On 01/05/13 13:12, deKay wrote:
> On Wed, 1 May 2013, Stanley Daniel de Liver wrote:
>
>> On Wed, 01 May 2013 12:20:16 +0100, deKay
>> <an...@lofi-gaming.org.uk.invalid> wrote:
>>
>>> On Wed, 1 May 2013, Alan Adams wrote:
>>>
>>>> You could run RISC OS on the pi, which does have a vnc server, and set
>>>> the server to run at startup.
>>>
>>> Yes, but
>>>
>>> 1) I need to be running xbmc, not RISC OS, and
>>> 2) I don't want to see the Pi's display on my PC, I want to see my
>>> PC's display on my Pi.
>>>
>>> deKay
>>
>>
>> rdesktop
>
> Which, again, needs X11. Which, again, raspbmc doesn't have. And then
> I'd still have the problem of initiating it from the PC/Mac.
>

I don't understand how on earth you expect to have a GUI on a PI without
installing X...


> I appreciate the replies to the question but it seems everyone has
> been reading a different question or missing the answers already given...
>

well your information has been...sparse and comflicting.

Let's start again, How do you intend g to display a Windows GUI on a
machine with no graphics capability at all?


> deKay

Guesser

unread,
May 1, 2013, 12:56:51 PM5/1/13
to
On 01/05/2013 16:43, The Natural Philosopher wrote:
> well your information has been...sparse and comflicting.
>
> Let's start again, How do you intend g to display a Windows GUI on a
> machine with no graphics capability at all?

He didn't say no graphics capability at all, he just said without X :p

Rob Morley

unread,
May 1, 2013, 1:59:17 PM5/1/13
to
On Wed, 01 May 2013 16:43:48 +0100
The Natural Philosopher <t...@invalid.invalid> wrote:

> I don't understand how on earth you expect to have a GUI on a PI
> without installing X...
>
You probably do this every time you boot a Linux system, in the form of
the Tux/whatever graphics that display with the boot loader, before X
gets started. Run the console framebuffer image viewer "fbi" for an
example of non-X graphics.

Message has been deleted

Theo Markettos

unread,
May 1, 2013, 2:43:23 PM5/1/13
to
Guesser <alis...@alistairsserver.no-ip.org> wrote:
> It sounds to me as though you want a vnc viewer which uses the
> framebuffer rather than being built on top of X right?
>
> Would directvnc fit the bill?

There's some SDL VNC clients too, though I'm not familiar with them.

Theo

deKay

unread,
May 1, 2013, 4:01:23 PM5/1/13
to
On Wed, 1 May 2013, Guesser wrote:

> It sounds to me as though you want a vnc viewer which uses the framebuffer
> rather than being built on top of X right?

Possibly, yes.

> Would directvnc fit the bill?

If it runs on raspbmc, yes!

> As for starting it remotely there's something called "listening mode" that
> some VNC clients have where the connection is initiated from the server end.
> That's not a facility that directvnc has alas, but you could probably
> implement similar functionality by having inetd run the appropriate command
> to connect to the server when it is prodded by the PC.

OK, that's something to prod at. Thanks.

deKay

unread,
May 1, 2013, 4:02:47 PM5/1/13
to
On Wed, 1 May 2013, The Nomad wrote:

> Maybe I've missed something but ...
>
> VNC server on the PC (or rdesktop or what ever - don't do much with
> windoze) and a VNC viewer on the RPi again don't know what XBMC comes
> with but if it is linux based (I think it is) then you can install a vnc
> viewer I'm sure, that way you get to see the PC screen and (if you want/
> need) control i as well.
>
> But as I say I may have missed something from this

That's pretty much it, but until Guesser's post I wasn't aware of a VNC
solution that didn't require X (which raspbmc doesn't have) or a way of
initiating the connection from the PC rather than the Pi.

deKay

unread,
May 1, 2013, 4:04:11 PM5/1/13
to
On Wed, 1 May 2013, Another Dave wrote:

> On 01/05/2013 13:12, deKay wrote:
>
>> I appreciate the replies to the question but it seems everyone has been
>> reading a different question or missing the answers already given...
>>
>
> I think what's confusing everybody (it certainly confused me) is that your
> original post read as though you were proposing sending video to XBMC as a
> possible solution to your problem. You didn't say XBMC was a REQUIREMENT.

Well, I was hoping the subject of the post made that clear. Raspbmc is a
requirement as that's what I'm using.

> Raspbmc is, as I'm sure you're aware, just a cut-down Debian with XBMC
> pre-loaded

That I know, but "cut" was X.

deKay

unread,
May 1, 2013, 4:05:47 PM5/1/13
to
Thanks. I did manage to get VLC to capture the screen and stream it to
another PC (also running VLC), but I've no idea how to get raspbmc to
"see" the stream I'm sending, or what codecs/formats/settings to use to
get to work as well as I can...

deKay

unread,
May 1, 2013, 4:08:59 PM5/1/13
to
On Wed, 1 May 2013, The Natural Philosopher wrote:

> I don't understand how on earth you expect to have a GUI on a PI without
> installing X...

I don't. I don't need a GUI on the Pi, although raspbmc offers one without
X, so...

>> I appreciate the replies to the question but it seems everyone has been
>> reading a different question or missing the answers already given...
>>
>
> well your information has been...sparse and comflicting.
>
> Let's start again, How do you intend g to display a Windows GUI on a machine
> with no graphics capability at all?

No. I intend to display a Windows (or Mac) display using raspbmc on the
Pi as essentially a remote monitor. I don't need it to do anything but
display it. I can send video files, pictures, music, etc. to it already -
I just want to "send" my desktop in some way too. The Pi can see my
desktop as nothing more than a video stream for all I care.

deKay

unread,
May 1, 2013, 4:09:38 PM5/1/13
to
Indeed. And until i started this thread I wasn't aware raspbmc didn't have
X, so it threw up another spanner.

Rob Morley

unread,
May 1, 2013, 5:49:43 PM5/1/13
to
On Wed, 1 May 2013 21:09:38 +0100
deKay <an...@lofi-gaming.org.uk.invalid> wrote:

> Indeed. And until i started this thread I wasn't aware raspbmc didn't
> have X, so it threw up another spanner.
>
But it's based on Raspbian which does include X, so adding it again
shouldn't be too big a deal.

The Real Doctor

unread,
May 1, 2013, 6:12:17 PM5/1/13
to
On 01/05/13 00:32, Dennis Lee Bieber wrote:
> he problem would be that Windows doesn't come with a native
> X-window protocol to send its display to another machine. One has to
> basically reproduce the Windows "remote access" feature.

There are VNC servers for Windows.

Ian

Rob Morley

unread,
May 1, 2013, 8:51:11 PM5/1/13
to
There are even X servers for Windows. :-)

Guesser

unread,
May 2, 2013, 12:10:43 AM5/2/13
to
Yes but how many applications are compiled for windows that use X for
their display rendering?

I think I've seen precisely two: xterm and xclock ;)

Jasen Betts

unread,
May 2, 2013, 2:28:26 AM5/2/13
to
On 2013-05-01, Another Dave <dmar...@nospam.com> wrote:

> The tightvnc website advertises both a Windows version and a Java
> viewer. I'm not familiar with Apple stuff so I don't know if this is
> relevant.

last time I wantted to run a VNC server on a MAC I found that it was
a standard OSX compoent, already built in, and just needed to be
activated.

--
⚂⚃ 100% natural
Message has been deleted

Guesser

unread,
May 2, 2013, 7:57:31 AM5/2/13
to
On 02/05/2013 09:27, Huge wrote:
> Depends what you mean by "compiled for windows"? Everything that runs under
> Cygwin ... ?
>

Ah, see, I'd successfully expunged cygwin from my mind, curse you for
reminding me ;)
Message has been deleted

Guesser

unread,
May 2, 2013, 11:52:08 AM5/2/13
to
On 02/05/2013 14:36, Huge wrote:
> Sadly, these days it's the only way I get access to a "proper" computing
> environment at work.
>
> :o(
>
>
I run Win 7 (recently moved off XP) on my main PC here, but I build
native binaries with mingw and use msys for a "unixy" environment. Just
bash, grep and make mostly tbh. If I want a full system with every bell
and whistle I just spin up a Debian VM or something rather than
contaminate my whole PC with cygwin ;)
Message has been deleted

John Rumm

unread,
May 2, 2013, 8:42:10 PM5/2/13
to
On 01/05/2013 08:36, deKay wrote:
> On Tue, 30 Apr 2013, Dennis Lee Bieber wrote:
>
>> On Tue, 30 Apr 2013 19:07:57 +0100, Another Dave <dmar...@nospam.com>
>> declaimed the following in comp.sys.raspberry-pi:
>>
>>> It's normal to use this to send the display from a Pi to another
>>> computer so you can control the Pi remotely but I can't see any reason
>>> why it wouldn't work the other way round.
>>>
>> The problem would be that Windows doesn't come with a native
>> X-window protocol to send its display to another machine. One has to
>> basically reproduce the Windows "remote access" feature.
>
> Or, capture the desktop as a video stream and push that to the Pi. But
> I've no idea how to do that.

Windows Media Encoder can capture the desktop as a stream and broadcast
it in a number of different ways:

http://www.microsoft.com/en-us/download/details.aspx?id=17792



--
Cheers,

John.

/=================================================================\
| Internode Ltd - http://www.internode.co.uk |
|-----------------------------------------------------------------|
| John Rumm - john(at)internode(dot)co(dot)uk |
\=================================================================/

Tim Hill

unread,
May 4, 2013, 11:07:21 AM5/4/13
to
In article <alpine.OSX.2.00.1...@imac.dekay.sytes.net>,
deKay <an...@lofi-gaming.org.uk.invalid> wrote:
> I have a PC (and/or a Mac) and I want to mirror my display on a Pi
> running raspbmc elsewhere on my network.

> PC running Windows 7, Mac running OS X Lion.

This solution will not suit you but it may suit somebody as it's what
works here:

W7-64 running TightVNC service. http://tightvnc.com/
Rasp.Pi running RISC OS and Avalanche: http://www.effarig.co.uk/riscos/
Once set-up, you can use a URL to launch it: e.g. vnc://192.168.7.10

On the other hand, I think the OP needs to be able to encode his desktop
display into a video stream that xbmc understands. Googling that isn't
encouraging but it does seem to be possible for VLC to stream files for
xbmc

--
from Tim Hill who welcomes incoming email to tim at timil dot com.
* Share in a better energy supplier: http://tjrh.eu/coopnrg
* Share in cheaper ethical telecoms: http://tjrh.eu/phone
* Have a genuine & spam-proof address for Usenet http://www.invalid.org.uk/

Rob Morley

unread,
May 4, 2013, 2:14:10 PM5/4/13
to
It's not for displaying Windows apps, it's for X apps running on a
remote machine.

deKay

unread,
May 4, 2013, 3:37:26 PM5/4/13
to
On Sat, 4 May 2013, Tim Hill wrote:

> On the other hand, I think the OP needs to be able to encode his desktop
> display into a video stream that xbmc understands. Googling that isn't
> encouraging but it does seem to be possible for VLC to stream files for
> xbmc

It is, yes. This is what I've pursued.

I can get VLC to create a video stream of my desktop, and I can get
another computer on my network to play, in VLC, that stream (by opening
http://mypcip/stream).

What I can't manage is any way of getting raspbmc to do anything with it.
I try putting that URL in a playlist file - nothing happens. Try a link -
nothing. Literally nothing.

Tim Hill

unread,
May 5, 2013, 8:31:27 AM5/5/13
to
In article <alpine.OSX.2.00.1...@imac.dekay.sytes.net>,
deKay <an...@lofi-gaming.org.uk.invalid> wrote:
> On Sat, 4 May 2013, Tim Hill wrote:

> > On the other hand, I think the OP needs to be able to encode his
> > desktop display into a video stream that xbmc understands. Googling
> > that isn't encouraging but it does seem to be possible for VLC to
> > stream files for xbmc

> It is, yes. This is what I've pursued.

> I can get VLC to create a video stream of my desktop, and I can get
> another computer on my network to play, in VLC, that stream (by opening
> http://mypcip/stream).

> What I can't manage is any way of getting raspbmc to do anything with
> it. I try putting that URL in a playlist file - nothing happens. Try a
> link - nothing. Literally nothing.Is that siome

I found one site which talked about using VLC to convert a file on the
fly for delivery to xbmc as a stream via http. Not quite what you are
after but if you can substitute 'desktop' for 'file'...?

http://dandar3.blogspot.co.uk/2010/12/vlc-streaming-transcoding-to-xbmc-for.html

deKay

unread,
May 7, 2013, 3:50:53 PM5/7/13
to
On Sun, 5 May 2013, Tim Hill wrote:

> I found one site which talked about using VLC to convert a file on the
> fly for delivery to xbmc as a stream via http. Not quite what you are
> after but if you can substitute 'desktop' for 'file'...?
>
> http://dandar3.blogspot.co.uk/2010/12/vlc-streaming-transcoding-to-xbmc-for.html

Aha! That's exactly what I tried, but without knowing the "XMBC side" bit
at the bottom to actually get the Pi playing the stream! Thanks.

deKay

unread,
May 8, 2013, 4:20:21 AM5/8/13
to
On Tue, 7 May 2013, deKay wrote:

> On Sun, 5 May 2013, Tim Hill wrote:
>
>> I found one site which talked about using VLC to convert a file on the
>> fly for delivery to xbmc as a stream via http. Not quite what you are
>> after but if you can substitute 'desktop' for 'file'...?
>>
>> http://dandar3.blogspot.co.uk/2010/12/vlc-streaming-transcoding-to-xbmc-for.html
>
> Aha! That's exactly what I tried, but without knowing the "XMBC side" bit at
> the bottom to actually get the Pi playing the stream! Thanks.

And it works!

Well, to a degree. I'm currently getting about one frame per minute. This
is wireless, and I am sending a 1920x1600 video over with standard
compression settings and codec, so some tweaking will help. It's a start,
anyway.

James Harris

unread,
May 8, 2013, 8:23:58 AM5/8/13
to
On May 8, 9:20 am, deKay <an...@lofi-gaming.org.uk.invalid> wrote:
> On Tue, 7 May 2013, deKay wrote:
> > On Sun, 5 May 2013, Tim Hill wrote:
>
> >> I found one site which talked about using VLC to convert a file on the
> >> fly for delivery to xbmc as a stream via http. Not quite what you are
> >> after but if you can substitute 'desktop' for 'file'...?
>
> >>http://dandar3.blogspot.co.uk/2010/12/vlc-streaming-transcoding-to-xb...
>
> > Aha! That's exactly what I tried, but without knowing the "XMBC side" bit at
> > the bottom to actually get the Pi playing the stream! Thanks.
>
> And it works!
>
> Well, to a degree. I'm currently getting about one frame per minute. This
> is wireless, and I am sending a 1920x1600 video over with standard
> compression settings and codec, so some tweaking will help. It's a start,
> anyway.

Wow, that's slow! If it helps, I just tried something here which
worked:

1. Ran RealVNC server in service mode on a Windows machine.

2. From a Linux machine ran Remote Desktop Viewer (which is in the
menu system on this machine under "Internet") pointing it at the IP
address of the Windows host.

Et voila!

The Remote Desktop Viewer can allow control or be run in view-only
mode. I understand the latter is what you want. There are also various
compression options for both the number of screen colours and the
communications protocol so it might be quicker than what you have now.

I had seen people recommend TightVNC so assumed you had a VNC solution
to try. I've always used RealVNC so cannot comment on another product
but this was very easy, worked first time and seems reasonably quick
to update the screen.

(If the Windows firewall prevents contact from the Linux machine you
might need to configure it to permit the access. You can easily test
whether the firewall is an issue by disabling it temporarily.)

James


James Harris

unread,
May 8, 2013, 8:40:58 AM5/8/13
to
On May 8, 1:23 pm, James Harris <james.harri...@gmail.com> wrote:

...

> I had seen people recommend TightVNC so assumed you had a VNC solution
> to try.

Having just read over some comments again I see you mentioned you have
no X11. X11 can be used to remotely display a desktop but that is not
necessary for VNC.

However, having now looked at the Raspbmc FAQ I see they say it cannot
run a VNC server so they may be talking about X11 purely local to the
Raspberry Pi. Possibly Raspbmc has no desktop environment?

The question is not really about the server but whether Raspbmc can
run a VNC *client*. If it can you should be OK. If not then my
comments in the previous post won't help. Maybe a more complete
desktop environment would be better for you in the long run. There may
be other standard unixy things you want to do later which also won't
work with Raspbmc.

James

deKay

unread,
May 8, 2013, 8:46:34 AM5/8/13
to
On Wed, 8 May 2013, James Harris wrote:

> Wow, that's slow! If it helps, I just tried something here which
> worked:
>
> 1. Ran RealVNC server in service mode on a Windows machine.
>
> 2. From a Linux machine ran Remote Desktop Viewer (which is in the
> menu system on this machine under "Internet") pointing it at the IP
> address of the Windows host.
>
> Et voila!

Thanks. Some others had suggested this, but the main issue was that VNC
needs X (which raspbmc doesn't have). Turns out, there are the X-less
implimentations which I haven't looked at yet.

JT

unread,
Oct 10, 2013, 4:04:02 AM10/10/13
to
Hi,

You've probably found a good way to do this by now, but I otherwise just wanted to point you in the direction of streaming your pc desktop using VLC with for example RTSP (using a bat script or from the GUI) and then simply displaying in Raspbmc by opening a file with the URL to the stream. Works fine for me, albeit a little laggish.

/JT

deKay wrote:
> I have a PC (and/or a Mac) and I want to mirror my display on a Pi running
>
> raspbmc elsewhere on my network.
>
>
>
> PC running Windows 7, Mac running OS X Lion.
>
>
>
> Any idea how to achieve this? Something like video capturing the whole
>
> screen and pushing the stream to xbmc like I would any other video file?
>
>
>

jared....@gmail.com

unread,
May 24, 2014, 1:08:37 PM5/24/14
to
On Tuesday, April 30, 2013 10:45:50 AM UTC-4, deKay wrote:
> I have a PC (and/or a Mac) and I want to mirror my display on a Pi running
>
> raspbmc elsewhere on my network.
>
>
>
> PC running Windows 7, Mac running OS X Lion.
>
>
>
> Any idea how to achieve this? Something like video capturing the whole
>
> screen and pushing the stream to xbmc like I would any other video file?
>
>
>
> deKay
>
> --
>
> Lofi Gaming - http://lofi-gaming.org.uk
>
> Gaming Diary - http://lofi-gaming.org.uk/diary
>
> Blog - http://lofi-gaming.org.uk/blog
>
> My computer runs at 3.5MHz and I'm proud of that

I too wonder where this lies. Most if not all smart devices code and decode h.264 video with a dedicated hardware chip. Therefore, if the final goal is a screen mirroring tool that any device may use to project the contents of it's screen to another networked device (wired/wireless), it would make sense the transmitting device use h.264 encoding. It is a reverse VNC scenario. Overview architecture would be h.264 encoding of the client (client being iOS, Android, Windows, Apple) device to a h.264 stream. Somehow there would need to be a security and auto-discover mechanism to ensure the correct display is being connected to making the assumption that no one would invest network dollars to completely isolate devices in a multi-device environment. Once negotiation with the appropriate endpoint happens, all the endpoint device needs to do for processing would be to decode and display the h.264 stream. I envision an army of Raspberry Pi devices (capable of hardware h.264 decoding at 1080p) living on a network connected to LED displays.

**Also would need a mechanism that allowed the displaying endpoint to reject a connection request while being used. Probably also need some sort of local override button in case someone accidentally hi-jacked an endpoint accidentally.

Multiple apps would need to be developed in an environment where there is already competition (Airplay, Miracast, Intel WiDi, etc...).

Reverse Client-Server model. Lot's of security pain points.

msra...@gmail.com

unread,
Jan 20, 2015, 9:56:32 PM1/20/15
to
0 new messages