Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
FVWM no longer starts with startx[/solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
dustfinger
Guru
Guru


Joined: 15 Aug 2004
Posts: 449

PostPosted: Mon Dec 14, 2009 1:51 am    Post subject: FVWM no longer starts with startx[/solved] Reply with quote

Problem:Since my most recent emerge -autDN world, startx no longer starts up fvwm.
uname -a Linux sylus 2.6.27-gentoo-r8 #2 SMP PREEMPT Sun Dec 13 18:04:28 MST 2009 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz GenuineIntel GNU/Linux
--EDIT#1 BEGIN--
/etc/make.confhttp://pastebin.com/m5f7ba1a7
--EDIT#1 END--
--EDIT#2 BEGIN --
sudo rc-update show
Code:
 * Broken runlevel entry: /etc/runlevels/default/lm_sensors
               acpid |      default                 
           alsasound | boot                         
            bootmisc | boot                         
             checkfs | boot                         
           checkroot | boot                         
               clock | boot                         
         consolefont | boot                         
                dbus |      default                 
                hald |      default                 
            hostname | boot                         
             hotplug |      default                 
             keymaps | boot                         
               local |      default nonetwork       
          localmount | boot                         
             modules | boot                         
            net.eth0 |      default                 
            net.eth1 |      default                 
              net.lo | boot                         
            netmount |      default                 
          ntp-client |      default                 
           rmnologin | boot                         
                sshd |      default                 
           syslog-ng |      default                 
             urandom | boot                         
          vixie-cron |      default                 
              xinetd |      default

--EDIT #2 END--
--EDIT #3 BEGIN --
eselect profile show:Current make.profile symlink:
default/linux/amd64/10.0
--EDIT #3 END --
equery fvwm list:
Code:
!!! unknown global option fvwm, reusing as local option
[ Searching for package 'fvwm' in all categories among: ]
 * installed packages
[I--] [  ] x11-wm/fvwm-2.5.28 (0)

cat /etc/rc.conf | grep -i xsession=:XSESSION="fvwm2"
xorg.conf:http://pastebin.com/m2ff25e19
xsessionerrors:
Code:

xauth:  creating new authority file /home/dustfinger/.serverauth.5540


X.Org X Server 1.6.5
Release Date: 2009-10-11
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.27-gentoo-r8 x86_64
Current Operating System: Linux sylus 2.6.27-gentoo-r8 #2 SMP PREEMPT Sun Dec 13 18:04:28 MST 2009 x86_64
Build Date: 13 December 2009  03:19:49PM
 
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Dec 13 18:16:20 2009
(==) Using config file: "/etc/X11/xorg.conf"
(EE) Failed to load module "type1" (module does not exist, 0)
(EE) Failed to load module "freetype" (module does not exist, 0)
(EE) Failed to load module "dri" (module does not exist, 0)
(EE) Failed to load module "dri2" (module does not exist, 0)
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Multiple names for keycode 211
>                   Using <I211>, ignoring <AB11>
Errors from xkbcomp are not fatal to the X server
(EE) ioctl EVIOCGNAME failed: Inappropriate ioctl for device
(EE) PreInit returned NULL for "Mouse2"
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Multiple names for keycode 211
>                   Using <I211>, ignoring <AB11>
Errors from xkbcomp are not fatal to the X server
(EE) Microsoft Comfort Curve Keyboard 2000: failed to initialize for relative axes.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Multiple names for keycode 211
>                   Using <I211>, ignoring <AB11>
Errors from xkbcomp are not fatal to the X server

cat /var/log/Xorg.0.log | grep -i ee
Code:
Current Operating System: Linux sylus 2.6.27-gentoo-r8 #2 SMP PREEMPT Sun Dec 13 18:04:28 MST 2009 x86_64
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(**) |-->Screen "Screen 1" (0)
(**) |   |-->Monitor "Acer 22 TFT Wide Screen"
        /usr/share/fonts/freefonts/,
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(EE) Failed to load module "type1" (module does not exist, 0)
(II) LoadModule: "freetype"
(WW) Warning, couldn't open module freetype
(II) UnloadModule: "freetype"
(EE) Failed to load module "freetype" (module does not exist, 0)
(EE) Failed to load module "dri" (module does not exist, 0)
(EE) Failed to load module "dri2" (module does not exist, 0)
(II) NVIDIA(0): Virtual screen size determined to be 1680 x 1050
(--) NVIDIA(0): DPI set to (88, 88); computed from "UseEdidDpi" X config
(II) do I need RAC?  No, I don't.
(EE) ioctl EVIOCGNAME failed: Inappropriate ioctl for device
(EE) PreInit returned NULL for "Mouse2"
(II) Microsoft Comfort Curve Keyboard 2000: Found scroll wheel(s)
(**) Microsoft Comfort Curve Keyboard 2000: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(EE) Microsoft Comfort Curve Keyboard 2000: failed to initialize for relative axes.
(**) Microsoft Comfort Curve Keyboard 2000: (accel) keeping acceleration scheme 1
(II) PS/2+USB Mouse: Found scroll wheel(s)
(**) PS/2+USB Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWhelTimeout: 200
(**) PS/2+USB Mouse: (accel) keeping acceleration scheme 1


My fvwm configuration file is located at ~/.fvwm/config

I noticed that there are a number of modules that are not loading, could that be preventing fvwm loading? To me it does not even seem like there is any attempt at all to load fvwm. It is as if my /etc/rc.conf xession variable is being ignored.

Sincerely,
dustfinger
_________________
Unanswered Post Initiative:
https://forums.gentoo.org/viewtopic.php?t=119906


Last edited by dustfinger on Mon Dec 14, 2009 7:04 am; edited 1 time in total
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Mon Dec 14, 2009 2:58 am    Post subject: Reply with quote

There could be kernel issues (maybe too many sata drivers enabled - not sure) regarding:
Code:
(EE) ioctl EVIOCGNAME failed: Inappropriate ioctl for device

Maybe take a ride to Pappy's Kernel Seeds for assistance with that.

Also I read about somebody else not getting the new xinit to respond to XSESSION
You might try something more like this:
Code:
 ~ # echo XSESSION="fvwm" > /etc/env.d/90xsession
 ~ # env-update && source /etc/profile

You can check the postinst messages about this issue with eread if you have app-portage/gentoolkit installed.
Back to top
View user's profile Send private message
dustfinger
Guru
Guru


Joined: 15 Aug 2004
Posts: 449

PostPosted: Mon Dec 14, 2009 3:37 am    Post subject: Reply with quote

To Mike,

/etc/env.d/90xsession does not exist on my system. I also noticed the Inappropriate ioctl for device error message. I am going to start investigating each issue. I don't know that they are actually related though. I was hoping to get the fvwm not starting issue sorted out first, since the default windows manager is not that nice of an environment to work in.

Sincerely,

dustfinger.
_________________
Unanswered Post Initiative:
https://forums.gentoo.org/viewtopic.php?t=119906
Back to top
View user's profile Send private message
dustfinger
Guru
Guru


Joined: 15 Aug 2004
Posts: 449

PostPosted: Mon Dec 14, 2009 6:36 am    Post subject: Reply with quote

Mike Hunt wrote:
There could be kernel issues (maybe too many sata drivers enabled - not sure) regarding:
Code:
(EE) ioctl EVIOCGNAME failed: Inappropriate ioctl for device

I managed to get rid of most of the errors from /var/log/Xorg.0.log
grep -e EE -e WW /var/log/Xorg.0.log wrote:

Current Operating System: Linux sylus 2.6.27-gentoo-r8 #2 SMP PREEMPT Sun Dec 13 18:04:28 MST 2009 x86_64
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(WW) Warning, couldn't open module dri
(EE) Failed to load module "dri" (module does not exist, 0)
(WW) Warning, couldn't open module dri2
(EE) Failed to load module "dri2" (module does not exist, 0)
(EE) Microsoft Comfort Curve Keyboard 2000: failed to initialize for relative axes.

I am not sure why I get the dri errors. I don't have the dri use flag set and I am not loading the dri module in my xorg.conf.

I still have not got fvwm to start with startx again, but I have been spending most of my time working on resolving some of these other issues.

Sincerely,
dustfinger.
_________________
Unanswered Post Initiative:
https://forums.gentoo.org/viewtopic.php?t=119906
Back to top
View user's profile Send private message
dustfinger
Guru
Guru


Joined: 15 Aug 2004
Posts: 449

PostPosted: Mon Dec 14, 2009 7:04 am    Post subject: Reply with quote

The following URL explains that you can no longer set XSESSION in /etc/rc.conf
https://forums.gentoo.org/viewtopic-t-806516-highlight-xinit+xsession.html
I did the following to get fvwm to start again when running startx.
# sudo touch /etc/env.d/90xsession
# sudo nano -w /etc/env.d/90xsession

Then I added the line
XSESSION="fvwm2"

The next time I ran startx fvwm was loaded. :-)

