Problem 1: There is no lucid simple way to do this that is easy to find. Instead the best I can find is this:
http://askubuntu.com/questions/143838/h ... om-the-tty
Which converges on this solution more or less:
Code: Select all
export DISPLAY=:0; cinnamon --replace
Problem 1a: cinnamon command-line documentation is lacking. What do these options do and what are examples of their use:
--display
--clutter-display
--screen
totally cryptic to me and not documented.
Problem 1b: Some folk stipulate DISPLAY=:0 others DISPLAY=:0.0, what's the difference? I would love learn what's going on here, not just have a list of recipes to try.
Problem 2: It doesn't work for me.
If I do "export DISPLAY=:0; cinnamon --replace" on tty1 I receive this message:
Code: Select all
No protocol specified
Window manager error: Unable to open X display :0
But guess what? On tty1 this ""export DISPLAY=:1; cinnamon --replace"" actually restarts it! It works.
But it doesn't work for ":0" reporting instead:
Code: Select all
No protocol specified
Window manager error: Unable to open X display :0
What can I do to diagnose this further? To understand what is going on. To interpret this strange message "No protocol specified"
OK search online. I found this:
http://unix.stackexchange.com/questions ... l-specifie
It suggests "export $(dbus-launch)" which means nothing to me (lord only knows how that causes the mentioned dbus-daemon reinitialisation but for what it's worth on tty1 it simply reports "No protocol specified"
No progress.
I did find a similar forum post:
http://forums.linuxmint.com/viewtopic.p ... 8&t=159772
But again have learned nothing though did try the recipe "service mdm restart" which was not at all what I wanted (logged me out when I want to restart it and keep my windows!) and afterwards "cinnamon --replace" continues to report no protocol specified"
Now here is a cruncher. From a terminal window in Cinnamon, "cinnamon --replace" works! just not from tty1 logged in a root.
There are two issues here for me:
1) How do I fix my problem
2) How do I learn what's going on instead of getting a pile of recipe commands without explanation that might fix it?
What does "No protocol specified" mean?