8

When I click on the Google Chrome icon from the launcher it does not open. I tried searching in the dash and clicking on its icon but it does not open at all. I tried the terminal as well, like this:

$ google-chrome

and this is the output:

 (google-chrome:19866): Gtk-CRITICAL **:
 IA__gtk_settings_set_long_property: assertion `GTK_SETTINGS
 (settings)' failed

 (google-chrome:19866): Gtk-CRITICAL **:
 IA__gtk_settings_set_long_property: assertion `GTK_SETTINGS
 (settings)' failed

 (google-chrome:19866): Gtk-CRITICAL **:
 IA__gtk_settings_set_long_property: assertion `GTK_SETTINGS
 (settings)' failed

 (google-chrome:19866): Gtk-CRITICAL **:
 IA__gtk_settings_set_long_property: assertion `GTK_SETTINGS
 (settings)' failed

 (google-chrome:19866): Gtk-CRITICAL **:
 IA__gtk_settings_set_string_property: assertion `GTK_SETTINGS
 (settings)' failed

 (google-chrome:19866): Gtk-CRITICAL **:
 IA__gtk_icon_theme_get_for_screen: assertion `GDK_IS_SCREEN (screen)'
 failed

 (google-chrome:19866): Gtk-CRITICAL **:
 IA__gtk_icon_theme_get_for_screen: assertion `GDK_IS_SCREEN (screen)'
 failed

 (google-chrome:19866): Gtk-CRITICAL **:
 IA__gtk_icon_theme_prepend_search_path: assertion `GTK_IS_ICON_THEME
 (icon_theme)' failed

 (google-chrome:19866): Gtk-CRITICAL **:
 IA__gtk_icon_theme_get_for_screen: assertion `GDK_IS_SCREEN (screen)'
 failed

 (google-chrome:19866): Gtk-CRITICAL **:
 IA__gtk_icon_theme_prepend_search_path: assertion `GTK_IS_ICON_THEME
 (icon_theme)' failed

 (google-chrome:19866): Gtk-CRITICAL **:
 IA__gtk_icon_theme_get_for_screen: assertion `GDK_IS_SCREEN (screen)'
 failed

 (google-chrome:19866): Gtk-CRITICAL **:
 IA__gtk_icon_theme_prepend_search_path: assertion `GTK_IS_ICON_THEME
 (icon_theme)' failed

 (google-chrome:19866): Gtk-CRITICAL **:
 IA__gtk_settings_set_string_property: assertion `GTK_SETTINGS
 (settings)' failed

 (google-chrome:19866): Gtk-CRITICAL **:
 IA__gtk_settings_set_string_property: assertion `GTK_SETTINGS
 (settings)' failed

 (google-chrome:19866): Gtk-CRITICAL **:
 IA__gtk_settings_set_string_property: assertion `GTK_SETTINGS
 (settings)' failed
 [19866:19866:0426/060718:ERROR:process_singleton_linux.cc(239)]
 readlink(/home/omar/.config/google-chrome/SingletonLock) failed:
 Invalid argument
 [19866:19866:0426/060718:ERROR:process_singleton_linux.cc(239)]
 readlink(/home/omar/.config/google-chrome/SingletonLock) failed:
 Invalid argument
 [19866:19866:0426/060718:ERROR:process_singleton_linux.cc(263)] Failed
 to create /home/omar/.config/google-chrome/SingletonLock: File exists
 [19866:19866:0426/060718:ERROR:process_singleton_linux.cc(239)]
 readlink(/home/omar/.config/google-chrome/SingletonLock) failed:
 Invalid argument
 [19866:19866:0426/060718:ERROR:chrome_browser_main.cc(1157)] Failed to
 create a ProcessSingleton for your profile directory. This means that
 running multiple instances would start multiple browser processes
 rather than opening a new window in the existing process. Aborting now
 to avoid profile corruption.
  • 3
    Can you please provide the operating system name and version by editing your question? – user25656 Apr 26 '13 at 4:30
  • Provide with your Ubuntu version you are using. Also, make sure no process of chrome is running (which looks like the problem based on what error you're seeing). For sanity check, before you click Chrome icon to launch it, run killall chrome in terminal and then start Chrome and see if it works. – Kushal Apr 26 '13 at 4:58
  • i use ubuntu 12.10 – Prince OmAr Apr 27 '13 at 6:05
  • i have forgotten to say that i tried reinstalling several times but no result – Prince OmAr Apr 27 '13 at 6:07
  • in addition gogle chrome works normaly on another ubuntu account but on my administrator acount it does not open – Prince OmAr Apr 27 '13 at 6:10
5

OVERVIEW

When google-chrome starts a session it creates some files under ~/.config/google-chrome and delete them when they are not in use anymore.

It is possible that some of these files remain there (because of some crash or upgrade or... whatever...). Then, when you try to run google-chrome it "thinks" that there is another active instance running and doesn't run the program (I'm assuming that you had verified in the list of processes that are no running instances of google-chrome).

SOLUTION

In this case, the basic solution is rename or delete these files, "SingletonLock", "SingletonCookie" and "SingletonSocket", and run google-chrome again. It will create these three files again and will run normally.

3

If you don't find the Singleton* files discussed in other answers, another source of this error is exhaustion of disk space.

Try df -h to see how much space you have left on your partitions; if any are full, free up some space and try again.

  • In my case this helped. Actually I had problem with all the applications which I didn't notice. After deleting and moving some data the google chrome started normally and so did the rest of the applications. – Rossi Milan Bob Aug 31 '17 at 8:35
1

Another solution that has worked is to remove

include "/usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc"

if the line is in your ~/.gtkrc-2.0 file

  • I have faced the issue and completely removed this file. It did work for me. – Reddy Aug 3 '16 at 7:19
1

There is another reason for this issue:

Making a backup of all your files in your user folder, and keep that backup locally at say /local_backups/... (for later transfer, etc.) might cause chromium to behave the same way.

In this scenario there are not Singleton* files in folder, but it interferes with some files in the backup. (Don't ask me how...)

I resolved this issue by removing the backup. Then it worked again.

Hope this helps anybody...

0

Reason you got this error is,

you don't have permission to /home/$USER/.config/google-chrome/SingletonLock this path.

Follow below steps it worked for me,

  • go inside /home/$USER/.config folder (cd /home/$USER/.config)
  • Give all the permission to google-chrome (sudo chmod 777 google-chrome)
  • Run google chrome(google-chrome)

Hope this would help.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.