diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2006-05-23 02:40:49 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2006-05-23 02:40:49 (GMT) |
commit | 9df1c653d56141a4fb4e965eb51a5320c3eeb0c0 (patch) | |
tree | d3083331c92690f73646bf2f1dcee14e83bd166a /README | |
parent | a32007ec7a87726f5ab780745382a47b07c40997 (diff) |
Make it easy to run two instances. See README
Diffstat (limited to 'README')
-rw-r--r-- | README | 48 |
1 files changed, 7 insertions, 41 deletions
@@ -26,46 +26,12 @@ To run the python sources from your source tree run $ sugar/sugar -You can also run the components separately: +Running multiple instances on the same machine +============================================== - $ source ./setup-run-from-source.sh # needs bash - -in the top-level directory. Icons and other resources are still loaded -from the installed location though. - -To run the shell - - $ cd shell/src - $ ./shell.py - -You can run activities like this - - $ cd browser - $ ./browser.py - -(Just remember to have the shell running) - - -Running two instances on the same machine -========================================= - -1) Install Xephyr -2) Add another user to your machine, lets call that user 'sugar' -2) Run Xepyhr as your normal user: - - $ Xephyr -ac -host-cursor -screen 800x600 :1 - -3) In a new shell: - - $ su sugar - - $ dbus-daemon --session --print-address - -4) In another new shell - - $ su sugar - - $ export DISPLAY=:1 - $ export DBUS_SESSION_BUS_ADDRESS=<output dbus-daemon command from above> - $ metacity & - -5) In the previous shell, run sugar +You can use the --test command line options. +For example: +sugar/sugar --test my_nick_name1 +sugar/sugar --test my_nick_name2 +... |