02-11-2018, 12:09 PM
Hello.
I have some issue with setup remote connection to VNC bu using x11vnc. The main idea is provide remote connection to logon window .
What i did:
Make changes in:
Just setup resolution 1920x1200
install x11vnc and password:
creating service:
vi /lib/systemd/system/x11vnc.service
reload services list:
sudo systemctl daemon-reload
enable autostart:
sudo systemctl enable x11vnc.service
start service:
sudo systemctl start x11vnc.service
check status:
sudo systemctl status x11vnc.service
but afre connection i getting black screen with mouse but on monitor i can run application and etc.
Question: Whan have to be changed to get picture on VNC client ?
I have some issue with setup remote connection to VNC bu using x11vnc. The main idea is provide remote connection to logon window .
What i did:
Make changes in:
Code:
nano /etc/X11/xorg.conf.d/20-modesetting.conf
Code:
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Rockchip Graphics"
SubSection "Display"
Virtual 1920 1200
EndSubSection
EndSection
Section "Device"
Identifier "Rockchip Graphics"
Driver "modesetting"
Option "AccelMethod" "glamor"
Option "Dri2Vsync" "false"
EndSection
install x11vnc and password:
Code:
sudo apt install x11vnc
Code:
$ x11vnc -storepasswd "password" /etc/x11vnc.pass
creating service:
vi /lib/systemd/system/x11vnc.service
Code:
[Unit]
Description=Start x11vnc at startup.
After=multi-user.target
[Service]
Type=simple
ExecStart=/usr/bin/x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth /etc/x11vnc.pass -rfbport 5900 -shared
[Install]
WantedBy=multi-user.target
reload services list:
sudo systemctl daemon-reload
enable autostart:
sudo systemctl enable x11vnc.service
start service:
sudo systemctl start x11vnc.service
check status:
sudo systemctl status x11vnc.service
but afre connection i getting black screen with mouse but on monitor i can run application and etc.
Question: Whan have to be changed to get picture on VNC client ?