dbus-run-session(1)


NAME

   dbus-run-session - start a process as a new D-Bus session

SYNOPSIS

   dbus-run-session [--config-file FILENAME] [--dbus-daemon BINARY] [--]
                    PROGRAM [ARGUMENTS...]

   dbus-run-session --help

   dbus-run-session --version

DESCRIPTION

   dbus-run-session is used to start a session bus instance of dbus-daemon
   from a shell script, and start a specified program in that session. The
   dbus-daemon will run for as long as the program does, after which it
   will terminate.

   One use is to run a shell with its own dbus-daemon in a text-mode or
   SSH session, and have the dbus-daemon terminate automatically on
   leaving the sub-shell, like this:

   dbus-run-session -- bash

   or to replace the login shell altogether, by combining dbus-run-session
   with the exec builtin:

   exec dbus-run-session -- bash

   Another use is to run regression tests and similar things in an
   isolated D-Bus session, to avoid either interfering with the "real"
   D-Bus session or relying on there already being a D-Bus session active,
   for instance:

   dbus-run-session -- make check

   or (in automake(1)):

         AM_TESTS_ENVIRONMENT = export MY_DEBUG=all;
         LOG_COMPILER = dbus-run-session
         AM_LOG_FLAGS = --

OPTIONS

   --config-file=FILENAME, --config-file FILENAME
       Pass --config-file=FILENAME to the bus daemon, instead of passing
       it the --session argument. See dbus-daemon(1).

   --dbus-daemon=BINARY, --dbus-daemon BINARY
       Run BINARY as dbus-daemon(1), instead of searching the PATH in the
       usual way for an executable called dbus-daemon.

   --help
       Print usage information and exit.

   --version
       Print the version of dbus-run-session and exit.

EXIT STATUS

   dbus-run-session exits with the exit status of PROGRAM, 0 if the --help
   or --version options were used, 127 on an error within dbus-run-session
   itself, or 128+n if the PROGRAM was killed by signal n.

ENVIRONMENT

   PATH is searched to find PROGRAM, and (if the --dbus-daemon option is
   not used or its argument does not contain a / character) to find
   dbus-daemon.

   The session bus' address is made available to PROGRAM in the
   environment variable DBUS_SESSION_BUS_ADDRESS.

   The variables DBUS_SESSION_BUS_PID, DBUS_SESSION_BUS_WINDOWID,
   DBUS_STARTER_BUS_TYPE and DBUS_STARTER_ADDRESS are removed from the
   environment, if present.

BUGS

   Please send bug reports to the D-Bus mailing list or bug tracker, see
   http://www.freedesktop.org/software/dbus/

SEE ALSO

   dbus-daemon(1), dbus-launch(1)


More Linux Commands

manpages/baudrate.3ncurses.html
baudrate(3ncurses) - curses environment query routines......
The baudrate routine returns the output speed of the terminal. The number returned is in bits per second, for example 9600, and is an integer. The erasechar rou

manpages/vdir.1.html
vdir(1) - list directory contents - Linux manual page.......
vdir.1 - List information about the FILEs (the current directory by default). Sort entries alphabetically if none of -cftuvSUX nor --sort is specified. Mandator

manpages/bytes.3pm.html
bytes(3pm) - Perl pragma to force byte semantics rather than
The use bytes pragma disables character semantics for the rest of the lexical scope in which it appears. no bytes can be used to reverse the effect of use bytes

manpages/Tk_HandleEvent.3.html
Tk_HandleEvent(3) - invoke event handlers for window system
Tk_HandleEvent is a lower-level procedure that deals with window events. It is called by Tcl_ServiceEvent (and indirectly by Tcl_DoOneEvent), and in a few other

manpages/auparse_first_record.3.html
auparse_first_record(3) - reposition record cursor (ManPage)
auparse_first_record repositions the internal cursors of the parsing library to point to the first record in the current event. RETURN VALUE Returns -1 if an er

manpages/lndir.1.html
lndir(1) - create a shadow directory of symbolic links to an
The lndir program makes a shadow copy todir of a directory tree fromdir, except that the shadow is not populated with real files but instead with symbolic links

manpages/sivtest.1.html
sivtest(1) - interactive MANAGESIEVE test program (ManPage)
sivtest is a utility that allows you to authenticate to a MANAGESIEVE server and interactively issue commands to it. Once authenticated you may issue any MANAGE

manpages/pselect6.2.html
pselect6(2) - synchronous I/O multiplexing - Linux man page
select() and pselect() allow a program to monitor multiple file descriptors, waiting until one or more of the file descriptors become ready for some class of I/

manpages/XML::DOM::PerlSAX.3pm.html
XML::DOM::PerlSAX(3pm) - Old name of XML::Handler::BuildDOM
XML::DOM::PerlSAX was renamed to XML::Handler::BuildDOM to comply with naming conventions for PerlSAX filters/handlers. For backward compatibility, this package

manpages/XtAppMainLoop.3.html
XtAppMainLoop(3) - query and process events and input.......
If the X event queue is empty, XtAppNextEvent flushes the X output buffers of each Display in the application context and waits for an event while looking at th

manpages/Tcl_SetCommandInfo.3.html
Tcl_SetCommandInfo(3) - implement new commands in C.........
Tcl_CreateObjCommand defines a new command in interp and associates it with procedure proc such that whenever name is invoked as a Tcl command (e.g., via a call

manpages/mono-service.1.html
mono-service(1) - Mono ServiceProcess host - Linux man page
The mono-service is a host to run services built with the ServiceProcess assembly. Use mono-service to run services that use the 1.0 assemblies and use mono-ser





We can't live, work or learn in freedom unless the software we use is free.