![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
![]() Group: Members Posts: 290 Joined: 21-February 18 From: Sicily Member No.: 818,107 ![]() |
Hi, please,
I need some hints to use X server with UserLAnd (Debian 9.5) inside Android with VNC, as I don't want use XSDL server for now... I've UserLand already configured, installed vnc4server and ip = 192.168.1.13, then Real VNC in the Gemini. How can I configure to see X server (graphic) in VNC (Gemini)? And how to do to connect from another VNC viewer, for example from macOS? Thank you Salvo PS: sorry for the OT: not Gemini-Debian ![]() |
|
|
![]()
Post
#2
|
|
![]() Group: Members Posts: 290 Joined: 21-February 18 From: Sicily Member No.: 818,107 ![]() |
ok, I was able to go in VNC so:
CODE export DISPLAY=:1 In VNC: CODE 127.0.0.1:1 but now I've a high resolution but low color depth (256?): how can I enable full color? EDIT: I got full color setting CODE vncserver -depth 32 (instead of 24) in UserLAnd.Then, I've now a limited keyboard: I can type "/" but not "-", "~" and all symbols with FN in my Italian keyboard (with XSDL I had problems also with /). The rest is ok! The keyboard should be Gemini (Italian) as set in Android and it is ok in UserLand text only shell, but in X is not possible to use all the symbols with FN key. Any help? TIA. Salvo |
|
|
![]()
Post
#3
|
|
![]() Group: Members Posts: 290 Joined: 21-February 18 From: Sicily Member No.: 818,107 ![]() |
A workaround by Nicholas M. Glykos:
«I have a solution but requires a bit of work. The trick is to run tigervnc with the -RemapKeys flag. Give it a try with CODE vncserver -RemapKeys="0x6F->0x2D" and you should see that the minus key is mapped correctly. The trouble is that you have to do this for all keys of interest.» Now, I need to remap, at least, minus "-" (here FN- ![]() Well, the Nicholas' tip continues: «You do CODE apt install vtshowkeys and then you get the correct codes from the proper termux terminal. Then you open aterm, run again vtshowkeys and get the wrong ones. And then you add all these in the RemapKeys flags, place it in .bashrc and you are done.» |
|
|
![]()
Post
#4
|
|
Group: Members Posts: 41 Joined: 9-August 18 Member No.: 827,849 ![]() |
A workaround by Nicholas M. Glykos: «I have a solution but requires a bit of work. The trick is to run tigervnc with the -RemapKeys flag. Give it a try with CODE vncserver -RemapKeys="0x6F->0x2D" and you should see that the minus key is mapped correctly. The trouble is that you have to do this for all keys of interest.» Now, I need to remap, at least, minus "-" (here FN- ![]() Well, the Nicholas' tip continues: «You do CODE apt install vtshowkeys and then you get the correct codes from the proper termux terminal. Then you open aterm, run again vtshowkeys and get the wrong ones. And then you add all these in the RemapKeys flags, place it in .bashrc and you are done.» Hi, do you know if there is a way to make this also work in UserLAnd on Android? fn key doesnt change to alternate symbols, but still modifies loudness and brightness, so making o instead of minus ![]() |
|
|
![]()
Post
#5
|
|
![]() Group: Members Posts: 290 Joined: 21-February 18 From: Sicily Member No.: 818,107 ![]() |
Hi, do you know if there is a way to make this also work in UserLAnd on Android? fn key doesnt change to alternate symbols, but still modifies loudness and brightness, so making o instead of minus ![]() I don't have a simple hint, the problem in Android (in Gemini, still in Oreo 8.1) is that FN key is not handled by graphical modality for Linux emulation. Userland see it in text mode, but not in graphical mode (i.e. lxde). Salvo |
|
|
![]()
Post
#6
|
|
![]() Group: Members Posts: 290 Joined: 21-February 18 From: Sicily Member No.: 818,107 ![]() |
Definitely I found a workaround for Userland (lxde) + VNC:
• using "show virtual keyboard - right below - and then input "special" keys (- ~ ` and those that require FN) with "keyboard icon" of VNC - left up - it works. I'm using "Gemini Keyboard" (Italian setting) and Gboard as keyboards. I'm using Userland for a complete Debian 9.9 distribution (SSH) and its preconfigured lxde X with VNC in Android Oreo 8.1. The only problem is that the display is too small and I had to use "pinch" to enlarge or shrink too often ![]() Well, now it is simpler to simulate Linux in Android (not rooted) with Userland (and lxde + VNC as X). |
|
|
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 12th December 2019 - 07:50 AM |