LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Grafpup
User Name
Password
Grafpup This forum is for the discussion of Grafpup Linux.

Notices

Reply
 
Search this Thread
Old 06-14-2007, 07:39 AM   #1
mike sumner
Member
 
Registered: Nov 2006
Location: Lincolnshire, England
Distribution: Debian Sid/Squeeze
Posts: 51

Rep: Reputation: 15
x fails to start in frugal install


I get dumped to the command line when booting grafpup 2.00 in a frugal install. "xwin" gets x up and running ok. The last lines before it stops are:
Patch mode 38 to resolution 1280x800 complete
-sh: /etc/profile: line 184: syntax error near unexpected token 'fi'
-sh: /etc/profile: line 184:' fi'

Does anyone have any idea why this is happening?
Cheers, Mike
 
Old 06-16-2007, 11:24 AM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Post the contents of /etc/profile (or a good-sized chunk around l.184, at least) - sounds like something in the nature of someone dropping a semi-colon.
 
Old 06-16-2007, 06:52 PM   #3
mike sumner
Member
 
Registered: Nov 2006
Location: Lincolnshire, England
Distribution: Debian Sid/Squeeze
Posts: 51

Original Poster
Rep: Reputation: 15
Well, i've scrapped the frugal install after it failed with 3 different save files. each time it starts off ok but my the time I have added some settings and a couple of applications, e.g. open office, it all goes wrong again.

I have reinstalled as a type 2 which was fine after I corrected the resolution. Set up the wifi, added the open office dotpup and rebooted. No X . X starts and then exits and I cannot restart it by running xorgwizard/xwin. It just dumps me back to the command line. I have been running puppy and grafpup on this machine for 6 months now and never had this problem before.

Edit - the patch Nathan has just released seems to have fixed this.(See the grafpup news page)

Last edited by mike sumner; 06-17-2007 at 06:01 AM.
 
Old 06-18-2007, 09:11 PM   #4
disciplepup
Member
 
Registered: Jun 2007
Location: Auckland, NZ
Distribution: Puppy & Grafpup
Posts: 54

Rep: Reputation: 17
The patch didn't seem to fix it for me, but removing the # from line 183 in /etc/profile seemed to.
 
Old 06-19-2007, 09:54 AM   #5
mike sumner
Member
 
Registered: Nov 2006
Location: Lincolnshire, England
Distribution: Debian Sid/Squeeze
Posts: 51

Original Poster
Rep: Reputation: 15
My line 183 in /etc/profile is "exec login" with no comment, so I assume if that line was originally commented, the patch must have taken the # off, as I haven't.
Mike
 
Old 06-19-2007, 07:15 PM   #6
Nathan F
Grafpup Developer
 
Registered: Jun 2006
Location: Houston, TX
Distribution: Grafpup, Dyne::Bolic
Posts: 63

Rep: Reputation: 15
That line should only ever be active during the very first boot of the live cd, before a save file has been created. Otherwise the login manager is supposed to be started from /etc/inittab. I'm not sure why it would have remained uncommented in your case, but thingsshould get back to normal if you comment it out.

Nathan
 
Old 06-20-2007, 01:33 AM   #7
mike sumner
Member
 
Registered: Nov 2006
Location: Lincolnshire, England
Distribution: Debian Sid/Squeeze
Posts: 51

Original Poster
Rep: Reputation: 15
Hi Nathan, this type2 install is working fine at the moment so I think I will leave that line as it is for now.
Mike
 
Old 06-20-2007, 03:19 PM   #8
disciplepup
Member
 
Registered: Jun 2007
Location: Auckland, NZ
Distribution: Puppy & Grafpup
Posts: 54

Rep: Reputation: 17
I definitely get the error Mike described, running as root with a frugal install, unless I uncomment that line, so I don't know what's going on. I'll have a look at /etc/inittab.
EDIT
No - I am lost - it clearly has nothing to do with /etc/inittab, and whatever script comments out line 183 should actually comment out that whole if statement. Right? It seems right anyway. Can we please have a fix for whatever script does this please? (I intend to remaster with a whole bunch of fixes and some additional stuff)
BTW could it have something to do with the fact that I never boot from a live cd, I just do a manual frugal install? - I wouldn't have thought that would affect it though.

Last edited by disciplepup; 06-20-2007 at 05:27 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
wingrub and frugal install... assasukasse Linux - Desktop 1 03-05-2009 07:43 AM
Damn Small Linux Frugal install fakie_flip Linux - Software 3 09-18-2006 02:40 AM
Manual Frugal Install R¬dical_úD DamnSmallLinux 11 09-17-2006 12:01 PM
Etch Unstable NetInstall CD fails on start of install BuckRogers01 Debian 9 07-16-2005 01:58 PM
Compactflash frugal install Sparkfist DamnSmallLinux 0 03-02-2005 02:41 PM


All times are GMT -5. The time now is 02:58 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration