Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Onyx Boox

Notices

Reply
 
Thread Tools Search this Thread
Old 03-12-2018, 05:12 AM   #1
mdp
Wizard
mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.
 
Posts: 1,179
Karma: 4689573
Join Date: Jul 2013
Device: none
Linux Desktop on the Max2

Has anyone tried putting a (GNU/)Linux Desktop environment on the Max2?
Like, for example, GNURoot Debian (com.gnuroot.debian) and XServer XSDL (x.org.server)
( https://www.xda-developers.com/guide...ndroid-device/ ).

Last edited by mdp; 03-12-2018 at 05:15 AM.
mdp is offline   Reply With Quote
Old 03-12-2018, 06:11 AM   #2
sogaiu
Groupie
sogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbit
 
Posts: 170
Karma: 60000
Join Date: Jan 2018
Device: none
I'm working on it

https://github.com/xeffyr/termux-x-repository

Due to this issue:

https://github.com/iiordanov/remote-...ents/issues/60

Trying to tweak the VNC server appropriately.
sogaiu is offline   Reply With Quote
Old 03-12-2018, 07:10 AM   #3
Duolive
Junior Member
Duolive began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2017
Device: max
Smile

Quote:
Originally Posted by mdp View Post
Has anyone tried putting a (GNU/)Linux Desktop environment on the Max2?
Like, for example, GNURoot Debian (com.gnuroot.debian) and XServer XSDL (x.org.server)
( https://www.xda-developers.com/guide...ndroid-device/ ).
Sorry to be out of subject, mdp is Max2 workable like a second monitor for programming and internet browsing and relaxing eyes ? or do you stuck and struggle?

Thank you
Duolive is offline   Reply With Quote
Old 03-12-2018, 07:20 AM   #4
sogaiu
Groupie
sogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbit
 
Posts: 170
Karma: 60000
Join Date: Jan 2018
Device: none
Seems to work

In Landscape mode, assuming Termux, bVNC, and Hacker's Keyboard (or physical keyboard?) are installed:

Quote:
0. Launch the Termux app
1. wget https://raw.githubusercontent.com/xe.../enablerepo.sh
2. bash enablerepo.sh
3. pkg install termux-desktop
4. startx
5. Follow the directions to set up a password and then type Control-C to stop
6. Edit ~/.vnc/config so it has the line: securitytypes=vncauth
7. startx
8. Launch the bVNC app and set up a new connection with:
Connection Type: Basic VNC
VNC Connection Settings: 127.0.0.1 5901
# No Username
Password set up earlier in step 5
9. Click 'Connect'
Observations:

0. Not sure if any window manager other than OpenBox is available at the moment.

1. The bVNC button palette (?) in the middle of the right side of the screen (typically hidden initially but can be made visible by touching / tapping around where it ought to appear), can be used to bring up an on-screen keyboard, as well as a menu (which includes useful commands such as 'disconnect'). Note: the palette doesn't appear easily accessible while the on-screen keyboard is displayed.

2. The "Back" key (right-most of the four hardware buttons) appears to bring up a menu from which a terminal may be started. When the on-screen keyboard is displayed, the "Back" key appears to dismiss the keyboard.

3. Programs can also be started from termux sessions as long as an appropriate DISPLAY environment variable has been set (typically: export DISPLAY=:1)

4. Portrait mode operation was cumbersome.

5. Ok, may be one might quibble as to whether this counts as a Desktop environment -- it gets close though, possibly a matter of creating and installing some appropriate Termux packages

References:

https://github.com/xeffyr/termux-x-repository

Last edited by sogaiu; 03-12-2018 at 07:42 AM. Reason: Added References section
sogaiu is offline   Reply With Quote
Old 03-12-2018, 07:50 AM   #5
mdp
Wizard
mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.
 
Posts: 1,179
Karma: 4689573
Join Date: Jul 2013
Device: none
Quote:
Originally Posted by sogaiu View Post
In Landscape mode, assuming Termux, bVNC, and Hacker's Keyboard (or physical keyboard?) are installed
A BlueTooth keyboard is a dear friend in this scenario...

bVNC: I do not know if you were around at the time, but there is a mod of mine of bVNC published in the Monitor thread that allows full screen refresh by tapping on corners (I had the idea of the corners on that occasion).

Does VNC slow down the experience? VNC servers tend to have a severe lag - though I hope this is cleverly embedded in XServer XSDL.
EDIT: oops, you probably are not using XServer XSDL.
It would be interesting to compare Termux and GNURoot Debian + XServer XSDL, performance wise.

Why not posting some pics? ; )

Last edited by mdp; 03-12-2018 at 07:56 AM.
mdp is offline   Reply With Quote
Old 03-12-2018, 07:53 AM   #6
mdp
Wizard
mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.
 
Posts: 1,179
Karma: 4689573
Join Date: Jul 2013
Device: none
Quote:
Originally Posted by Duolive View Post
Sorry to be out of subject,
Well you are a few threads away - but no problem. I replied here.
mdp is offline   Reply With Quote
Old 03-12-2018, 08:42 AM   #7
sogaiu
Groupie
sogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbit
 
Posts: 170
Karma: 60000
Join Date: Jan 2018
Device: none
Quote:
Originally Posted by mdp View Post
A BlueTooth keyboard is a dear friend in this scenario...
Ah good point -- though I don't like having to remember not typing authentication info in while using such a device

Quote:
bVNC: I do not know if you were around at the time, but there is a mod of mine of bVNC published in the Monitor thread that allows full screen refresh by tapping on corners (I had the idea of the corners on that occasion).
Time to go a searching...and here it is?

Quote:
Does VNC slow down the experience? VNC servers tend to have a severe lag
Wasn't too hard to set up, why don't you try too? But on a serious note -- how to assess this? What do I compare it to?

Quote:
Why not posting some pics? ; )
Nothing exciting to show yet, but attached, please find something...
Attached Thumbnails
Click image for larger version

