LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-07-2008, 02:31 PM   #1
Marks256
LQ Newbie
 
Registered: Dec 2005
Location: Southeastern Minnesota
Distribution: Ubuntu
Posts: 16

Rep: Reputation: 0
X doesn't start on it's own. Probably a really easy fix. Already in runlevel 5...


Hey. Been a while since i have been here. Just an update, i have been using Ubuntu quite happily for well over a year now, and i have learned quite a bit about linux...


Anyway, to my problem.

I'm building a digital picture frame out of an old HP Pavilion N3300 (~550MHz 256mb ram... 20gb hd, which i am going to replace with a compactflash soon)

I am following this build guide http://www.thewares.net/item/33

I have everything working "fairly" decently. I worked out most of the bugs on my own, but i cannot figure out how to get X to start on its own, without me having to start it manually. I don't mind SSHing into it and starting X with the "startx" command, but what if want to bring the DPF to a friends house to show how geeky i am?

It is already in run level 5, but there is no gui. I am using fluxbox.

It works fine if i type in "startx"

Thanks.


let me know if anymore information is needed...
 
Old 06-07-2008, 05:48 PM   #2
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Try to change runlevel to 3 or 4 to see will it solve the problem.
Did you have these problems with Gnome?If so,I would like to know do you have S30gdm file in /etc/rc5.d directory.
Our friend Google said that there have been some issues with fluxbox(I didn't use it much)and X sessions,so you should check ~/.fluxbox/startup configuration file and /usr/share/xsessions/fluxbox.desktop. When you see the following text:
Code:
exec=fluxbox
replace that line with
Code:
exec=startfluxbox
Here's what I have found;
Quote:
For some reason, the Fluxbox packages in Ubuntu's universe repositories
create non-standard (at least for Fluxbox) xsession files
 
Old 06-07-2008, 07:37 PM   #3
Marks256
LQ Newbie
 
Registered: Dec 2005
Location: Southeastern Minnesota
Distribution: Ubuntu
Posts: 16

Original Poster
Rep: Reputation: 0
No, i didn't have this problem before I tried to use fluxbox. I don't think it was gnome...


There is no ~/.fluxbox/startup config file, nor is there a /usr/share/xsessions/fluxbox.desktop

Edit: but there is an rc5.d directory

Second edit: Should have mentioned this before, i am using Damn Small Linux.

Last edited by Marks256; 06-07-2008 at 07:42 PM.
 
Old 06-07-2008, 07:48 PM   #4
Marks256
LQ Newbie
 
Registered: Dec 2005
Location: Southeastern Minnesota
Distribution: Ubuntu
Posts: 16

Original Poster
Rep: Reputation: 0
No for no reason at all (I did not edit anything), it is saying the following when i type in "startx"

Code:
xinit: NO such file or directory (errno 2): no program named "//.xinitrc" in PATH

Specify a program on the command line or make sure that /usr/X11R6/bin is in your path.


waiting for X server to shut down
 
Old 06-08-2008, 07:08 AM   #5
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
So,do they(X and fluxbox)start with that error or now they don't start?
What you should do is edit
Code:
/usr/X11R6/lib/X11/xinit/xinitrc
and add something like
Code:
/usr/local/fluxbox/startfluxbox
because I assume that's the path in DSL.Anyway your path should look something like;
Code:
PATH="$PATH:/usr/X11R6/bin" startx
To avoid that error you must start X in this way;
Code:
/usr/X11R6/bin/startx
 
Old 06-08-2008, 06:34 PM   #6
Marks256
LQ Newbie
 
Registered: Dec 2005
Location: Southeastern Minnesota
Distribution: Ubuntu
Posts: 16

Original Poster
Rep: Reputation: 0
they are not even starting at all.


I am going to reinstall damn small (again) and see if that works...

thanks for your help so far.
 
Old 06-08-2008, 07:34 PM   #7
Marks256
LQ Newbie
 
Registered: Dec 2005
Location: Southeastern Minnesota
Distribution: Ubuntu
Posts: 16

Original Poster
Rep: Reputation: 0
I think my laptop isn't going to live long enough to fix the problem... It might be the hard drive, so i will replace it quick and see what happens.
 
Old 06-08-2008, 09:07 PM   #8
Marks256
LQ Newbie
 
Registered: Dec 2005
Location: Southeastern Minnesota
Distribution: Ubuntu
Posts: 16

Original Poster
Rep: Reputation: 0
Yeah, it is the laptop.

It could be bad ram... i will replace that when i get a chance, I am not feeling very energetic at the moment.
 
  


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
Need a little help with my NVIDIA driver should be and easy fix buckwheat12 Mandriva 1 02-06-2005 10:46 PM
mdk9.2 problems and a easy fix erik Mandriva 10 11-19-2003 12:16 PM
X does not start in Runlevel 4, but i Runlevel 3 Rabon Linux - General 3 11-18-2003 07:24 AM
9.0 to 9.1 upgrade broke cups but has easy fix vickp Slackware 0 10-05-2003 06:42 PM
Mouse Problem - SHould be easy to fix! VIP3R Linux - Hardware 2 05-17-2003 06:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:28 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration