Re: [gentoo-user] xdm login problems after recent emerge

2008-01-03 Thread Mick
On Wednesday 02 January 2008, Mick wrote:
 Searching further I noticed this in my .xsession-errors:

 /usr/lib/X11/xdm/Xsession: /home/michael/.xsession: /bin/csh: bad
 interpreter: No such file or directory

This was probably a red herring and a remnant of having csh installed at some 
stage.

I decided to go back to basics, suspecting that I misconfigured some env 
setting file.  I soon came across /etc/rc.conf in which there was no 
$XSESSION variable set!  No sooner did I enter XSESSION=fluxbox I was able 
to boot normally again.  I believe that this happened when I used etc-update, 
but cannot for the life of me remember overwritting what was there before.

As I haven't changed this entry for a few years now can you please confirm 
that one is meant to use rc.conf to set $XSESSION.

Apologies for the noise.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


RE: [gentoo-user] xdm login problems after recent emerge

2008-01-03 Thread Sjakie


-Original Message-
From: Michal 'vorner' Vaner [EMAIL PROTECTED]
Sent: dinsdag 1 januari 2008 13:38
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] xdm login problems after recent emerge

Hello

On Tue, Jan 01, 2008 at 10:48:52AM +, Mick wrote:
 Happy New Year to all!
 
 I find my self in a bit of a pickle after a recent emerge.  When I
 enter my username+passwd at the xdm login screen it sort of tries to
 load up fluxbox, but within a second or so it returns to the login
 screen. I can't see anything worth mentioning in the logs. I have
 downgraded baselayout, sysvinit and freetype but the problem remains.
 Any ideas? These are the packages emerged recently:

This sounds to me like the fluxbox starter (I'm not sure if fluxbox by
itself or some script that starts it with one or two other programs)
crashes. Did you try running revdep-rebuild?

And, if you want to experiment, you can start X from vt, lets say:

X :1.0 (on :0.0, it is already running with xdm)

then switch back to vt (probably different one) and start an xterm

DISPLAY=:1.0 xterm

then switch back to your new X (ctrl+f8 -- f7 is the xdm one) and try
starting fluxbox from the xterm to see what happens.

Did it help?

-- 
No, you will not fix me
Computer

Michal 'vorner' Vaner

--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] xdm login problems after recent emerge

2008-01-03 Thread Sjakie


-Original Message-
From: Michal 'vorner' Vaner [EMAIL PROTECTED]
Sent: dinsdag 1 januari 2008 13:38
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] xdm login problems after recent emerge

Hello

On Tue, Jan 01, 2008 at 10:48:52AM +, Mick wrote:
 Happy New Year to all!
 
 I find my self in a bit of a pickle after a recent emerge.  When I
 enter my username+passwd at the xdm login screen it sort of tries to
 load up fluxbox, but within a second or so it returns to the login
 screen. I can't see anything worth mentioning in the logs. I have
 downgraded baselayout, sysvinit and freetype but the problem remains.
 Any ideas? These are the packages emerged recently:

This sounds to me like the fluxbox starter (I'm not sure if fluxbox by
itself or some script that starts it with one or two other programs)
crashes. Did you try running revdep-rebuild?

And, if you want to experiment, you can start X from vt, lets say:

X :1.0 (on :0.0, it is already running with xdm)

then switch back to vt (probably different one) and start an xterm

DISPLAY=:1.0 xterm

then switch back to your new X (ctrl+f8 -- f7 is the xdm one) and try
starting fluxbox from the xterm to see what happens.

Did it help?

-- 
No, you will not fix me
Computer

Michal 'vorner' Vaner

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] xdm login problems after recent emerge

