Bug 204157 - rox-start crashes ... looks like a typo in the script
Bug#: 204157 Product:  Gentoo Linux Version: 2007.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: rox@gentoo.org Reported By: znmeb@cesmail.net
Component: Ebuilds
URL: 
Summary: rox-start crashes ... looks like a typo in the script
Keywords:  
Status Whiteboard: 
Opened: 2008-01-03 07:32 0000
Description:   Opened: 2008-01-03 07:32 0000
I emerged all the rox-* ebuilds and tried to start the rox session with gdm.
Unfortunately, it crashed. The problem is in line 21-22 of the shell script
/usr/bin/rox-start:

for wm in xfwm4 sawfish sawmill enlightenment wmaker icewm blackbox fluxbox \\
   metacity kwin kwm fvwm2 fvwm 4Dwm twm; do

That double backslash at the end of line 21 is forcing bash to interpret the
"metacity" in the next line as a command, which crashes X.

It's a little better if I change line 21 to have a single backslash at the end.
Then it finds the first window manager in the list, "wmaker" on my machine, and
starts up, but it's still giving an error. There's a dialog box on the screen
that reads:

rox-start: failed to run /usr/lib/rox/ROX-Session/AppRun

If you installed this from the rox-session ebuild, this shouldn't ever
happen.  Please report this bug to http://bugs.gentoo.org/

I'll try to give you an xterm and a filer window instead - try to find
and run ROX-Session to fix the problem. Close the xterm to logout.

If all else fails, delete your .xsession and .xinitrc files to get the
system defaults.

Good luck!


I haven't tried any of this yet -- it said to file a bug, so I did. I didn't
get the xterm and filer window. I'll dig up ROX-Session and attach it.

------- Comment #1 From M. Edward Borasky 2008-01-03 07:45:14 0000 -------
No "ROX-Session" anywhere on the system -- "slocate -u" and "locate" can't find
it. It looks like the "rox-session" ebuild didn't install everything it's
supposed to.

------- Comment #2 From Jim Ramsay 2008-01-03 18:15:15 0000 -------
Fun and exciting!  I'll see what I can do.  Thanks for the report.

------- Comment #3 From Jim Ramsay 2008-01-03 18:16:22 0000 -------
By the way, which version of rox-session did you actually install?

------- Comment #4 From Jim Ramsay 2008-01-03 18:57:09 0000 -------
Nevermind what version, I know it was 0.30-r1.  I have fixed this in 0.30-r2,
coming soon to an rsync mirror near you!