Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 204157 - rox-start crashes ... looks like a typo in the script
Summary: rox-start crashes ... looks like a typo in the script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Rox Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-03 07:32 UTC by M. Edward Borasky
Modified: 2008-01-03 18:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description M. Edward Borasky 2008-01-03 07:32:52 UTC
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 M. Edward Borasky 2008-01-03 07:45:14 UTC
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 Jim Ramsay (lack) (RETIRED) gentoo-dev 2008-01-03 18:15:15 UTC
Fun and exciting!  I'll see what I can do.  Thanks for the report.
Comment 3 Jim Ramsay (lack) (RETIRED) gentoo-dev 2008-01-03 18:16:22 UTC
By the way, which version of rox-session did you actually install?
Comment 4 Jim Ramsay (lack) (RETIRED) gentoo-dev 2008-01-03 18:57:09 UTC
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!