How to use Linux version


Starting Desktop On-Call

Open a Terminal. Then input the following command and press Enter.

dtoc
Note that PATH environmental variable for a directory of this command has already been set at installation time.

Stopping Desktop On-Call

Open a Terminal. Then input the following command and press Enter.

dtocstop
You may receive the message "kill (process number): No such process" on a screen. This is not a problem.

Inquiring a status of Desktop On-Call

Open a Terminal. Then input the following command and press Enter.

dtocstat

When Desktop On-Call is running, the following message is displayed on a screen or written into a log file.

Host PC status : Desktop On-Call is running.

When Desktop On-Call is not running, the following message is displayed on a screen or written into a log file.

Host PC status : Desktop On-Call is not running.

When the other guest PC (i.e. User ID: my userid, IP address: 10.20.30.40) is connecting, the following message is displayed on a screen or written into a log file.

Connected by UserID : myuserid / IPAddress : 10.20.30.40

When the other guest PC is not connecting, the following message is displayed on a screen or written into a log file.

Connected by UserID : / IPAddress :

Auto starting Desktop On-Call with X-Window

You can start Desktop On-Call automatically when starting X-Window. An example is described below.

The following description may not work depending on distributions, versions, desktop environments and settings on Linux. Therefore, please use the following description as a help and do your setting for your Linux. The redhat is used as a sample in the following description.

There are two ways to start X-Window on Linux. A method of starting Desktop On-Call automatically depends on a way of starting X-Windows on Linux. The following description show an example for the following two cases.

  1. Login from a Character User Interface (CUI) console
  2. Login from a Graphical User Interface (GUI) login panel

Login from a Character User Interface (CUI) console

  1. Prepare a default X initial script in a home directory ($HOME/.xinitrc). Copy an original file (/etc/X11/xinit/xinitrc) as follows:
    cp /etc/X11/xinit/xinitrc $HOME/.xinitrc
    Please note "."(a period) is used in a file name.

  2. Edit a .xinitrc file. Add a "dtoc" in a file.

    A samle of editting is as follows:

    ----------- (Omitted)--------------------------
    # The user may have their own clients they want to run.
    If they don't,
    # fall back to system defaults.
    dtoc
    if [ -f $HOME/.Xclients ]; then
        exec $HOME/.Xclients
    ----------- (Omitted)--------------------------
    

    Then, you can start Desktop On-Call automatically when you start X-Window by such as a xstart command. When you stop X-Window by any operation (i.e. Ctrl+Alt+Backspace), Desktop On-Call will stop automatically.

Login from a Graphical User Interface (GUI) login panel

    cp /etc/X11/xinit/Xclients $HOME/.Xclients
    Please note "."(a period) is used in a file name.

  1. Edit a .Xclients file. Insert a "dtoc" in a file.

    A sample of editing is as follows:

    ----------- (Omitted)--------------------------
    # The input method server will die with X
    dtoc
    # Determine the LC_CTYPE locale category setting
    tmplang="en_US"
    if test x$LC_ALL != x ; then
        tmplang=$LC_ALL
    elif test x$LC_CTYPE != x ; then
        tmplang=$LC_CTYPE
    elif test x$LANG != x ; then
        tmplang=$LANG
    fi
    ----------- (Omitted)--------------------------
    

    Then, you can start Desktop On-Call automatically when you login from a login panel and start X-Window. When you stop X-Window by any operation (i.e. Ctrl+Alt+Backspace), Desktop On-Call will stop automatically.

    If you have a $HOME/.xsession file, insert "dtoc" in a .xsession file.

[Back]