Re: startx from init

2008-06-24 Thread Denys Vlasenko
On Tuesday 24 June 2008 12:49, Antoine Martin wrote:
 Hi,
 
 I'm trying to start X from either /etc/init.d/rcS or from /etc/inittab
 But whatever command I use (startx, xinit or just plain Xorg) it seems 
 the server cannot get hold of the mouse and keyboard...
 If I login via ssh and run the exact same command, it works...
 (obviously all the devices are there and accessible, tried running 
 everything as root, etc..)

Just plain X would be the first thing to try to get working first.

Can you show the Xorg.log file from both attempts?
--
vda
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox


Re: startx from init

2008-06-24 Thread Antoine Martin
Denys Vlasenko wrote:
 On Tuesday 24 June 2008 12:49, Antoine Martin wrote:
   
 Hi,

 I'm trying to start X from either /etc/init.d/rcS or from /etc/inittab
 But whatever command I use (startx, xinit or just plain Xorg) it seems 
 the server cannot get hold of the mouse and keyboard...
 If I login via ssh and run the exact same command, it works...
 (obviously all the devices are there and accessible, tried running 
 everything as root, etc..)
 

 Just plain X would be the first thing to try to get working first.
   
Yep, I tried that.
And there is nothing abnormal in the Xorg.0.log
 Can you show the Xorg.log file from both attempts?
   
Will forward later.

Cheers
Antoine
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox


Re: startx from init

2008-06-24 Thread Hinko Kocevar
Antoine Martin wrote:
 A long shot.. but
 When you login in via telnet/ssh the /etc/profile is probably sourced
 and sets the environment for X, OTOH if X is ran from /etc/inittab
 this might not be the case.
   
 Yep, I thought about that so I duplicated all the environment variables
 into the x startup script... no change...
 
 Cheers
 Antoine

Then run it under strace and show us the output...

-- 
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: [EMAIL PROTECTED]
Http: www.cetrtapot.si

___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Re: startx from init [SOLVED]

2008-06-24 Thread Antoine Martin
Sorry for the line noise. This had nothing to do with busybox.

Looks like a bug in current svn freedesktop.org tree...
Only happens on first instantiation, and it just happened that when I 
started it via ssh I had to kill it first... so I didn't notice this 
until later.


Hinko Kocevar wrote:
 Antoine Martin wrote:
   
 A long shot.. but
 When you login in via telnet/ssh the /etc/profile is probably sourced
 and sets the environment for X, OTOH if X is ran from /etc/inittab
 this might not be the case.
   
   
 Yep, I thought about that so I duplicated all the environment variables
 into the x startup script... no change...

 Cheers
 Antoine
 

 Then run it under strace and show us the output...

   

___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox