Giter VIP home page Giter VIP logo

xvnc-cli's Introduction

Xvnc-cli

This is an unofficial extension of TigerVNC. This script allow using the xstartup file to setup a vnc session. Xvnc-cli script is similar to the old vncserver program in TigerVNC.

Build and installation

To build this script run the make command in the directory.

$ make

To install you can run this command. It will install the script in /usr/local/bin

$ sudo make install

You can specify an alternative prefix when running make through environment variable. The following command will install Xvnc-cli in /usr/bin.

$ PREFIX=/usr make install

Globals options

usage:  [:<display>]
        [-bg]
        [-use-xstartup]
        [-xstartup <file>]

        -kill <X-display>

        -list

Example uses

This script uses the first available X11 display number when not supplied as argument.

Starting a VNC server using Xsession on the first available X11 display number.

$ Xvnc-cli

Starting a VNC server using Xsession on a specific display number.

$ Xvnc-cli :1

Starting a vnc server using the xstartup script located in $HOME/.vnc/xstartup.

$ Xvnc-cli -use-xstartup

Starting a VNC server in background

$ Xvnc-cli -bg -use-xstartup

Listing all running VNC server

$ Xvnc-cli -list

TigerVNC server sessions:

X DISPLAY #	PROCESS ID
:2		     27137
:1		     12504

Notes

The xstartup script works best when starting a window manager such as Xmonad, dwm and others. Some environment variable might need to be set for some programs to work.

For desktop environment such as kde or gnome-shell, it's better to start the VNC server using Xsession without using any xstartup options.

xvnc-cli's People

Contributors

frederichamel avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.