You are not logged in.
I've searched the forums, and I've come up with similar questions, but I can't seem to find a solution that works.
At any rate, I changed the runlevel to 5 in /etc/inittab, and xdm starts up fine. When I log in, however, it starts fvwm (I think) and xterm, but not xfce. (I inserted startxfce4 into my .xinitrc file; typing startx works)
How can I make xdm start xfce instead of the default?
Or would switching to another login manager (gdm) be a better choice? I plan to switch in the future anyway.
On another note, what's the best way to make xcompmgr start automatically with x?
Visit my website.
FREAKIFIED.com
Offline
As far as I know the session which XDM starts is set in $HOME/.xsession
Not sure what the exact syntax would be as I'm not using graphical login
Offline
The syntax for .xinitrc and .xsession is exactly the same. In fact, a lot of people just create a symlink from one to the other - that should sort you out.
Offline
I had to add this to .xsession found it on this forum somewhere but cannot remember who to credit.
[ -f /etc/profile ] && . /etc/profile
if [ -f $HOME/.bash_profile ]; then
. $HOME/.bash_profile
elif [ -f $HOME/.bash_login ]; then
. $HOME/.bash_login
elif [ -f $HOME/.profile ]; then
. $HOME/.profile
fi
exec /opt/xfce4/bin/startxfce4
Offline
Thanks, I tried these, but now xdm just restarts when I try to log in.
Oh yes, and it was TWM, the default one, that I'm stuck in.
Any other ideas?
Visit my website.
FREAKIFIED.com
Offline
On another distro I use on an older computer (VectorLinux), XDM seems to go to /etc/X11/xinit/xinitrc. Looking there in Arch, I see a script that starts up twm, a clock, some xterms and your login shell. This sounds like the behaviour you are observing!
You likely need to hook this script to point at your .xinit instead of its default actions.
Cast off the Microsoft shackles Jan 2005
Offline
OK, I'm just going to give up with xdm.
Which brings up to the next question...
How do I use gdm?
I've done everything listed here:
http://wiki.archlinux.org/index.php/GNOME
but I still get a text based login screen.
Gnome works by putting gnome-session into my .xinitrc file.
Any thoughts?
Visit my website.
FREAKIFIED.com
Offline
You should check out SLiM. I made some extra themes for it if you do not like the ones in the slim-themes package or the default one.
http://daimeria.com/themes/slim.php
Cheers.
Offline
OK, I got SLiM working!
But...I still don't get shutdown and restart buttons in gnome. Do I have to be using gdm for that?
Visit my website.
FREAKIFIED.com
Offline
OK, I got SLiM working!
But...I still don't get shutdown and restart buttons in gnome. Do I have to be using gdm for that?
Yup, at least the last time I checked. It would be possible thou to make a desktop icon which stops gnome (I dunno how to do this the "right way") and shuts down/reboots, for example:
killall gnome-session; poweroff
Note that I would replace "killall gnome-session" with something else, maybe try googling or experiment with gnome-* commands...
Offline