Dan McGhee wrote:
This seems so basic that I'm almost afraid to post it. Additionally, it
could go on this, the LFS or the LiveCD list. I chose this one since it
deals with configuration and can apply to just more than LiveCD. Please
let me know if I should take it elsewhere.
I've started building LFS using LiveCD 6.1.1-2 on my laptop. Since I
had to type, type, type when I built LFS on my PC, I was really excited
to be able to use something in which I could copy and paste. :-) I
wrote some scripts to set up the build environment and started on my
merry way. Then I discovered that as user lfs I couldn't copy and paste
from Firefox. I'm running Firefox from an xterm (using twm) as root and
building lfs in an xterm as lfs. I reasoned that the difference in
users was the problem. Additionally, after I set up my environment, I
cannot 'startx' from a console as lfs. I changed $PATH to include
/usr/X11R6/bin for lfs and that still didn't work, even though the " x
executables" are -rwxr-xr-x. One of the calls startx makes is to
'xauth' --the message is 'command not found.'
What user you're logged on as in an xterm should have absolutely nothing
to do with your ability to copy-and-paste to and from an xterm. I just
booted the 6.1.1-2 livecd and have no problems pasting between firefox
and an xterm (logged on as the lfs user). Can you please describe
*exactly* how you're trying to copy from firefox and copy to an xterm
(every mouse movement, every keypress)? All I do is select the text with
the mouse in firefox, move the mouse to the xterm, and click the middle
mouse button.
I reasoned that this is permissions and security based and this is the
point at which "methane on the brain" took over and I realized I had a
severe hole in my knowlege.
It can't be a permissions issue. Firefox and X don't even know that the
xterm is logged on as the lfs user. The only point at which permissions
matter is when the commands you paste into the xterm attempt to run.
On LiveCD there are entries in /etc/{passwd, groups} for user and group
lfs. But unless I use {group,user}add, I can't 'su' to lfs. LiveCD
defaults to init 3 and the root user, I would like to change this so
that I could log on as lfs. But I don't know how to get 'login' to work
from boot. The man pages for the startup stuff--init, getty, login--all
tell what the calls do and NOT how to implement them. All of the
solutions that I can think of won't work until AFTER I have access to
the terminal and then it's too late. I have always been terribly weak
in my knowlege of what and how to pass parameters on the command line at
boot--if that's possible in this case.
There is no need to change anything about the livecd startup - it works
fine as it is.
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page