Author Topic: Termux or UserLand - Linux & LXDE or XFCE  (Read 10372 times)

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Termux or UserLand - Linux & LXDE or XFCE
« on: December 29, 2019, 02:49:38 pm »
Been enjoying using my Cosmo....

While waiting for other linux options to be released, been trying to get Arch or Debian working with LXDE or XFCE..but so far no go....

I can run Arch or Debian OK, but can not get LXDE or XFCE to work using XSDL or VNC.

In Termux have been able to get X in XSDL and VNC such that I saw a 'X' that I could move around display with my finger.

Then while searching for info, I came across UserLand and tried it.

I installed Arch and LXDE.

I was able to open up a terminal window in VNC, but no LXDE.

Has anyone been successful getting linux and LXDE or XFCE, etc, to run using Termux or Userland?

If so, any suggestions as what I need to do to get it working?

Thanks,

Mark
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

spook

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
Termux or UserLand - Linux & LXDE or XFCE
« Reply #1 on: December 29, 2019, 04:18:13 pm »
Quote from: ArchiMark
Been enjoying using my Cosmo....

While waiting for other linux options to be released, been trying to get Arch or Debian working with LXDE or XFCE..but so far no go....

I can run Arch or Debian OK, but can not get LXDE or XFCE to work using XSDL or VNC.

In Termux have been able to get X in XSDL and VNC such that I saw a 'X' that I could move around display with my finger.

Then while searching for info, I came across UserLand and tried it.

I installed Arch and LXDE.

I was able to open up a terminal window in VNC, but no LXDE.

Has anyone been successful getting linux and LXDE or XFCE, etc, to run using Termux or Userland?

If so, any suggestions as what I need to do to get it working?

Thanks,

Mark

I had immediate success with Andronix over Termux. I just paid the small price for their modded OS of Debian with xfce. You just copy / paste the link and it does the rest. Then just start the Linux env and then VNC and you're good!

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Termux or UserLand - Linux & LXDE or XFCE
« Reply #2 on: December 29, 2019, 05:03:02 pm »
Quote from: spook
Quote from: ArchiMark
Been enjoying using my Cosmo....

While waiting for other linux options to be released, been trying to get Arch or Debian working with LXDE or XFCE..but so far no go....

I can run Arch or Debian OK, but can not get LXDE or XFCE to work using XSDL or VNC.

In Termux have been able to get X in XSDL and VNC such that I saw a 'X' that I could move around display with my finger.

Then while searching for info, I came across UserLand and tried it.

I installed Arch and LXDE.

I was able to open up a terminal window in VNC, but no LXDE.

Has anyone been successful getting linux and LXDE or XFCE, etc, to run using Termux or Userland?

If so, any suggestions as what I need to do to get it working?

Thanks,

Mark

I had immediate success with Andronix over Termux. I just paid the small price for their modded OS of Debian with xfce. You just copy / paste the link and it does the rest. Then just start the Linux env and then VNC and you're good!


Thanks for the help and suggestion, spook!

Had not heard of Andronix before....will check it out....
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Termux or UserLand - Linux & LXDE or XFCE
« Reply #3 on: December 29, 2019, 10:07:18 pm »
Having issues trying to register with Andronix....on Cosmo display I can only see a large horizontal orange bar with word 'Login' on it.

Can not see where you can register. So, as of now, can not install Andronix.

Any suggestion?

Also, looking at Andronix Premium webpage, it shows Premium Forever for $0.99 and option for Non-Premium Forever for $1.50. That seems backwards to me....


Meanwhile, I opened UserLand and this time I happened to scroll down the screen and saw LXDE and XFCE listed. So, clicked on LXDE and after opening session with VNC, I saw the typical LXDE desktop!

Only issues now are the desktop items are extremely tiny. I have changed some preferences for larger text which helps. But the taskbar and other items are still very small.

Realized I will need to connect a mouse to Cosmo in order to get right and left mouse button clicks and be able to stretch windows, etc.

So, making some progress.....

 
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