Name:	onyx-boox-max-2-with-termux-bvnc-xvnc-bt-kbd-etc.jpg
Views:	147
Size:	89.9 KB
ID:	162763  

Last edited by sogaiu; 03-12-2018 at 09:22 AM.
sogaiu is offline   Reply With Quote
Old 03-12-2018, 09:25 AM   #8
alcedo
Enthusiast
alcedo doesn't litteralcedo doesn't litter
 
Posts: 39
Karma: 148
Join Date: Jan 2018
Device: bug
Quote:
Originally Posted by mdp View Post
Has anyone tried putting a (GNU/)Linux Desktop environment on the Max2?
Like, for example, GNURoot Debian (com.gnuroot.debian) and XServer XSDL (x.org.server)
( https://www.xda-developers.com/guide...ndroid-device/ ).
I used this script https://github.com/sp4rkie/debian-on-termux to install debian on termux.

In general: I'm surprised some speak of running X on android. I've no intention to do that/don't understand how that could work.

But besides that, it's working with some exceptions. I was able to install and run all versions of gcc, of course also able to install clang, but the latter is segfaulting. Also perl6-m which I compiled is segfaulting if started with interactive REPL.

That's somewhat surprising, because I've heard a) gcc isn't supporting android, but clang is and b) executables on android should be compiled with -pie. And suprinsingly, the debian clang seems to be like that, but gcc not. I've no clue what's the matter there and so far didn't find the time to ask.

Also I didn't find time to install some snapshots and try to proot into, namly from alpine linux and gentoo.

And it's really really a tremendous waste if the Max2 cannot be rooted, if only it is to use sshfs to mount some remote storage. Booxstor, please please please find some way to provide us with a rooted image.

But first check if termux doesn't provide the ablilities you need, clang is there, ssh and git.

Last edited by alcedo; 03-12-2018 at 09:29 AM.
alcedo is offline   Reply With Quote
Old 03-12-2018, 10:00 AM   #9
mdp
Wizard
mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.
 
Posts: 1,179
Karma: 4689573
Join Date: Jul 2013
Device: none
Quote:
Originally Posted by sogaiu View Post
Wasn't too hard to set up, why don't you try too? But on a serious note -- how to assess this? What do I compare it to?
Cause I'm driving... ; )

And because il it's not that straightforward to me because I need to keep it airgapped - so if it needed to 'apt' or similar around... I have not even yet tried Termux because of that.

You can assess the VNC overhead by comparing it to HDMI, but ways are less with that embedded server. Certainly, VNC can bring delays. The important thing remains user experience here. Did you manage to try any real application?
mdp is offline   Reply With Quote
Old 03-12-2018, 10:57 AM   #10
Randy11
Wizard
Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.
 
Posts: 1,047
Karma: 1577094
Join Date: Oct 2008
Device: Samsung EB60, Onyx M92, Onyx Max2
Quote:
Originally Posted by alcedo View Post
But besides that, it's working with some exceptions. I was able to install and run all versions of gcc, of course also able to install clang, but the latter is segfaulting. Also perl6-m which I compiled is segfaulting if started with interactive REPL.

