Skip to content
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

mate-session auto suspend if & is being used #13

Open
JanuszChmiel opened this issue May 6, 2020 · 0 comments
Open

mate-session auto suspend if & is being used #13

JanuszChmiel opened this issue May 6, 2020 · 0 comments

Comments

@JanuszChmiel
Copy link

I have tried to start desktop environments in Arch Linux ARM64 by using The following approach

unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
export LD_PRELOAD=usr/lib/libandroid-shmem.so

export DISPLay=:0
Then I have install xinit package and X86 video dummi driver
I have installed x11-vnc
I had to use special xorg.conf file
then I have started xinit &
I have started x11vnc by typing

x11vnc -display :0 -bg -nopw -listen localhost -xkb -forever -ncache 10 -ncache_cr -noshm

I have not used -noshm because x11vnc allocates too many shared memory regions so it crashes even while using yours library.
The advantage of my approach is that GUI of X11 apps will never crash because of The need to switch between Termux window and X11vnc screen.
I Am using TCP/IP sockets to communicate with Pulseaudio sound server which run from Termux.
I Am using dummy video driver because screen output is not important for Me. I do not see at all. And XVFB or other VNC apps produces graphical output which produces crashes while using Firefox or other apps which require OPENGL or 3D hardware acceleration.
but when running mate-session &
it allocates some shared memory regions but it automatically suspend. But when I do not use mate-session with & char, it do not crash. It do not suspend mate-session.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant