Post here if you are a new Porteus member and you're looking for some help.
-
Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#17
by Ed_P » 17 Mar 2013, 18:09
Thanks
brokenman but
Code: Select all
root@porteus:~# chmod 4755 /usr/lib/chromium/chromium_sandbox
chmod: cannot access ‘/usr/lib/chromium/chromium_sandbox’: No such file or directory
root@porteus:~#
I thought maybe the Chrome install hadn't been saved but when I tried to PPM it again it said it was already installed.
Ed
Ed_P
-
Hamza
- Warlord
- Posts: 1908
- Joined: 28 Dec 2010, 07:41
- Distribution: Porteus
- Location: France
Post#18
by Hamza » 17 Mar 2013, 18:30
Code: Select all
chmod 4755 /opt/google/chrome/chrome-sandbox
NjVFQzY2Rg==
Hamza
-
Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#19
by Ed_P » 17 Mar 2013, 20:31
Thanks Hamza but:
Code: Select all
root@porteus:~# chmod 4755 /opt/google/chrome/chrome-sandbox
chmod: cannot access ‘/opt/google/chrome/chrome-sandbox’: No such file or directory
root@porteus:~#
Is it possible the porteussave.dat file is not saving things in the /opt/ and /usr/ folders?
Code: Select all
root@porteus:~# ls /opt
porteus-scripts/ ppm/
root@porteus:~# ls /usr/
X11@ bin/ i486-slackware-linux/ lib/ man/ spool@
X11R6/ dict@ include/ libexec/ sbin/ src/
adm@ doc/ info/ local/ share/ tmp@
root@porteus:~#
Ed
Ed_P
-
brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Post#20
by brokenman » 17 Mar 2013, 21:22
Oops, sorry i misread the thread. My solution was for a common problem in chromium which is a google-chrome clone. Please try to start google-chrome from a guest console to see what error message it gives you.
How do i become super user?
Wear your underpants on the outside and put on a cape.
brokenman
-
Hamza
- Warlord
- Posts: 1908
- Joined: 28 Dec 2010, 07:41
- Distribution: Porteus
- Location: France
Post#21
by Hamza » 17 Mar 2013, 21:38
That's sure. That is not a standard Google Chrome install. Every releases of Google Chrome put cores files in /opt/google/chrome.
Please try to reinstall it using slackyd.
NjVFQzY2Rg==
Hamza
-
Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#22
by Ed_P » 17 Mar 2013, 22:52
Ok. The PPM app is Chromium not Chrome.
When I logged off of root and onto guest I used PPM to find and download Chromium it worked and Activated. However it wouldn't start from the menu until I did the chmod 4755 /usr/lib/chromium/chromium_sandbox command which I had to do from root mode which took me time to find my notes on how to do that. So Chromium under guest does now work.
Code: Select all
guest@porteus:~$ chmod 4755 /usr/lib/chromium/chromium_sandbox
chmod: changing permissions of ‘/usr/lib/chromium/chromium_sandbox’: Operation not permitted
guest@porteus:~$ su
Password: toor
root@porteus:/home/guest# chmod 4755 /usr/lib/chromium/chromium_sandbox
root@porteus:/home/guest#
However the PlayFour URL doesn't work in it either.
I also tried the playfour html code saved from IE in FF and it still wouldn't work. I found that when the URL runs in IE IE runs in "quirk mode". If I switch IE to run in "IE 9 mode" the URL reacts the same as in FF. I didn't try the IE 8 or 7 modes.
Does FF have a "quirk mode"?
Ed
Ed_P
-
Hamza
- Warlord
- Posts: 1908
- Joined: 28 Dec 2010, 07:41
- Distribution: Porteus
- Location: France
Post#23
by Hamza » 17 Mar 2013, 23:00
That may means something. Perhaps IE is allowing cross domain without that XML file.
NjVFQzY2Rg==
Hamza
-
Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#24
by Ed_P » 17 Mar 2013, 23:50
NOW, if I open the URL in FF here and check it's Page Info / General info I see that FF is using Render Mode: Quirks mode!!!!
Ed
Ed_P
-
Hamza
- Warlord
- Posts: 1908
- Joined: 28 Dec 2010, 07:41
- Distribution: Porteus
- Location: France
Post#25
by Hamza » 18 Mar 2013, 07:12
Either that website doesn't deliver the same page if you use IE. Or IE is allowing cross domain which is very insecure but if that allow you to play..
NjVFQzY2Rg==
Hamza
-
Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#26
by Ed_P » 18 Mar 2013, 12:45
Apparently it has something to do with the current date. If you use a URL in the format:
http://games.myway.com/player/arcade/id ... tml?clid=1 where clid is any number greater than 0 it works. The clid references a date in a table and 0 equates to the current date.
Without rewriting the code I don't think there is much more that can be done. Thanks for you help guys.
Ed
Ed_P
-
Hamza
- Warlord
- Posts: 1908
- Joined: 28 Dec 2010, 07:41
- Distribution: Porteus
- Location: France
Post#27
by Hamza » 18 Mar 2013, 13:25
Yeah, it seems the page is not rendered in the same way than without that clid variable. Maybe this variable was made for that propose. Anyway that appear to be the solution to your problem.
NjVFQzY2Rg==
Hamza
-
Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#28
by Ed_P » 18 Mar 2013, 15:16
The variable is tied to this code:
Code: Select all
var todayDay = "";
function todayDate() {
var result="";
if ((clid==0)||(typeof(pffdata) == "undefined")){
var now=new Date();
var y=now.getYear()+"";
var yy=y.substring(2,4);
if (navigator.userAgent.indexOf("Firefox")!=-1){
yy = LZ(yy);
}
which in turn is tied to the xml file name that includes the date. ie pff130318.xml, pff130317.xml, pff130316.xml.
If the browser's userAgent field can be modified to not reference FireFox the URL might work fine.
Ed
Ed_P
-
Hamza
- Warlord
- Posts: 1908
- Joined: 28 Dec 2010, 07:41
- Distribution: Porteus
- Location: France
Post#29
by Hamza » 18 Mar 2013, 20:07
Please have a look
there for explanation about editing User Agent in Firefox.
In order to see your actual user agent, please have a look
there.
NjVFQzY2Rg==
Hamza
-
Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#30
by Ed_P » 19 Mar 2013, 04:07
Excellent links
Hamza.
I tried them, even customized one of the user agents to be IE 5, but it didn't solve the missing file problem.
Thanks for your help
Hamza.
Ed
Ed_P