0

I can open only some folders which are on desktop, but anyway they are without action buttons. When I try to run some programms like "google chrome", or "ccsm" via terminal (ctrl+alt+f1), i got error: GtkWarning: could not open display. Trying to run command: sudo dpkg-reconfigure compiz , got answer:

/var/lib/dpkg/info/compiz.config: 1: /var/lib/dpkg/info/compiz.config: [general]: not found
/var/lib/dpkg/info/compiz.config: 2: /var/lib/dpkg/info/compiz.config: backend: not found
/var/lib/dpkg/info/compiz.config: 3: /var/lib/dpkg/info/compiz.config: plugin_list_autosort: not found
/var/lib/dpkg/info/compiz.config: 5: /var/lib/dpkg/info/compiz.config: [gnome_session]: not found
/var/lib/dpkg/info/compiz.config: 6: /var/lib/dpkg/info/compiz.config: backend: not found
/var/lib/dpkg/info/compiz.config: 7: /var/lib/dpkg/info/compiz.config: integration: not found
/var/lib/dpkg/info/compiz.config: 8: /var/lib/dpkg/info/compiz.config: plugin_list_autosort: not found
/var/lib/dpkg/info/compiz.config: 9: /var/lib/dpkg/info/compiz.config: profile: not found
/var/lib/dpkg/info/compiz.config: 11: /var/lib/dpkg/info/compiz.config: [general_ubuntu]: not found
/var/lib/dpkg/info/compiz.config: 12: /var/lib/dpkg/info/compiz.config: backend: not found
/var/lib/dpkg/info/compiz.config: 13: /var/lib/dpkg/info/compiz.config: integration: not found
/var/lib/dpkg/info/compiz.config: 14: /var/lib/dpkg/info/compiz.config: plugin_list_autosort: not found
/var/lib/dpkg/info/compiz.config: 15: /var/lib/dpkg/info/compiz.config: profile: not found

Guest session and other user session are working, but main (mine) is not. What can i do ?

2 Answers2

0

To open an application from tty1 (CTRL + ALT + F1) in your xsession (CTRL + ALT + F7), you must first export the display variable which specifies the xsession. Here's an example. Press CTRL + ALT + F1 and sign in with your username and password. Then, run the following command:

export DISPLAY=:0

Now you may execute the command to run the application and it should open in your xsession:

ccsm

and press CTRL + ALT + F7 to return to the xsession.

Now, scroll down to the unity plugin and enable it.

Please post any errors, don't worry about warnings.

mchid
  • 43,546
  • 8
  • 97
  • 150
  • Yes. i opened ccsm and turned on plugins, i checked all checkboxes which has guest session in ccsm window, but anyway the same problem.. I rebooted too, but nothing ( – Арманд Грундманис Oct 04 '15 at 11:50
  • How does this answer the question? (not sarcastic, wondering) – TheWanderer Oct 04 '15 at 12:30
  • 1
    @Zacharee1 what question, actually there is no question. I decided to tackle the almost error message (gtk warning) to show OP how to run a command on tty1 and have it start in the xsession 'When I try to run some programms like "google chrome", or "ccsm" via terminal (ctrl+alt+f1), i got error: GtkWarning: could not open display.' Aside from that, it looks like a duplicate of http://askubuntu.com/questions/17381/unity-doesnt-load-no-launcher-no-dash-appears – mchid Oct 04 '15 at 12:40
  • @АрмандГрундманис Okay, if the "unity" plugin is enabled, you must disable the "window decoration" plugin as they conflict. – mchid Oct 04 '15 at 12:43
  • @mchid "Window decoration" plugin is disabled ( – Арманд Грундманис Oct 04 '15 at 13:32
  • @Zacharee1 I tried many of resolutions in that link, nothing helps.. – Арманд Грундманис Oct 04 '15 at 13:32
0

Found resolution from other question answer:

After many spent days and many SO threads read, I found that this seems to be an Ubuntu open Bug (Status 'Incomplete' as of Juli 2015). More information about it here: bugs.launchpad.net/ubuntu/+bug/1285444 The quick solution seems to be: $ mv ~/.config/dconf/user ~/.config/dconf/user.old – julianromera Jul 8 at 19:04

For me, answer is:

mv ~/.config/dconf/user ~/.config/dconf/user.old

But default icons are displayed in left panel, not mine i was sorted earlier.