ghans wrote:Most VNC servers spawn a different desktop session for each
connection. To get display :0 (the physical one) , use x11vnc.
ghans
Thank you!
I enter vncserver :0 -geometry 800x600.
There is a warning,
Code: Select all
raspberrypi:0 is taken because of /tmp/.X0-lock
Remove this file if there is no X server raspberrypi:0
A VNC server is already running as :0
Then i remove the .X0-lock and try again.
There is also a warning,
Code: Select all
raspberrypi:0 is taken because of /tmp/.X11-unix/X0
Remove this file if there is no X server raspberrypi:0
A VNC server is already running as :0
I remove it and try again. start successfully.
But when I login to the raspberry pi by vnc(5900), the screen is full of gray. The mouse is a "X". I can't see the desktop.
another problem is that
When I start the raspberry pi, it alway start up the graphical interface automatically. I try to configure the boot option in raspi-config or edit the /etc/inittab. But it still start up the graphical interface automatically.