unity --reset doesn't work if you're not logged in to any unity session
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
Expired
|
Low
|
Unassigned | ||
unity (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
unity --reset is great if you've broken your configuration.
However. If you've broken it so much that it doesn't even start sensibly, or you can't find a terminal, then you need to use a VT or ssh to run it. And then you get this error:
% unity --reset
WARNING: no DISPLAY variable set, setting it to :0
GConf-WARNING **: Client failed to connect to the D-BUS daemon:
//bin/dbus-launch terminated abnormally with the following error: No protocol specified
No protocol specified
Autolaunch error: X11 initialization failed.
Traceback (most recent call last):
File "/usr/bin/unity", line 222, in <module>
reset_
File "/usr/bin/unity", line 84, in reset_unity_
except (GError, AttributeError), e:
NameError: global name 'GError' is not defined
[1] 8838 exit 1 unity --reset
It should definitely work in this case, restoring your config so that you can log in!
Changed in unity (Ubuntu): | |
assignee: | nobody → Didier Roche (didrocks) |
Changed in unity: | |
importance: | Undecided → Low |
status: | New → Confirmed |
Status changed to 'Confirmed' because the bug affects multiple users.