Sorry, I forgot to CC MUUG.
-Montana
---------------------------- Original Message ---------------------------- Subject: Re: [RndTbl] TTY1 and Starting X Windows From: "Montana Quiring" montanaq@gmail.com Date: Tue, April 18, 2006 3:05 pm To: "Bill Reid" billreid@shaw.ca --------------------------------------------------------------------------
Thanks for The reply Bill.
I tried changing inittab again and this time around it lets me start X after I log in. I miht have goofed something last time.
Because these machines are in a lab I want them to log into X automatically like they were doing, and I don't want the students to have access to the command line.
Do I need to install a login-manager?
-Montana
"When I give, I give myself. -Walt Whitman
On Tue, April 18, 2006 12:08 pm, Bill Reid said:
Montana Quiring wrote:
and that solves to problem of getting to a shell but now X Windows doesn't start.
Do you mean that issuing the startx does not work?
I don't fully understand what the orig line is doing and I think that's my problem.
It is setting stdout and stdout to tty1 and redirecting stderr to stdout.
-- Bill
First of all this is under OpenBSD 3.9 but that should be immaterial to the issue.
Basically if I run startx from a shell X starts and my .xinitrc is parsed/executed and all is well. Since I'm using X more I decided to enable xdm (via echo "xdm_flags="" > /etc/rc.conf.local; reboot; ) instead of launching manually from a shell. Now when I log in through XDM my .xinitrc isn't parsed/executed and I have to run it manually (fvwm notices my .fvwmrc so that part is working as expected).
I'm not doing anything too complex and everything is rather 'stock' with changes to the default install are overridden in my home directory such as .Xdefaults and .fvwmrc . I'm using .xinitrc to set a pretty background (via xv(l) and to start an ssh-agent)
Any ideas on how I can figure this out? I should probably investigate how XDM is launched and actually read the startx script, but I'm going to gamble on someone else already knowing why this happens.