You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

vncsession.man.in 3.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. .TH vncsession 8 "" "TigerVNC" "Virtual Network Computing"
  2. .SH NAME
  3. vncsession \- start a VNC server
  4. .SH SYNOPSIS
  5. .B vncsession
  6. .RI [-D]
  7. .RI < username >
  8. .RI <: display# >
  9. .SH DESCRIPTION
  10. .B vncsession
  11. is used to start a VNC (Virtual Network Computing) desktop.
  12. .B vncsession
  13. performs all the necessary steps to create a new user session, run Xvnc with
  14. appropriate options and starts a window manager on the VNC desktop.
  15. .B vncsession
  16. is rarely called directly and is normally started by the system service
  17. manager.
  18. .SH -D OPTION
  19. .B vncsession
  20. by default forks and detaches. If the -D option is used, it does not fork and
  21. detach. This option is provided for use with system service managers that
  22. require services to run in the foreground. This option is not intended for
  23. debugging in a login shell from a terminal or for running
  24. .B vncsession
  25. from a terminal as an ordinary user.
  26. .SH FILES
  27. Several VNC-related files are found in the directory $HOME/.vnc:
  28. .TP
  29. @CMAKE_INSTALL_FULL_SYSCONFDIR@/tigervnc/vncserver-config-defaults
  30. The optional system-wide equivalent of $HOME/.vnc/config. If this file exists
  31. and defines options to be passed to Xvnc, they will be used as defaults for
  32. users. The user's $HOME/.vnc/config overrides settings configured in this file.
  33. The overall configuration file load order is: this file, $HOME/.vnc/config,
  34. and then @CMAKE_INSTALL_FULL_SYSCONFDIR@/tigervnc/vncserver-config-mandatory. None are required to exist.
  35. .TP
  36. @CMAKE_INSTALL_FULL_SYSCONFDIR@/tigervnc/vncserver-config-mandatory
  37. The optional system-wide equivalent of $HOME/.vnc/config. If this file exists
  38. and defines options to be passed to Xvnc, they will override any of the same
  39. options defined in a user's $HOME/.vnc/config. This file offers a mechanism
  40. to establish some basic form of system-wide policy. WARNING! There is
  41. nothing stopping users from constructing their own vncsession-like script
  42. that calls Xvnc directly to bypass any options defined in
  43. @CMAKE_INSTALL_FULL_SYSCONFDIR@/tigervnc/vncserver-config-mandatory. The overall configuration file load
  44. order is: @CMAKE_INSTALL_FULL_SYSCONFDIR@/tigervnc/vncserver-config-defaults, $HOME/.vnc/config, and then
  45. this file. None are required to exist.
  46. .TP
  47. $HOME/.vnc/config
  48. An optional server config file wherein options to be passed to Xvnc are listed
  49. to avoid hard-coding them to the physical invocation. List options in this file
  50. one per line. For those requiring an argument, simply separate the option from
  51. the argument with an equal sign, for example: "geometry=2000x1200" or
  52. "securitytypes=vncauth,tlsvnc". Options without an argument are simply listed
  53. as a single word, for example: "localhost" or "alwaysshared".
  54. The special option
  55. .B session
  56. can be used to control which session type will be started. This should match
  57. one of the files in \fI/usr/share/xsessions\fP. E.g. if there is a file called
  58. "gnome.desktop", then "session=gnome" would be set to use that session type.
  59. .TP
  60. $HOME/.vnc/passwd
  61. The VNC password file.
  62. .TP
  63. $HOME/.vnc/\fIhost\fP:\fIdisplay#\fP.log
  64. The log file for Xvnc and the session.
  65. .SH SEE ALSO
  66. .BR vncviewer (1),
  67. .BR vncpasswd (1),
  68. .BR vncconfig (1),
  69. .BR Xvnc (1)
  70. .br
  71. https://www.tigervnc.org
  72. .SH AUTHOR
  73. Tristan Richardson, RealVNC Ltd., D. R. Commander and others.
  74. VNC was originally developed by the RealVNC team while at Olivetti
  75. Research Ltd / AT&T Laboratories Cambridge. TightVNC additions were
  76. implemented by Constantin Kaplinsky. Many other people have since
  77. participated in development, testing and support. This manual is part
  78. of the TigerVNC software suite.