I just got a question recently about how to run chrome or chromium on our school machine (Ubuntu 16.04).
The machine is configured to mount user home folder via samba server with 700 permission. (I think it causes the problem of executing chrome)
When I execute the chromium-browser from terminal
chromium-browser
[26686:26686:1023/143803.603878:ERROR:process_singleton_posix.cc(278)] Failed to create /home/NETID/kharam/.config/chromium/SingletonLock: Operation not supported (95)
[26686:26686:1023/143803.603961:ERROR:chrome_browser_main.cc(1639)] 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.
I've tried to run chromium on the local account, and it ran.
Is there possible solution??????????
Thank you
Related
I'm developing a Chrome extension using Native Messaging technology.
The extension works but on some PC I get an error:
Failed to start native messaging host
Some (not all) of those PCs are running Windows 7 and Windows XP:
Windows 7: the PC has a lock icon on the user folder C:\Users. I can fix it as per the tutorial and restart the PC to make my extension work.
Windows XP: I have not found any solution for this error.
According to nativeMessaging documentation I think the problem is related to filesystem security permissions of chrome.exe file and native host application file.
I've asked many times about this problem on other groups and searched on google but haven't found a solution.
How to check the permissions of chrome.exe file or native host application file are okay?
Any other way to solve this problem?
Xan comment is correct. --enable-native-messaging not needed.
Udpated:
Finally, this answer Failed to start native messaging host on Windows, "COMSPEC is not set" hellped me.
Need add ComSpec in System variables.
I have my test writtern in Sikuli. If I RDP into my Jenkins machine and have an active session then all sikuli test pass.
However, for overnight run, my Jenkins machine do get locked. I want to understand if anyone has encountered and solved this issue before. Thanks!
Note: I cannot leave my Jenkins slave unlocked due to security reasons.
It's a known limitation of RDP.
Two optional solutions:
install VNC Server (like UltraVNC), and run it as Windows service (make sure it is launched during Windows logon).
OR
Create a batch file that disconnects Remote Desktop, and use it instead of closing the RDP session with the regular X button. The batch command is:
%windir%\system32\tscon.exe %SESSIONNAME% /dest:console
I have successfully installed right version of Chrome from here:
https://www.google.com/intl/en/chrome/browser/
However, when I am trying to open it via the terminal I get the following error:
labsPC:~$ google-chrome-stable
[26712:26712:0916/155253:ERROR:process_singleton_posix.cc(264)] Failed to create /home/invictuslabs/.config/google-chrome/SingletonLock: File exists
[26712:26712:0916/155253:ERROR:chrome_browser_main.cc(1155)] 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.
What should I do? Thanks.
I'm running activator h2-browser command in a ubuntu 14.04 system in a directory containing associated files of a play framework project. when that command is executed my web application is running on localhost:9000. after running activator h2-browser in the root directory of my project I get the following message in terminal:
[info] Loading project definition from /XXXX/project
[info] Set current project to XXXX (in build file:/XXX/)
TCP server running at tcp://127.0.1.1:9092 (only local connections)
PG server running at pg://127.0.1.1:5435 (only local connections)
Web Console server running at http://127.0.1.1:8082 (only local connections)
after executing that command 127.0.1.1:8082 is opened. I expect to see the h2-browser but actually I get The connection was reset on firefox.
how can I possibly fix it?
Mine worked just as said in documention:
You can browse the contents of your database by typing h2-browser at the play console. An SQL browser will run in your web browser.
To get into play console, I tried activator first and then at the prompt, entered h2-browser.
Running activator h2-browser
has the same effect for me as for the OP. I also tried following the statement on the documentation, so I tried to get into play console by typing "activator", but that seems to start the application and leaves me with three [info]s, the last being
a.e.s.Slf4jLogger - Slf4jLogger started
and no way to enter h2-browser.
Edit: The answer was already posted here! Continuous mode did it for me.
I am attempting to use the MAC version of Nitrous Desktop (v1.02) such that I can connect my Nitrous IO ~/workspace to my Nitrous directory on my MAC. Currently I have an application in ~/workspace that I have been syncing through git so that I can use Sublime to edit locally, but I want to get Nitrous Desktop working.
Everything in the app is green: File Sync is green and says Monitoring, Port Forwarding works great, all other buttons work well. Problem is that the Nitrous directory on my local mac never updates with what is on the Nitrous IO server. As a test I tried to create a directory and inserted a file under Nitrous, but it also doesn't sync to the server.
Git works fine for me, but if anyone knows what I am doing wrong to get file sync to work, please let me know.
Any help appreciated.
Currently Nitrous Desktop will sync files that are found within ~/workspace/, and files will be monitored locally and uploaded when changed. As of Jan 24, polling is not supported, so you will need to click Sync Now within the Mac app if you are making changes on the server end (Nitrous box).