That's somewhat surprising, because I've heard a) gcc isn't supporting android, but clang is and b) executables on android should be compiled with -pie. And suprinsingly, the debian clang seems to be like that, but gcc not. I've no clue what's the matter there and so far didn't find the time to ask.
Hello,

Could you test if Ruby is usable ? Thanks by advance.
Randy11 is offline   Reply With Quote
Old 03-12-2018, 06:14 PM   #11
sogaiu
Groupie
sogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbit
 
Posts: 170
Karma: 60000
Join Date: Jan 2018
Device: none
Quote:
Originally Posted by alcedo View Post
In general: I'm surprised some speak of running X on android. I've no intention to do that/don't understand how that could work.
This is what I used to think too...but after realizing a localhost connection (plus password) to a locally running VNC server (that coordinates with X) could work, I started to see potential that I did not see before.

Quote:
And it's really really a tremendous waste if the Max2 cannot be rooted, if only it is to use sshfs to mount some remote storage. Booxstor, please please please find some way to provide us with a rooted image.
I'm hopeful of rooting too -- there are other things that might work out nicely (e.g. multi-window). I believe he's intending to provide a method -- being able to root is still mentioned as a feature of the Max 2 at the store (On a related note, I'd like a rooting method that doesn't require use of an external OS or connecting to some external server during the actual process if possible, but may be others don't care so much...)

Last edited by sogaiu; 03-13-2018 at 04:49 AM.
sogaiu is offline   Reply With Quote
Old 03-13-2018, 05:56 AM   #12
sogaiu
Groupie
sogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbit
 
Posts: 170
Karma: 60000
Join Date: Jan 2018
Device: none
Quote:
Originally Posted by alcedo View Post
I used this script https://github.com/sp4rkie/debian-on-termux to install debian on termux.
Nice find! Think I'll give it a try.
sogaiu is offline   Reply With Quote
Old 03-13-2018, 10:47 PM   #13
sogaiu
Groupie
sogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbit
 
Posts: 170
Karma: 60000
Join Date: Jan 2018
Device: none
I tried the debian-on-termux method that alcedo posted with bVNC.

In short, it works pretty well -- and there appear to be many more packages (not surprising), though I ran out of inodes during installation of gimp and spent some time struggling to get out of that mess.

Got to test inkscape and ruby (at least irb) -- didn't do much with either, but didn't encounter problems in my limited time with them.

Mostly following the instructions at:

https://github.com/sp4rkie/debian-on-termux

Some packages installed included:

Quote:
blackbox
tigervnc-standalone-server
tigervnc-xorg-extension # may not need this one
bVNC's 'Input Mode' (during the vnc session) set to 'Direct, Hold Pen' seems to work better for resizing and moving windows than some other alternatives.
sogaiu is offline   Reply With Quote
Old 03-14-2018, 07:15 AM   #14
Randy11
Wizard
Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.
 
Posts: 1,047
Karma: 1577094
Join Date: Oct 2008
Device: Samsung EB60, Onyx M92, Onyx Max2
Quote:
Originally Posted by sogaiu View Post
Got to test inkscape and ruby (at least irb) -- didn't do much with either, but didn't encounter problems in my limited time with them.
Thanks you ! Very good news for me. I can imagine some new usages for the Max2, even if they are limited
Randy11 is offline   Reply With Quote
Old 03-14-2018, 07:19 AM   #15
sogaiu
Groupie
sogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbitsogaiu with a running start, can leap into geosynchronous orbit
 
Posts: 170
Karma: 60000
Join Date: Jan 2018
Device: none
Are there any specific ruby-related things you'd like tested?
sogaiu is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between the Onyx Boox Max2 and Max2 Pro? Nels17 Onyx Boox 6 03-17-2018 03:27 PM
Any interest in Kobo Desktop for Linux? JCKobo Kobo Reader 345 08-31-2015 02:10 PM
How to use Kobo Desktop under Linux using Virtualbox Lucas Malor Kobo Reader 0 11-23-2013 08:46 AM
Newer Kobo desktop than 2.1.7 for linux? jusmee Kobo Reader 0 08-15-2012 01:42 AM
Kobo Desktop for Linux: Update Available? luqmaninbmore Kobo Reader 2 07-16-2010 11:00 AM


All times are GMT -4. The time now is 10:47 AM.


MobileRead.com is a privately owned, operated and funded community.