You are not logged in.
Pages: 1
I installed arch for the first time this past weekend, and while I've run into a couple kinks, I've been able to wiki my way out of most of them. But this one has had me stumped for a few days now.
I installed X and was able to startx with no problems, but after installing XFCE and SLiM, and diligently following the wikis during the install process, I've had problems. I tried XFCE initially without SLiM, and it would start to load and then come back to the terminal. There were no errors, and in the log, there were only a couple warnings. They were Open ACPI failed, falling back to old probe method for vesa, and falling back to old probe method for fbdev.
In one wiki, (or forum thread, sorry I don't remember, I've pored over dozens of both) installing slim was advised, so I figured I'd try that. The SLiM login screen comes up and after entering my user name and password, appears to accept it, then quickly flashes to a login for tty1, and then returns me to the SLiM login.
I seem to have run into a road block, and have not been able to find any solutions/workarounds.
Can anyone please point in the right direction, or offer me some advise?
Thanks in advance.
ps. Using an ASUS eeePC 1005ha
Last edited by zhogan85 (2011-10-05 14:24:00)
Offline
Slim is highly discouraged because it's unmaintained since 2010 or so.
Try with another DM or log into the tty and then startx / xinit
Best Testing Repo Warning: [testing] means it can eat you hamster, catch fire and you should keep it away from children. And I'm serious here, it's not an April 1st joke.
Offline
Have you installed graphic drivers?
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline
Slim is highly discouraged because it's unmaintained since 2010 or so.
Try with another DM or log into the tty and then startx / xinit
Will do, I'll try this evening.
Have you installed graphic drivers?
Yes, I installed the intel drivers.
Offline
What are the contents of your ~/.xinitrc ? That all sounds similar to what I experienced once when I forgot to edit it.
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
If slim is discouraged that should really be mentioned in the wiki...
Is slim configured correctly (/etc/slim.conf) What about .xinitrc?
Offline
What are the contents of your ~/.xinitrc ? That all sounds similar to what I experienced once when I forgot to edit it.
exec ck-launch-session startxfce4
I've unistalled Slim, and am trying XDM instead. So now, with xinit, x starts to launch and then comes back to tty, with no errors. And startx does the same thing, but also says hostname:command not found. I had this error when I first installed X, but installing net-tools solved it, so now I'm not sure why it came back.
Any insights? I'm getting pretty frustrated and might just give on on XFCE all together and just go with openbox or fluxbox. I was really hoping to give XFCE a try though.
I'd appreciate any help or advice. Thanks.
Offline
hostname is now located in the package inetutils
Offline
I'm using XDM with XFCE. Some additional things to try/consider/whatever...
1. Have you got an executable ~/.xsession file? If not, then...
$ cp /etc/skel/.xsession $HOME
$ chmod 744 $HOME/.xsession
2. Did you edit /etc/inittab after switching from SLiM?
id:5:initdefault:
x:5:respawn:/usr/bin/xdm -nodaemon
3. Probably not related, but remember to add your user to the power and storage groups.
Anyway, it's all harmless and reversible stuff.
Offline
I'm using XFCE without anu DM, I just have the following on my scripts.
.bash_profile:
#
# ~/.bash_profile
#
[[ -f ~/.bashrc ]] && . ~/.bashrc
if [[ -z $DISPLAY && ! -e /tmp/.X11-unix/X0 ]] && (( EUID )); then
exec startx
fi
.xinitrc
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
exec ck-launch-session dbus-launch --exit-with-session startxfce4
Everything works fine. I also see the hostname warning you mentioned, I just ignored it.
Web application (LAMP) developer by day (or night or when ever I work) and rest of the time I play with (Arch) Linux, Python, C & Perl.
Offline
Well, I got the issue mostly resolved. After altering inittab (thanks for the tip, stoat), I was able to get the machine to boot to XDM, but after logging in, it kept returning me to the login. I thought maybe reinstalling XFCE would help but no. So I went back in to inittab to disable XDM, and then for some reason, startxfce4 finally booted me into XFCE. I really didn't change much, just tinkered with ~/.xinitrc and /etc/inittab, so I'm assuming the reinstall did the trick. For now I'll just leave the machine so that it boots to the console and then I can launch XFCE from there, while I get it configured how I like.
Thanks for all the help, I'm not sure what the exact solution was, but the support was appreciated!
And thanks skunktrader, inetutils took care of the hostname command.
Offline
Pages: 1