2008-01-02 Thread Mick
On Tuesday 01 January 2008, Michal 'vorner' Vaner wrote:
 Hello

 On Tue, Jan 01, 2008 at 03:29:25PM +, Mick wrote:
  I stopped/zapped xdm, ran startx and from an xterm I was able to run
  fluxbox which started OK.  So, I am not sure if you are right that the
  start up script crashes (I wonder, shouldn't I see something in the logs
  about it?) If it crashed wouldn't it also crash when called from within
  an xterm?  When I ran etc-update I had to update a number of scripts
  (some of them were trivial - automerged) and some of them were related to
  halt.sh, and so on, but I cannot recall any xdm related scripts.  Is
  there an etc-update history somewhere on my machine?

 I didn't mean the xdm script (which, obviously, works fine), but the
 script started when you log in. The one in sessions is probably the one.

Yes, I actually saw for a moment the message that comes up on xdm saying that 
the login was successful, but a few seconds later I am dumped back into the 
login screen.

 Actually, how it works: xdm starts X and shows the login screen. When
 you log in, it starts something on the X server. When the something
 stops (for any reason), xdm restarts X and shows the login screen again.

 So I think the thing started by xdm terminates too early for some
 reason, crash was the first idea I got. All this is just a guess, how it
 looks to me, I do not say it is the only possible cause (crashing X
 could be the cause too, and xdm would just restart it).

Progress so far:

revdep-rebuild did not pick up anything.  Then I noticed that kgpg was 
complaining about the gpg agent not having started up.  Looking closer I 
noticed some error messages on the terminal that I started fluxbox from, 
about libcrypto.so.0.9.8.  So I reran revdep-rebuild -X -v --library 
libcrypto.so.0.9.8 and it is now emerging the best part of 38 packages.

Let's see if this fixes it.  I wonder why I am the only one complaining about 
this problem.  Are your PCs running OK?  I have not tried updating any other 
machines of mine until I can get Xorg on this laptop up  running again.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] xdm login problems after recent emerge

2008-01-02 Thread Mick
Searching further I noticed this in my .xsession-errors:

/usr/lib/X11/xdm/Xsession: /home/michael/.xsession: /bin/csh: bad interpreter: 
No such file or directory

Not sure why csh is being called here, or where it is being called from . . . 

On this machine /bin/csh is a symlink to tcsh:

# ls -la /bin/csh 
lrwxrwxrwx 1 root root 9 Mar 26  2006 /bin/csh - /bin/tcsh

 . . . which does not seem to exist?

# ls -la /bin/tcsh 
ls: cannot access /bin/tcsh: No such file or directory


This is stretching my understanding.  What do you think?  Could it be related 
to the recent update of /bin/bash and the way this is treated for non-KDE WMs 
in /usr/lib/X11/xdm/Xsession?
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] xdm login problems after recent emerge

2008-01-01 Thread Mick
Happy New Year to all!

I find my self in a bit of a pickle after a recent emerge.  When I
enter my username+passwd at the xdm login screen it sort of tries to
load up fluxbox, but within a second or so it returns to the login
screen. I can't see anything worth mentioning in the logs. I have
downgraded baselayout, sysvinit and freetype but the problem remains.
Any ideas? These are the packages emerged recently:

 Mon Dec 31 18:38:51 2007  sys-devel/gcc-config-1.4.0-r4
 Mon Dec 31 18:41:08 2007  dev-lang/spidermonkey-1.7.0
 Mon Dec 31 18:52:59 2007  sys-libs/ncurses-5.6-r2
 Mon Dec 31 18:53:58 2007  sys-kernel/linux-headers-2.6.23-r3
 Mon Dec 31 18:57:40 2007  app-shells/bash-3.2_p17-r1
 Mon Dec 31 18:58:09 2007  sys-apps/sysvinit-2.86-r10
 Mon Dec 31 19:01:55 2007  dev-libs/libcdio-0.78.2-r2
 Mon Dec 31 19:03:17 2007  dev-lang/yasm-0.6.2
 Mon Dec 31 19:04:03 2007  sys-apps/less-416
 Mon Dec 31 19:06:50 2007  media-libs/freetype-2.3.5-r2
 Mon Dec 31 19:08:01 2007  media-libs/x264-svn-20070924
 Mon Dec 31 19:09:43 2007  media-libs/giflib-4.1.6
 Mon Dec 31 19:10:27 2007  app-crypt/johntheripper-1.7.2-r3
 Mon Dec 31 19:11:28 2007  dev-python/imaging-1.1.5
 Mon Dec 31 19:11:55 2007  sys-apps/baselayout-1.12.10-r5
 Mon Dec 31 19:12:53 2007  app-crypt/dirmngr-1.0.1
 Mon Dec 31 19:30:13 2007  media-video/mplayer-1.0_rc2
 Mon Dec 31 19:35:16 2007  net-print/hplip-2.7.10
 Mon Dec 31 19:40:40 2007  dev-lang/ruby-1.8.6_p111


