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

X11VNC starts and stops continuously #616

Open
Z3r0shin opened this issue Dec 7, 2024 · 8 comments
Open

X11VNC starts and stops continuously #616

Z3r0shin opened this issue Dec 7, 2024 · 8 comments

Comments

@Z3r0shin
Copy link

Z3r0shin commented Dec 7, 2024

What were you doing?

Using a Pi3 A+, in portrait mode (commenting out the various dtoverlays in the config.txt file), it shows splash screen, connects to wifi correctly but keeps starting and stopping the X11VNC service continuously until the screens goes blank save from a rapidly blinking underscore in the top left cornerf for about 5 minutes before rebooting with the watchdog.

What did you expect to happen?

For it to load the webpage as it did before I've rotated the display

What happened instead?

See description above.

Was there an error message displayed? What did it say?

It didn't, except for the watchdog timer that rebooted the pi

Version of FullPageOS?

0.14.0 nightly

Screenshot(s) showing the problem:

20241207_164340
20241207_164322

If you are building FullPageOS - provide a build.log that is created for the build

@Z3r0shin
Copy link
Author

Z3r0shin commented Dec 7, 2024

I am new to compiling programs and stuff, else I'd remove the X11VNC since I don't need it and add the --no-memcheck flag to the chromium start script to prevent the "under 1g ram" chromium warning from popping up.

@Z3r0shin
Copy link
Author

Z3r0shin commented Dec 8, 2024

It seems the X11VNC is dependant on something that the dtoverlay provides and therefore goes exactly as its service file asks it to do : on_failure every 2 seconds.
I have no idea what I am doing.

@guysoft
Copy link
Owner

guysoft commented Dec 8, 2024

Can you run and share the output of

systemctl status x11vnc.service

?
It might tell us what the error is.

@Z3r0shin
Copy link
Author

Z3r0shin commented Dec 8, 2024

pi@fullpageos:~ $ systemctl status x11vnc.service
● x11vnc.service - VNC Server for X11
Loaded: loaded (/etc/systemd/system/x11vnc.service; enabled; preset: enabl>
Active: active (running) since Sun 2024-12-08 15:30:28 GMT; 897ms ago
Main PID: 2854
Tasks: 3 (limit: 667)
CPU: 1.222s
CGroup: /system.slice/x11vnc.service

Dec 08 15:30:28 fullpageos x11vnc[2854]: 08/12/2024 15:30:28 passing arg to lib>
Dec 08 15:30:28 fullpageos x11vnc[2854]: 08/12/2024 15:30:28 passing arg to lib>
Dec 08 15:30:28 fullpageos x11vnc[2854]: 08/12/2024 15:30:28 x11vnc version: 0.>
Dec 08 15:30:29 fullpageos x11vnc[2901]: xauth: unable to generate an authorit>
Dec 08 15:30:29 fullpageos x11vnc[2854]: 08/12/2024 15:30:29 -auth guess: faile>
Dec 08 15:30:29 fullpageos x11vnc[2854]: 08/12/2024 15:30:29 -auth guess: since>
Dec 08 15:30:29 fullpageos x11vnc[2854]: 08/12/2024 15:30:29 -auth guess: faile>
Dec 08 15:30:29 fullpageos systemd[1]: x11vnc.service: Main process exited, cod>
Dec 08 15:30:29 fullpageos systemd[1]: x11vnc.service: Failed with result 'exit>
Dec 08 15:30:29 fullpageos systemd[1]: x11vnc.service: Consumed 1.238s CPU time.
lines 1-18/18 (END)...skipping...
● x11vnc.service - VNC Server for X11
Loaded: loaded (/etc/systemd/system/x11vnc.service; enabled; preset: enabled)
Active: active (running) since Sun 2024-12-08 15:30:28 GMT; 897ms ago
Main PID: 2854
Tasks: 3 (limit: 667)
CPU: 1.222s
CGroup: /system.slice/x11vnc.service

Dec 08 15:30:28 fullpageos x11vnc[2854]: 08/12/2024 15:30:28 passing arg to libvncserver: -rfbport
Dec 08 15:30:28 fullpageos x11vnc[2854]: 08/12/2024 15:30:28 passing arg to libvncserver: 5900
Dec 08 15:30:28 fullpageos x11vnc[2854]: 08/12/2024 15:30:28 x11vnc version: 0.9.16 lastmod: 2019-01-05 pid: 2854
Dec 08 15:30:29 fullpageos x11vnc[2901]: xauth: unable to generate an authority file name
Dec 08 15:30:29 fullpageos x11vnc[2854]: 08/12/2024 15:30:29 -auth guess: failed for display=':0'
Dec 08 15:30:29 fullpageos x11vnc[2854]: 08/12/2024 15:30:29 -auth guess: since we are root, retrying with FD_XDM=1
Dec 08 15:30:29 fullpageos x11vnc[2854]: 08/12/2024 15:30:29 -auth guess: failed for display=':0'
Dec 08 15:30:29 fullpageos systemd[1]: x11vnc.service: Main process exited, code=exited, status=1/FAILURE
Dec 08 15:30:29 fullpageos systemd[1]: x11vnc.service: Failed with result 'exit-code'.
Dec 08 15:30:29 fullpageos systemd[1]: x11vnc.service: Consumed 1.238s CPU time.

Seems its something to do with Xauth? It can't find the .Xauthority file?

@Z3r0shin
Copy link
Author

Z3r0shin commented Dec 8, 2024

Running xauth list returns

pi@fullpageos:~ $ xauth list
fullpageos/unix:0 MIT-MAGIC-COOKIE-1 eabf04bbe75459048011cf86d412d5e3

@Z3r0shin
Copy link
Author

Z3r0shin commented Dec 8, 2024

pi@fullpageos:/home $ x11vnc -findauth
XAUTHORITY=

I guess this is not supposed to be blank?

@Z3r0shin
Copy link
Author

Is there anything else I can do? I haven't been able to do anything about it so far...

@guysoft
Copy link
Owner

guysoft commented Dec 13, 2024

No idea

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

2 participants