spook

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
Termux or UserLand - Linux & LXDE or XFCE
« Reply #4 on: December 30, 2019, 08:06:43 pm »
Quote from: ArchiMark
Having issues trying to register with Andronix....on Cosmo display I can only see a large horizontal orange bar with word 'Login' on it.

Can not see where you can register. So, as of now, can not install Andronix.

Any suggestion?

Also, looking at Andronix Premium webpage, it shows Premium Forever for $0.99 and option for Non-Premium Forever for $1.50. That seems backwards to me....


Meanwhile, I opened UserLand and this time I happened to scroll down the screen and saw LXDE and XFCE listed. So, clicked on LXDE and after opening session with VNC, I saw the typical LXDE desktop!

Only issues now are the desktop items are extremely tiny. I have changed some preferences for larger text which helps. But the taskbar and other items are still very small.

Realized I will need to connect a mouse to Cosmo in order to get right and left mouse button clicks and be able to stretch windows, etc.

So, making some progress.....

 


Hmm. Not sure I can help you with that. When I open Andronix, I see a Dashboard. Also, I can only see 2 products on https://andronix.app/premium/ - the free version and the premium. the premium for me is $1.50. Note - that only removes the ads in the app. You still need to pay for a custom distribution if you want the easy install path.

RE the icons etc in VNC... I'm not sure if UserLand has the same VNC config, but Andronix has a setting for automatic resolution in the VNS server. So I set it to that and then open VNC with a custom resolution of 1080x540. That gives me a nice viewing size on the Cosmo. I've attached a screenshot of VNC at that resolution. Very worksable.

Also woth noting that you can connect to the VNC server from another computer too. So you can basically remote access the Linux desktop session.

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Termux or UserLand - Linux & LXDE or XFCE
« Reply #5 on: December 30, 2019, 09:41:29 pm »
Thanks for additional info and screenshot!

Yes, when I go to the page you linked to I see what you see.

The issue is when I went to the page on the Cosmo in Firefox.....

And there's the issue of trying to register while using Cosmo....

Did you purchase / register Andronix on Cosmo?

If so, did you do this on Cosmo within the Google Play Store or on their website using browser on Cosmo?

Would really like to get the Premium Andronix and use one of their modded OS installs....

Again, appreciate your help with this.
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

vader

  • Sr. Member
  • ****
  • Posts: 296
    • View Profile
Termux or UserLand - Linux & LXDE or XFCE
« Reply #6 on: December 31, 2019, 12:39:21 am »
I perosnally just installed xSDL, the X11 repos for termux, and xfce4. Export the display variable, start xSDL then  run startxfce4. You will have to modify your setup to increase the font size etc, but it all works. I installed  netsurf as a basic web browser, and the xfce4 terminal app. Already had gcc and most of the libraries - compile your own binaries

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Termux or UserLand - Linux & LXDE or XFCE
« Reply #7 on: December 31, 2019, 03:38:58 pm »
Quote from: vader
I perosnally just installed xSDL, the X11 repos for termux, and xfce4. Export the display variable, start xSDL then  run startxfce4. You will have to modify your setup to increase the font size etc, but it all works. I installed  netsurf as a basic web browser, and the xfce4 terminal app. Already had gcc and most of the libraries - compile your own binaries


Thanks for your input, vader!

Happy New Year!
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Termux or UserLand - Linux & LXDE or XFCE
« Reply #8 on: January 02, 2020, 03:10:07 pm »
spook was very kind and provided me info (off thread) about his Andronix and bVNC setup.

Tried it and VNC connection says it's trying to make connection, but does not ever complete it.

Can not figure out what is the problem.

I had to use different port number than spook suggested, as it gave me error message.

If I can't get this solved, I will try setup as vader suggests.....

Any suggestions?
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Termux or UserLand - Linux & LXDE or XFCE
« Reply #9 on: January 03, 2020, 09:38:49 am »
Got connected & XFCE working!

Had a feeling it was a bVNC settings issue and it was.....

Changed from 'Basic VNC' to 'UltraVNC' setting and Voila! it connected and I got to XFCE desktop!