I don't have a problem login in at the console, so this must be
xdm/Xorg related I guess.  As this is the laptop that I take to work
and my holidays end today all suggestions are welcomed!  :)
-- 
Regards,
Mick
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] xdm login problems after recent emerge

2008-01-01 Thread Iain Buchanan

On Tue, 2008-01-01 at 10:48 +, Mick wrote:
 Happy New Year to all!
 
 I find my self in a bit of a pickle after a recent emerge.  When I
 enter my username+passwd at the xdm login screen it sort of tries to
 load up fluxbox, but within a second or so it returns to the login
 screen. I can't see anything worth mentioning in the logs. I have
 downgraded baselayout, sysvinit and freetype but the problem remains.
 Any ideas? These are the packages emerged recently:

[snip]

 I don't have a problem login in at the console, so this must be
 xdm/Xorg related I guess.  As this is the laptop that I take to work
 and my holidays end today all suggestions are welcomed!  :)

This happens to me when one of my services has errors, or fails to
start.  Look for any [ !! ] or other messages on vt1.  btw, this assumes
you can switch back to X ok (ctrl-alt-f7 usually)?

HTH,
-- 
Iain Buchanan iaindb at netspace dot net dot au

You know you're using the computer too much when:
you look out of the bus/car window on the way to work and think hey, these
graphics are pretty cool 

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] xdm login problems after recent emerge

2008-01-01 Thread Mick
On 01/01/2008, Iain Buchanan [EMAIL PROTECTED] wrote:

 On Tue, 2008-01-01 at 10:48 +, Mick wrote:
  Happy New Year to all!
 
  I find my self in a bit of a pickle after a recent emerge.  When I
  enter my username+passwd at the xdm login screen it sort of tries to
  load up fluxbox, but within a second or so it returns to the login
  screen. I can't see anything worth mentioning in the logs. I have
  downgraded baselayout, sysvinit and freetype but the problem remains.
  Any ideas? These are the packages emerged recently:

 [snip]

  I don't have a problem login in at the console, so this must be
  xdm/Xorg related I guess.  As this is the laptop that I take to work
  and my holidays end today all suggestions are welcomed!  :)

 This happens to me when one of my services has errors, or fails to
 start.  Look for any [ !! ] or other messages on vt1.  btw, this assumes
 you can switch back to X ok (ctrl-alt-f7 usually)?

Thanks Iain,

On my machines if a service fails to start it returns me to vt1, but I
am still able to load xorg and login fine after I switch to vt7.  I
didn't notice something amiss with the vt1 boot messages.

What else I could try? I guess downgrading all the packages of the
last emerge could be a short term solution, albeit a bit blunt.
-- 
Regards,
Mick
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] xdm login problems after recent emerge

2008-01-01 Thread Michal 'vorner' Vaner
Hello

On Tue, Jan 01, 2008 at 10:48:52AM +, Mick wrote:
 Happy New Year to all!
 
 I find my self in a bit of a pickle after a recent emerge.  When I
 enter my username+passwd at the xdm login screen it sort of tries to
 load up fluxbox, but within a second or so it returns to the login
 screen. I can't see anything worth mentioning in the logs. I have
 downgraded baselayout, sysvinit and freetype but the problem remains.
 Any ideas? These are the packages emerged recently:

This sounds to me like the fluxbox starter (I'm not sure if fluxbox by
itself or some script that starts it with one or two other programs)
crashes. Did you try running revdep-rebuild?

And, if you want to experiment, you can start X from vt, lets say:

X :1.0 (on :0.0, it is already running with xdm)

