The difference between them is to open a new display or connect to the existing one.
The easiest way for building server is choose the System -> Preference -> Remote Desktop and set up your settings.
But it's the solution in Gnome.
I use E17 as my window-manager, and don't know how to set up the vino-preference.
So, I've tried vncserver, vnc4server and finally x11vnc.
x11vnc is a server which let you control desktop environment remotely. It needs to start up X window first and use this display session( usually :0 ).
The most common problem is Xlib find display:0 error as .Xauthority isn't well set up.
When you see the tips and tried
ps -wwaux|grep authYou'll find the existing session's auth. Here's the file used by Enlightenment 17.
x11vnc -auth /var/:0.XauthAlso, you need a password for authentication of remote connection.
Just exec vncpasswd to generate ~/.vnc/passwd and use -rfbauth $HOME/passwd.
Or use -usepw. A .x11vncrc will be helpful.
As the client side, you can just use RealVnc's free client to connect the server.
ps. I found some errors as :
Xlib: connection to ":0.0" refused by serverGoogle it and find the solution:
Xlib: No protocol specified
sudo xhost local:kimkBut I still don't understand why.
沒有留言:
張貼留言