And the suggested port 5901 worked.

Now need to do some tweaking and I'm all set.....

- Change Timezone and set time

- Adjust display resolution to be readable


Used Terminal and installed Firefox, runs OK....

Thanks to spook and vader for your help!

Mark
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

NormMonkey

  • Full Member
  • ***
  • Posts: 110
    • View Profile
Termux or UserLand - Linux & LXDE or XFCE
« Reply #10 on: January 03, 2020, 01:14:46 pm »
Quote from: ArchiMark
Now need to do some tweaking and I'm all set.....

- Change Timezone and set time

- Adjust display resolution to be readable

Has changing DPI had any effect?
This article has useful information: https://wiki.archlinux.org/index.php/Xorg#D...ay_size_and_DPI
Try for example:
xrandr --dpi 192

Note you will need to restart applications so that they notice the change.  
Also note the bit about the optional Xresource
Xft.dpi  
You may need to explicitly set this to the same value (e.g. 192)

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Termux or UserLand - Linux & LXDE or XFCE
« Reply #11 on: January 03, 2020, 01:19:52 pm »
Quote from: NormMonkey
Quote from: ArchiMark
Now need to do some tweaking and I'm all set.....

- Change Timezone and set time

- Adjust display resolution to be readable

Has changing DPI had any effect?
This article has useful information: https://wiki.archlinux.org/index.php/Xorg#D...ay_size_and_DPI
Try for example:
xrandr --dpi 192

Note you will need to restart applications so that they notice the change.  
Also note the bit about the optional Xresource
Xft.dpi  
You may need to explicitly set this to the same value (e.g. 192)

Thank you for your input, NormMonkey!

I think I set DPI to 150 in bVNC prefs, if I recall correctly...

Also, took spook's advice and set display res in bVNC to 1080 x 540....

Fairly readable now...but might want to try making text a bit larger, for my ol' eyes.....

Overall, this is working great now....

Got my lil' tiny Targus usb mini-mouse connected, since I'm using Cosmo on my desk at work right now....

Like not having to reboot to switch OS's....

I purchased Andronix Premium and their modded Manjaro OS with XFCE desktop install.

 

Mark
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

spook

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
Termux or UserLand - Linux & LXDE or XFCE
« Reply #12 on: January 03, 2020, 03:08:33 pm »
Hi Mark,

So sorry I didn't get back to you sooner. Been a bit crazy here with family stuff and I have been negligent in checking my email. It probably would have made your experience a lot easier if I had shared a screenshot of my settings! But I'm really glad you got there in the end.

It's pretty cool having a full Linux desktop over Android. When I get a sec, I want to stremline the startup process so I can use a shortcut to start Termux, then Andronix and VNCserver all at once. Once I get that sorted, I'll let you know.

By the way, I don't know if I mentioned it, but another cool feature of this setup is being able to access your Linux desktop from another computer on the network running VNC. May not be useful to you, but I use it a fair bit.

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Termux or UserLand - Linux & LXDE or XFCE
« Reply #13 on: January 03, 2020, 03:39:25 pm »
No worries, spook, figured you were busy with the holiday.....

Yes, please let us know if you get your streamline idea working...sounds great....

Good to know about connecting to Cosmo from another computer....

Thanks,

Mark
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

spook

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
Termux or UserLand - Linux & LXDE or XFCE
« Reply #14 on: January 04, 2020, 11:54:12 pm »
By the way - I had trouble running LibreOffice. Apparently - according to this thread: https://github.com/EXALAB/AnLinux-App/issues/24 - it is because /proc isn't fully mounted. This post by Zin-Uru in the thread helped me overcome the issue:

I've found a way. You can edit file /usr/lib/libreoffice/program/oosplash with any HEX editor (bless for example). Just find text "/proc/version" (LibreOffice checks this file) and change to for example "/prod/version". Then you can create fake empty "/prod/version" file in the filesystem, then Office starts and works well (source code says /proc is very important but I can't find any issue, maybe because /proc partially accessible since it is "mounted" with proot to the guest system).
Not very fine method but now is the only one without root.