then switch back to vt (probably different one) and start an xterm

DISPLAY=:1.0 xterm

then switch back to your new X (ctrl+f8 -- f7 is the xdm one) and try
starting fluxbox from the xterm to see what happens.

Did it help?

-- 
No, you will not fix me
Computer

Michal 'vorner' Vaner


pgpndmnVXPEm0.pgp
Description: PGP signature


Re: [gentoo-user] xdm login problems after recent emerge

2008-01-01 Thread Mick
On Tuesday 01 January 2008, Michal 'vorner' Vaner wrote:
 Hello

 On Tue, Jan 01, 2008 at 10:48:52AM +, Mick wrote:
  Happy New Year to all!
 
  I find my self in a bit of a pickle after a recent emerge.  When I
  enter my username+passwd at the xdm login screen it sort of tries to
  load up fluxbox, but within a second or so it returns to the login
  screen. I can't see anything worth mentioning in the logs. I have
  downgraded baselayout, sysvinit and freetype but the problem remains.
  Any ideas? These are the packages emerged recently:

 This sounds to me like the fluxbox starter (I'm not sure if fluxbox by
 itself or some script that starts it with one or two other programs)
 crashes. Did you try running revdep-rebuild?

Thanks, I am running it now.  It only wants to remerge:

All prepared. Starting rebuild...
emerge --oneshot -v =media-video/ffmpeg-0.4.9_p20070616 
=media-libs/libquicktime-1.0.1 =media-libs/xine-lib-1.1.8

I believe this is because of the media-libs/x264-svn-20070924 emerged package.

 And, if you want to experiment, you can start X from vt, lets say:

 X :1.0 (on :0.0, it is already running with xdm)

 then switch back to vt (probably different one) and start an xterm

 DISPLAY=:1.0 xterm

 then switch back to your new X (ctrl+f8 -- f7 is the xdm one) and try
 starting fluxbox from the xterm to see what happens.

 Did it help?

I stopped/zapped xdm, ran startx and from an xterm I was able to run fluxbox 
which started OK.  So, I am not sure if you are right that the start up 
script crashes (I wonder, shouldn't I see something in the logs about it?)  
If it crashed wouldn't it also crash when called from within an xterm?  When 
I ran etc-update I had to update a number of scripts (some of them were 
trivial - automerged) and some of them were related to halt.sh, and so on, 
but I cannot recall any xdm related scripts.  Is there an etc-update history 
somewhere on my machine?

BTW, this is what I have under /etc/X11/Sessions/fluxbox:

eval $(gpg-agent --daemon)
/usr/bin/startfluxbox
kill `echo ${GPG_AGENT_INFO} | cut -d ':' -f 2`


Thank you very much for your help!
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] xdm login problems after recent emerge

2008-01-01 Thread Michal 'vorner' Vaner
Hello

On Tue, Jan 01, 2008 at 03:29:25PM +, Mick wrote:
 I stopped/zapped xdm, ran startx and from an xterm I was able to run fluxbox 
 which started OK.  So, I am not sure if you are right that the start up 
 script crashes (I wonder, shouldn't I see something in the logs about it?)  
 If it crashed wouldn't it also crash when called from within an xterm?  When 
 I ran etc-update I had to update a number of scripts (some of them were 
 trivial - automerged) and some of them were related to halt.sh, and so on, 
 but I cannot recall any xdm related scripts.  Is there an etc-update history 
 somewhere on my machine?

I didn't mean the xdm script (which, obviously, works fine), but the
script started when you log in. The one in sessions is probably the one.

Actually, how it works: xdm starts X and shows the login screen. When
you log in, it starts something on the X server. When the something
stops (for any reason), xdm restarts X and shows the login screen again.

So I think the thing started by xdm terminates too early for some
reason, crash was the first idea I got. All this is just a guess, how it
looks to me, I do not say it is the only possible cause (crashing X
could be the cause too, and xdm would just restart it).

-- 
Support your right to arm bears!!

Michal 'vorner' Vaner


pgpjQoUeWlAXM.pgp
Description: PGP signature