Sincerely,
dustfinger
_________________
Unanswered Post Initiative:
https://forums.gentoo.org/viewtopic.php?t=119906
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Mon Dec 14, 2009 6:59 pm    Post subject: Reply with quote

Nice, the xorg tries to autoload dri modules even if they are non-existent or in the case of nvidia which uses it's own dri stuff, so you can safely ignore that, no problem.
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3224

PostPosted: Mon Dec 14, 2009 8:32 pm    Post subject: Reply with quote

dustfinger wrote:
The following URL explains that you can no longer set XSESSION in /etc/rc.conf
https://forums.gentoo.org/viewtopic-t-806516-highlight-xinit+xsession.html
I did the following to get fvwm to start again when running startx.
# sudo touch /etc/env.d/90xsession
# sudo nano -w /etc/env.d/90xsession

Then I added the line
XSESSION="fvwm2"

The next time I ran startx fvwm was loaded. :-)

Sincerely,
dustfinger
I just went through this last week myself. In my situation, adding the 90xsession file alone wasn't enough, and I also had to run an `env-update && source /etc/profile`.
Back to top
View user's profile Send private message
MeatHead
n00b
n00b


Joined: 07 Mar 2003
Posts: 31

PostPosted: Wed Dec 16, 2009 1:35 am    Post subject: Reply with quote

You can stop the dri, dri2 errors by adding
Code:
Disable "dri"
Disable "dri2"


to Section "Module" of your xorg.conf 8)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum