LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 07-08-2009, 08:19 AM   #1
barn63
Member
 
Registered: Jan 2006
Location: Macomb, IL
Distribution: Slackware 13.1
Posts: 152

Rep: Reputation: 17
Gentoo newb stuck with FVWM


I am new to Gentoo and mostly have used Slackware. I installed Gentoo yesterday. That went ok, no problems. I installed Xorg-server and configured it. I tested that with "X -config /etc/X11/xorg.conf". The video and mouse worked just fine. I then emerged FVWM with the following use flags "debug gtk imlib nls perl png readline stroke tk truetype". The installation seemed to work but when I use startx the screen goes black and then back to the terminal. No error messages just the x server is waiting to shutdown. I really like Gentoo and I really like FVWM. Is there any error logs I can look at to trouble shoot the problem why FVWM doesn't start or any advice on setting up FVWM for Gentoo.
 
Old 07-08-2009, 11:15 AM   #2
monsm
Member
 
Registered: Feb 2005
Location: London, UK
Distribution: Gentoo
Posts: 568

Rep: Reputation: 37
Did you try the wiki?
http://en.gentoo-wiki.com/wiki/FVWM

Mons
 
Old 07-08-2009, 12:48 PM   #3
barn63
Member
 
Registered: Jan 2006
Location: Macomb, IL
Distribution: Slackware 13.1
Posts: 152

Original Poster
Rep: Reputation: 17
Those are the instructions I pretty much followed. When I run "XSESSION=fvwm2 startx -- :1 vt8" the screen goes black then goes back to the console with the message "Waiting for X server to shutdown". I would try and troubleshoot it but there are no error messages and I don't know of any logs I can look at except for the Xorg log. That seems to be fine and even when I test the config file, it works. SO I am thinking its an issue with FVWM but I am not sure were to look or start.
 
Old 07-08-2009, 02:13 PM   #4
NeddySeagoon
Gentoo support team
 
Registered: May 2009
Location: 56N 3W
Distribution: Gentoo
Posts: 178

Rep: Reputation: 41
barn63,

Code:
USE="debug gtk imlib nls perl png readline stroke tk truetype"
is a really bad idea. the debug use flag makes some applications unusable.

Turn off debug and rebuild anything you emerged with that flag on.
Code:
emerge -uDNav world
If you are a developer, you may need to use the debug flag on selected packages only.

With the rebuild complete, startx again and post the content of /var/log/Xorg.0.log that file will tell what Xorg did as it started and maybe why it failed.
 
Old 07-08-2009, 11:25 PM   #5
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
I haven't seen that wiki, but I'd rather forget about it. If you are launching fvwm by hand, using startx, just use your ~/.xinitrc file to launch fvwm, put this inside ~/.xinitrc:

Code:
fvwm > ${HOME}/fvwm.log 2>&1
After that, do "startx". The fvwm logs will be on ~/fvwm.log, the X log will probably be at /var/log/Xorg.0.log or similar. If that doesn't work, then we can start looking at both logs.

PS. As very well NeddySeagoon said above, try a -debug build unless you have a very good reason to enable "debug". However, the debug flag with fvwm shouldn't cause any big issues, only some extra verbosity. But just in case, try without it.

Last edited by i92guboj; 07-08-2009 at 11:27 PM.
 
Old 07-09-2009, 08:16 AM   #6
barn63
Member
 
Registered: Jan 2006
Location: Macomb, IL
Distribution: Slackware 13.1
Posts: 152

Original Poster
Rep: Reputation: 17
When I install, should I emerge xorg-server, configure and test THEN emerge FVWM or is there a better process?
 
Old 07-09-2009, 01:57 PM   #7
NeddySeagoon
Gentoo support team
 
Registered: May 2009
Location: 56N 3W
Distribution: Gentoo
Posts: 178

Rep: Reputation: 41
barn63,

Gentoo works best when you build on what you know works.
Install xorg-server and make it work with twm, which you get too.
If you want to use a binary blob video driver, make Xorg work using the vesa driver first.

When it works, you can add to it, that keeps the problem space smaller when you add something and it breaks.
 
Old 07-09-2009, 02:55 PM   #8
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
In any case, looking at the logs as I told you above will tell you where the problem is: X or fvwm.
 
  


Reply



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
Another LFS newb is stuck: Linux API headers won't install smoochie Linux From Scratch 19 06-13-2008 11:26 AM
transparency not correct with fvwm + fvwm-crystal + radeon hedpe Linux - Desktop 0 01-30-2007 07:59 PM
Stuck in FVWM kc0ltv SUSE / openSUSE 3 07-02-2006 01:53 PM
Newb stuck on namespaces (C++) rusty_turkey Programming 2 06-08-2006 10:11 PM
NEWB @ Gentoo ElvenShade66 Linux - Newbie 14 12-24-2003 01:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 03:12 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