meefik / linuxdeploy

Install and run GNU/Linux on Android
https://meefik.github.io/linuxdeploy
GNU General Public License v3.0
5.18k stars 678 forks source link

Launch LXDE at startup #1254

Open Fatichti opened 3 years ago

Fatichti commented 3 years ago

Hello,

I work on a Linux tablet, (the Galaxy Tab 2 7.0) which is rooted. I have a Linux software (running on the pc) and I will try to put it on my tablet via Linux Deploy. I have installed Linux Debian Jessy with LXDE environment on my android tablet

################################################################# How is it possible to launch LXDE at startup ? #################################################################

Besides, what are the rights to use Linux Deploy, is it possible to use it in a professional context ?

Finally, I think the application is great !!!!

falkor2k15 commented 3 years ago

Maybe like this: firstly install lxde then run ls -l /usr/share/xsessions lists all the desktop environments available in the format name.desktop Presumably it will just be called lxde.desktop?

you then cd /home/username sudo nano .xsession The last line ends in --exit-with-session name.session Change the last part of that to lxde.session then save and restart

falkor2k15 commented 3 years ago

I found out it just uses a command in the xsession file called exec startlxde

Fatichti commented 3 years ago

Thank you for your reply.

I have already done the idea you suggest and it works.

I did not express myself well. I would like to know if it is possible to run LXDE at the start of the tablet:

Is this possible ?

taras-filatov commented 2 years ago

yes and no, about one step from full "yes".

linux deploy container can be started with android (setting autostart). and you set up some d.e. (lxde) inside container. you must understand, that that d.e. is inside vnc server, not on real video head, as on pc.

so your question must looks like "what android app and which way to start with android, after linuxdeploy (!), and automatically connect to container?"

i prefer bVNC to connect to container because of simulated touchpad mode (convinient from small phone screen). but it have no autosrart and autoconnect.