2022-05-09, 07:00 PM
(2022-05-07, 09:22 PM)Opie91 Wrote: Regarding the VNC issues. This seems to have been a problem for some time. If you plug a monitor in when you power up the PI it seems to do fine. Think I found a work around, this is from my notes:
Video Setup
Change cmdline.txt in /boot Add the following: video=HDMI-A-1:1280x720@60D
Mine looks like:
console=serial0,115200 console=tty1 root=PARTUUID=9c48fee6-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash video=HDMI-A-1:1280x720@60D plymouth.ignore-serial-consoles
After making these changes I have had no VNC/monitor issues at all. This locks it in at 720, but that is good enough for me plus it keeps VNC snappy.
Did not work for me still getting this fucking error when no monitor is connected:
Code:
(opencpn:2): Gdk-ERROR **: 18:58:29.512: The program 'opencpn' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAccess (attempt to access private resource denied)'.
(Details: serial 380 error_code 10 request_code 130 (MIT-SHM) minor_code 1)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)