Thread: Remote X11?
View Single Post
Old 03-01-2013, 04:59 PM   #16
timb.us
Enthusiast
timb.us ought to be getting tired of karma fortunes by now.timb.us ought to be getting tired of karma fortunes by now.timb.us ought to be getting tired of karma fortunes by now.timb.us ought to be getting tired of karma fortunes by now.timb.us ought to be getting tired of karma fortunes by now.timb.us ought to be getting tired of karma fortunes by now.timb.us ought to be getting tired of karma fortunes by now.timb.us ought to be getting tired of karma fortunes by now.timb.us ought to be getting tired of karma fortunes by now.timb.us ought to be getting tired of karma fortunes by now.timb.us ought to be getting tired of karma fortunes by now.
 
Posts: 32
Karma: 563888
Join Date: Feb 2013
Device: Kindle PW, iPad 2
Thanks buddy! I'll give those a try!

I've made some progress, here's where I'm at:

[K] = Kindle PW, [Pi] = Raspberry Pi, [o2] = MacBook Air

[K] Has a copy of ssh that supports the -X option for tunneling X Sessions. After reading through some other threads here I've learned that a second instance of Xorg will display overtop of the existing framework. So, I've launched it like so: [K] Xorg :1 &
Then I set the display variable: [K] DISPLAY=:1
I then SSH'd into [Pi] from [K]: ./ssh -X pi@rpi

It connects fine, now I try to run an X app: [Pi] midori
It runs, no errors, but nothing is displayed on [K]...

At this point I kill -9 Xorg on [K] and try running midori again on [Pi]. This time I get an error:
Code:
connect /tmp/.X11-unix/X1: No such file or directory
Midori - Cannot open display:
So, I know it is trying to tunnel to the second copy of Xorg running, but why isn't anything being displayed?

Edit: Wait a second, it is displaying something! I can see it behind the top menu bar, bits and pieces of it! Hrmmm... Now, how to get it to display on top of everything else?
timb.us is offline   Reply With Quote