You are not logged in.
I installed Enlightenment, and was able to run it ONLY if I go in to console mode and use "startx"
here's how my .xinitrc looks like
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
#
exec enlightenment
However, I want to go straight to my Desktop Manager from startup or fresh reboot, hence I modify entry within my /etc/inittab to look like this.
#
# /etc/inittab
#
# Runlevels:
# 0 Halt
# 1(S) Single-user
# 2 Not used
# 3 Multi-user
# 4 Not used
# 5 X11
# 6 Reboot
id:5:initdefault:
rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p
c1:2345:respawn:/sbin/agetty 38400 vc/1 linux
c2:2345:respawn:/sbin/agetty 38400 vc/2 linux
c3:2345:respawn:/sbin/agetty 38400 vc/3 linux
c4:2345:respawn:/sbin/agetty 38400 vc/4 linux
c5:2345:respawn:/sbin/agetty 38400 vc/5 linux
c6:2345:respawn:/sbin/agetty 38400 vc/6 linux
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
x:5:respawn:/usr/bin/enlightenment -nodaemon
#x:5:respawn:/opt/kde/bin/kdm -nodaemon
# End of file
After restart, I'm not able to go in my Enlightenment, and there was long error that keeps on repeating, something with X server.
Care to shed any light here? I've used KDE and GNOME so far, but I want to try something different.
I appreciate the feedback.
Offline
You shouldn't set it up like this. This way enlightenment would run as root... If it started, in the first place. Enlightenment is a Window Manager, not a login manager.
A working way is to set up GDM (or KDM, your choice) to run at runlevel 5:
x:5:respawn:/opt/gnome/bin/gdm -nodaemon
And then enable auto-login with your username. You'll have to log in once with the login manager, so it'll remember that your WM of choice is enlightenment.
Note: I like GDM because I can run X11 applications as root with su out of the box. KDM doesn't let me without setting something up first, which I didn't want to spend time solving.
Ailen:
Kernel: Linux 2.6.14-rc4-ck1 #1 PREEMPT
Built on: Mon Oct 17 14:51:37 CEST 2005
Hardware: Mobile AMD Sempron(tm) Processor 2800+ AuthenticAMD
WM: E17 snapshot 20051016
Offline
I try using login manager to set your choice, be it KDE, GNOME or some other. The problem with KDE is that I don't see where to see it within Login Manager options.
Offline
Forgot to add
I've already put back the KDE as my default within /etc/inittab
In addition, I enabled auto login for my username, and when I reboot the next time, it went straightaway to KDE instead of giving me the option of which Login Manager I want.
Can someone using KDE give some advices? Thanks
Offline
Nvm, I found it.
Offline
Note: I like GDM because I can run X11 applications as root with su out of the box. KDM doesn't let me without setting something up first, which I didn't want to spend time solving.
can you expand on this? not sure i know what you mean, but would like to. sorry for getting off topic
He may look like an idiot and talk like an idiot but don't let that fool you. He really is an idiot.
- - - Groucho Marx
Registered Linux User #319935
Registered Linux Machine #204881
Offline
Here how I do it (I use XDM):
In the user's ~/.bashrc, put:
if [ ! -f /tmp/user.xauth ]; then
umask 377
/usr/X11R6/bin/xauth extract /tmp/user.xauth $DISPLAY
umask 022
fi
In root's ~/.bashrc, put:
if [ -f /tmp/user.xauth ]; then
xauth merge /tmp/user.xauth
fi
Offline
can you expand on this? not sure i know what you mean, but would like to. sorry for getting off topic
Months ago, when I was using KDM, I couldn't start any GUI apps as root with su.
I was not the only one:
http://bbs.archlinux.org/viewtopic.php? … play+error
I haven't tried KDM ever since, maybe this is already resolved, but I think it was the expected behavior... I don't know.
I hope this clears up a bit
Ailen:
Kernel: Linux 2.6.14-rc4-ck1 #1 PREEMPT
Built on: Mon Oct 17 14:51:37 CEST 2005
Hardware: Mobile AMD Sempron(tm) Processor 2800+ AuthenticAMD
WM: E17 snapshot 20051016
Offline
ahhh, i think that is still there, but not sure if it is a problem per se
thanks for the clarification
He may look like an idiot and talk like an idiot but don't let that fool you. He really is an idiot.
- - - Groucho Marx
Registered Linux User #319935
Registered Linux Machine #204881
Offline