Active Topics

 



Notices


Poll: Is it working?
Poll Options
Is it working?

Reply
Thread Tools
Posts: 110 | Thanked: 362 times | Joined on May 2014
#1
a gstreamer based remote desktop (only video at the moment) streaming client and streamer mostly written in python.

(vnc like but for low bandwith networks but needs a good server cpu (recomment 2ghz dual core (cant have enough of that))
What does it? I made videos for you: n900 connected to openvpn via 3g connected to dsl server serving the desktop,
browsing the net and watching a "HD" youtube video. (sorry for bad quality my n900 was in use, videos are in alpa.tar.gz)

First: All is done at your own risk! Look at the code if you are unsure.

Features:
video is x264 encoded
you can zoom and scroll remotely
basic keyboard support
touchscreen cant act as mouse-touchpad-relative-"view follows pointer" (hoover mode possible),
touchscreen-absolute input or just as scroll device
volume keys act as mousekeys (first click acts strange somehow(shows volume bar again))
network is udp based
supposed to work over 300 ms, 1 mbit network connection (so 3g client to dsl server was the goal
(there is room for improvement))
python based: easy hackable!
n900 uses dsp! (amazing)

ugly things:
you probably have to compile a gstreamer plugin for the server side, the cheap way i do it, is messy and takes a while
everything is barely working
i guess it is a security nightmare (but it is assumed to work over a vpn, trusted enviroment)
there are useless buttons and text entrys

known bugs:
this is alpha.. endless bugs and missing execeptions and crashes (not too often i hope)
it should not harm..

missing features:
sound
zoom/focus to pointer
right click in touchsreen mode per long press (all timing based recognition is missing)
latency slider in gui (a nicer gui)
tab/esc keys
much more

More Details in README

alpha.tar.gz

(oh too big for maemo.org)

Is it working for you?
 

The Following 10 Users Say Thank You to pythoneye2 For This Useful Post:
Posts: 110 | Thanked: 362 times | Joined on May 2014
#2
version alpha2
sound support, better left and right click support, bugfixes

ugly things:
screen is green until first keyframe (usually 1-10 sec)
screen looks strange after scrolling (workaround scroll a tiny bit again)

known bugs:
this is alpha.. endless bugs and missing execeptions and crashes (not too often i hope)
it should not harm..
screen stays black, increase latency and try again, sometimes it fails to start only
if you use sound, increase latency to >1000

still missing features:
zoom/focus to pointer
latency slider in gui (a nicer gui), (harder to implement than expected)
tab/esc keys
much more

http://www.file-upload.net/download-...a2.tar.gz.html
 

The Following 4 Users Say Thank You to pythoneye2 For This Useful Post:
Posts: 19 | Thanked: 24 times | Joined on May 2014
#3
Absolutely awesome. Any plans/ideas how to allow users to skip compiling gstreamer plugin on server, without sacrificing effectivness?
 
Posts: 110 | Thanked: 362 times | Joined on May 2014
#4
im scratching my head for a while, tried a few pipelines,

i tried implementing scaling as a python gstreamer filter (I got amazing 1 fps).
If i drop zooming theora may work, but it has many drawbacks like cpu load and some lags and some missing options. Perhaps I manage to get a version without zooming.
But next thing to look at is how gstreamer1.0 works and i may also try the ffvideoscale plugin.
 
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#5
Keeping my thumb fr this project, such a virtual desktop "on steroids" would be really useful!

Cheers,
/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 
Posts: 110 | Thanked: 362 times | Joined on May 2014
#6
I finally got it working on Ubuntu 16.04 (without sound)
and i always wanted to make a better video:
now starring supertuxkart via wlan on N900

supertuxkart hardware requirements for advanced linux gaming
Recommended
GPU (Recommended): NVIDIA GeForce 660 GTX or AMD Radeon HD 7870 series card or higher; At least 1 GB VRAM (video memory).
GPU (Minimal, With this setup the game might be choppy): NVIDIA GeForce 470 GTX, AMD Radeon 6870 HD series card or Intel HD Graphics 3000; At least 512 MB VRAM (video memory).
CPU: Intel Core i3 (or better) or AMD processor, 2.8 GHz or faster.
At least 1 GB of free RAM
Disk space: 700MB

no problem for a Nokia N900

pythoneye16.04_V10.tar.gz
 

The Following 2 Users Say Thank You to pythoneye2 For This Useful Post:
Posts: 110 | Thanked: 362 times | Joined on May 2014
#7
alpha3
sound is working most of the times with evils forces of aac and a hell lot of monkey patching and dpkg -i packages from ubuntu 14.04

tested mostly on ubuntu 20.04 64bit.

So finally you can watch youtube videos with sound with pythonremoteeye.

http://www.filedropper.com/pythonremoteeyealpha3tar
 
Posts: 110 | Thanked: 362 times | Joined on May 2014
#8
A fix for onboard to show keys and not "?" question marks in tightvncserver. Implements or emulates a basic us keyboard.

Its good enough for me but not good enough to push.

Bug Report:
https://bugs.launchpad.net/onboard/+bug/1001736

http://www.filedropper.com/onboardgtk

It uses PyUserInput as backend.
so for python3 for example you need
apt-get install python3-pip
pip-3.2 install PyUserInput

install on ubuntu:
# backup
cp /usr/lib/python3/dist-packages/Onboard/OnboardGtk.py /usr/lib/python3/dist-packages/Onboard/OnboardGtk.py.org
# overwrite
cp ./IOnboardGtk.py /usr/lib/python3/dist-packages/Onboard/OnboardGtk.py

known errors:
num lock is not working so no numbers via numpad
the key to the right of left shift just produces "<" always
most long press keys wont work (ö ..)
 
Maemish's Avatar
Posts: 1,718 | Thanked: 4,764 times | Joined on Apr 2018 @ Helsinki, Finland.
#9
I don't understand a thing (no need to explain either) but 10 points for making it work. And it seems it only took 6 years! Really appreciate the effort people are puting on this device. My N900 is resting a bit and have been using android for a week cause I need to reflash the device and just do not want to go through the procedure at the moment.
__________________
"I don't know how but I can try!" (active)

Master of not knowing (active)

For me it is possible to get lost in any case (active)

Learning to fall from high (DONE)

Learning to code with BASIC (WIP)
 
Reply


 
Forum Jump


All times are GMT. The time now is 06:35.