On Saturday 26 November 2016 19:25:41 Peter Stuge wrote:> Gene Heskett wrote: > > the inside of the door .. two SBC's: > > .. > > > I have tried running X on the raspi, but it hasn't enough memory or > > iron to do it well. > > A GHz system with GB of RAM is certainly capable of running a > well-written GUI effortlessly. > > > Running htop on the odroid, its not x but sshd thats the bottleneck > > thats causing the odroid to render at 3 or 4 frames per second > > Why are you running X through SSH? Run X directly over the network > instead; that is literally what it is made for. > > (Set DISPLAY on pi with odroid IP. Run xauth +pi on odroid. Start X > programs on pi.)Hmm, learning something new like most days: sample/example cli? Something like export DISPLAY 192.168.xx.9:10:0 on the pi, and xauth +raspi on the odroid? ; >> But again: I guess the real problem is somewhere else entirely.I have the X manpage up on the odroid and I am logged into the pi too. From that manpage I should set and export DISPLAY to hostname:displaynumber.screennumber, so on the pi setenv DISPLAY odroid:12.0 or DISPLAY = odroid:12.0 export DISPLAY>this on the raspi on the odroid64 xauth +raspi then to conserve keyboards, log into raspi, and start my x using program Have I got it right? The reason for the 12 is that as I am logged into the odroid twice right now, so screens 10 and 11 are already in use with my ssh -Y logins and I asumme I can't re-use a display number. Or should I re-use the display number, and enum the screen number some how? Obviously this is something I've never done before. I would also assume the ssh login would be without any -X or -Y options. So Plz clarify. If this gets rid of most or all of the lag, I'll be in hog heaven. Thanks Peter. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene>
Gene Heskett wrote:> > (Set DISPLAY on pi with odroid IP. Run xauth +pi on odroid. Start X > > programs on pi.) > > sample/example cli?192.168.1.2 pi 192.168.1.3 odroid On odroid, xauth +192.168.1.2 On pi, export DISPLAY=192.168.1.3:0 On pi, in same shell as above, start the GUI application No X server runs on pi. Change only the IP addresses. Read more man-pages and maybe also some tutorials to get an idea of how it works. //Peter
On Sunday 27 November 2016 07:40:43 Peter Stuge wrote:> Gene Heskett wrote: > > > (Set DISPLAY on pi with odroid IP. Run xauth +pi on odroid. Start > > > X programs on pi.) > > > > sample/example cli? > > 192.168.1.2 pi (pi is ..71.8 > 192.168.1.3 odroid (odroid64 is ..71.9 > > On odroidxauth +192.168.71.8> On pi,export DISPLAY=192.168.71.9:0> On pi, in same shell as above, start the GUI applicationSo the monitor is plugged into the droid, but the keyboard & mouse are plugged into the pi? That may be better than my image of running the pi from an ssh login to it from the droid. Which is how its running now, useing the ssh forwarding thru all the encrypt.decrypt stuff, which is killing the speed. If all this can be put into the correct rc.local files, so it Just Works when the whole system is powered up, that would be very nice as it gets rid of one keyboard and mouse except when doing maintenance or trouble shooting.> No X server runs on pi. Change only the IP addresses. > > Read more man-pages and maybe also some tutorials to get an idea of > how it works.I think I am getting a grip on it, you are basically saying exactly the same thing 2 others have told me in the last 2 hours. Now all I should have to do is undo, from its own keyboard a change I made to /etc/ssh/sshd_config, reboot it again, right now its not accepting connections from at least 2 other machines.>Thank you Peter Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene>