lkpvoice.blogg.se

Vnc server commands
Vnc server commands






vnc server commands

N If the X display is :N, try to set the VNC display toĪlso be :N This just sets the -rfbport option to 5900+N The program will exit immediately if that port is not available.

vnc server commands

XAUTHORITY if a user is already logged into the X session.) When running as root, FD_XDM=1 will be tried if the initial -auth guess fails. To find the XAUTHORITY before anyone has logged into an X session yet, use: x11vnc -env FD_XDM=1 -auth guess. XDM/GDM/KDM: if you are running x11vnc as root and want Use '-auth guess' to have x11vnc use its -findauth mechanism (described below) to try to guess the XAUTHORITY filename and use it. Setting the XAUTHORITY environment variable to file before startup. auth file Set the X authority file to be file, equivalent to See the description below of the " -display WAIT."Įxtensions, where alias " -find" will find the user's display automatically, and " -create" will create a Xvfb session if no session is Equivalent to setting the DISPLAY environment variable to disp. Server process must be running on same machine and support MIT-SHM. display disp X11 server display to connect to, usually :0. Lines may be continued with a "\" as the last character of a line (it becomes a space Leading and trailing whitespace is trimmed off. The "#" character comments out to the end of the line in the usual way (backslash "wait 100" or " -wait 100" are acceptable and equivalent lines.

vnc server commands

a line that is either "forever" or " -forever" may be used and are equivalent. Option name, the leading character "-" is not required. % vncviewer -encodings 'copyrect tight zrle hextile' localhost:0Īlso, use of a VNC password (-rfbauth or -passwdfile) is strongly recommended.Ĭonfig file support: if the file $HOME/.x11vncrc exists then each line in it is treated as a single command line option. Ssh -t -L 5900:localhost:5900 far-host 'x11vnc -localhost -display :0' See the FAQ for details how to tunnel the VNC connection through an encrypted channel such as ssh(1). usually "vncviewer hostname:0".īy default x11vnc will not allow the screen to be shared and it will exit as soon as the client disconnects. Machine running x11vnc and N is XXXX - 5900, i.e. One would next run something like this on the local machine: "vncviewer hostname:N" where "hostname" is the name of the Once x11vnc establishes connections with the X11 server and starts listening as a VNC server it will print out a string: PORT=XXXX where XXXX is typicallyĥ900 (the default VNC server port). Then run this in another window on the machine you are sitting at: Run this command in a shell on the remote machine "far-host"








Vnc server commands