-
Notifications
You must be signed in to change notification settings - Fork 382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any method on creating our own TightVNC server before launching bVNC? #441
Comments
I am confused by this. UserLAnd already comes with a VNC server installed as part of it and already does this |
Hi @corbinlc, I will try to be more specific, I am using two devices here. Device 1: Device 2: So the issue I am having is when using bVNC for both Debian and Ubuntu filesystem the LD_PRELOAD is not working (it shows a warning that such command does not exist). Also forcing LIBGL1 to always use software render does not work either. Because of this many gui apps do not work. Couple of examples are:
Those are the only packages I tried. The only reason I bought up Gnuroot debian is because on a limb when i was installing UserLAnd on my G6 (it had Gnuroot Debian) I created a VNC session but i forgot to install bVNC and it defaulted to using Gnuroot Debians VNC and it didnt exhibit the LD_Preload error (so i assume the always use software command also became succesful). So I assumed it had to something to do with Gnuroot Debian tightVNC settings, that is why I asked if there is anyway to customize that for UserLAnd |
Interesting. @luongthomas I think you still have our S9. When you are back in town, can you drop it off? |
@Root-voidX when you said that Octave could not plot, were you using the Octave app from the apps list in UserLAnd, or did you install it manually? |
@corbinlc yes I have it installed manually as I have had Debian installed manually as well. What specific settings did you use? Would I need to tinker with bVNC app to get it working right? |
@Root-voidX @corbinlc I've got blender working in both Ubuntu + Mate desktop and Debian + LXDE on a samsung S8 Pie What I did after apt update and upgrade was:
PS. Unfortunately starting userland application with vnc rather than ssh prevent me from opening Blender, in the terminal it says like "check that you have a working openGL system" PS PS I dont know much about linux nor what im doing... |
Does glxgears work for you? Also how does this differ from just clicking LXDE from the app tab? |
@Root-voidX see above, also what do u mean "how this differs from LXDE from the app tab" |
@corbinlc @Root-voidX ok, it looks like the only thing needed is tigervnc-standalone-server with the xorg extension for it (check with this: "apt search tigervnc") and you will see there's the above package and the xorg extension. I couldn't find and I don't know if tightvnc has a xorg extension. For me openGL works only with tigervnc and the xorg extension using SSH |
@nakele Thank you for looking into it I appreciate it. I did something similar using LinuxOnDeX in console mode, i just didn't know the exact command in tightvnc to get software based acceleration for gpu. I guess the geometry line enables software rendering. |
@Root-voidX just a clarification, I think it's just software rendering on the CPU, no GPU acceleration I believe. Also only tigervnc supports openGL. Tight vnc does not. It's 2 different servers. |
tigervnc works for me, thanks! |
That is super cool! I have a question. Does tigerVNC also allow for Vulcan rendering in a UserLand linux enviroment on Android? |
Do you still use UserLAnd? I tried using this method, but i still couldnt get glxgears or blender to work.. |
I do. I use ubuntu and xfce. Just install tigervnc-standalone-server and the tigervnc-xorg-extension however I'm using userland version 2.4.0 as newer version broke synaptic. |
Oh okay, i will try to reinstall those packages! Also can you share what you wrote in you're .vnc/xstartup file Currently i have this: `!/bin/sh [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup I guess I could use lxde and use exe startlxde & in the final line. However with my mate install, when i load into bVNC i get the rgb buffer error for glxgears. Is there anything else i am missing? |
My xstartup says this: xrdb $HOME/.Xresources Fix to make GNOME workexport XKL_XMODMAP_DISABLE=1 |
So, I tried Debian and the vnc server dies before I can see anything. I tried with xfce. I never seen this before: It seems tigervnc server and debian aren't working together? |
Appreciate the assist! And furthur research seems to say that with Debian 9 Stretch tigervnc even has the same issue on x86. So ubuntu is the way to go. I saw your xstartup file, doesn't it have startxfce4 & at the end? I will try it tonight! Side note for bVNC are you connecting to 127.0.0.1:1 on port 5901? |
i got it to work, glxgears and blender open too! however synaptic wont work because i am using the latest version (not an issue I apt-get blender anyway). Does your browser work? or is there a workaround for that? @nakele |
Yeah, my startup file doesnt seem to have startxfce4, I think it's because when I installed ubuntu, I did it via VNC rather than SSH. And I believe Userland setup something automatically. Then I switched to SSH after the initial installation Side note for bVNC, yes im connecting to "localhost" and port "5901" For the browser what kind of problem do you have? and what browser? PS. I messed up something with my installation, now it doesnt work, might be the march Samsung software update or just me but I can't get it to work properly again :/ |
I found you on Reddit :) |
|
Hey man! About the browser, well for now the default browser wont launch with error /1. However I will try firefox. I followed all your steps, beside having to give read and write permission to xstartup with chmod command. The vnc defaulted to llvmpipe |
So when launching into bVNC there is an LD PRELOAD warning and it causes some gui applications to not work or display empty windows (looking at Octave). I have noticed that it is due to a tightVNC server and a software raster not being loaded when clicking on VNC connection on UserLAnd using bVNC. Before in GNUDebian, tightVNC was setup using a script before hand. I have found out that on my G6 (which has both Gnuroot Debian and UserLAnd), I didn't need to install bVNC as Gnuroot debian had it in terms of Xterm. So when I launched VNC using userland, I had no LD PRELOAD warning. So I am wondering how I can setup tightVNC via UserLAnd without closing or launching a new session? It this is succesful, using gdebi to side load LIBGL1_MESA_SWX11 will allow software raster and this would allow all GUI apps to run
The text was updated successfully, but these errors were encountered: