Comment 7 for bug 692569

Revision history for this message
James Haigh (james.r.haigh) wrote :

I'm using unity 3.8.16-0ubuntu1~natty1 and I don't see --replace in the man page. It does accept the option but I don't see any difference; both with and without, the existing instance crashes with 'Segmentation fault'.

With or without other options, I would expect:
* unity /with/ --replace to quit rather than crash the existing instance, and
* unity /without/ --replace to say it's already running and quit.

Take Compiz for example:
james@james-ThinkPad-X60-Tablet:~$ compiz
compiz (core) - Error: Screen 0 on display ":0.0" already has a window manager; try using the --replace option to replace the current window manager.

I've attached output from the terminal for when a second instance of unity is run. I added space-hash-comment to note when I did something. See lines starting with space-hash (' #').