On Tuesday 04 December 2012 20:32:21 Ken Moffat wrote:
> On Tue, Dec 04, 2012 at 05:57:11PM +0000, lux-integ wrote:
> > Greetings,
> >
> > I have cblfs setup with these
> > --cpu amd64
> > --Kernel linux-3.6.7
> > --Xorg -7.7
> > and I am giving qtrazor and fluxbox with slim a whirl (no kde gnome
> > etc).
> >
> > I can get commands such as gimp to run from the 'run command' window
> > in fluxbox but xterminal will not start.
> >
> > /etc/slim.conf has this line for console command:-
> > /usr/X11R6/bin/xterm -C -fg white -bg black +sb -T "Console login" -e
> > /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
>
> [...]
>
> > I am wondering if the "-C " option in the xterm command is the problem
> > and if it is related to a broken consolekit and relevant fixes?
> > or if its something to with this line
> >
> > -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login" ?
> >
> > advice would be much appreciated.
>
> That command gives you the system Console (man xterm - google
> should find it if you haven't installed the xorg manpages). It
> seems a totally unnecessary elaboration. I suggest that you try
> editing it - I would start by removing the -C and everything after
> black. This seems to be something that you alter to suit your
> needs, and the default is perhaps set to a contrived example to show
> what can be done. Personally, I tried slim after I decided that gdm
> was no longer for me, but after a couple of days I went back to
> startx.
>
> > and another thing
> > I have this line
> > suspend_cmd /usr/sbin/suspend in /etc/slim.conf
> >
> > I have no executible 'suspend' in /sbin nor /bin nor in
> > {/usr}/{sbin,bin } so advice on the provenance/whereabouts of
> > 'suspend' would be appreciated also
>
> It's probably a shell script, to invoke your desired method of
> suspend (historically, at least two versions of software suspend,
> and the choice of s2ram or s2disk). Google for /bin/suspend will
> find a few plausible links (/usr/bin, /usr/local/bin) in the first
> few pages of its generally irrelevant results.
>
> AFAIK nobody has ever written up how to get any of it working on
> LFS. I certainly never managed to get s2ram working when I tried it
> on a desktop a few months ago, and it wasn't a priority. Another
> reason why my netbook still limps along with 'buntu (/me hates
> update-manager)! My previous laptop was a ppc ibook and used an old
> package, the name of which I forget, to handle this (x86 suspend is
> very different).
>
> ĸen
thanks for your help.
I did the edit in slim.conf. It made no difference.
I should elaborate
I am trying to make a cd dist (( read only root filesystem )
Everything works fine when running from disk. And everything except X runs
fine from RO-root. There the problem seems two fold:-
--1-- I have a usb mouse and keyboard and have to unplug/replug before I
can type in slim.
--2-- xterm will not execute in the RO-setup. There seems no obvious reason
as all writable files (cache-files, pid-files etc exists). There is even
a file $XORG_PREFIX/share/X11/XerrorDB which I have made provisions to be
writable, But xterm STILL will not budge.
any Ideas?
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page