You are not logged in.

#1 2005-08-26 09:17:12

infernova
Member
Registered: 2004-04-09
Posts: 61

Enlightenment...help!

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

#2 2005-08-26 09:48:32

Karma XXL
Member
From: Budapest, Hungary
Registered: 2005-06-13
Posts: 91

Re: Enlightenment...help!

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

#3 2005-08-29 03:50:12

infernova
Member
Registered: 2004-04-09
Posts: 61

Re: Enlightenment...help!

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

#4 2005-08-29 04:00:20

infernova
Member
Registered: 2004-04-09
Posts: 61

Re: Enlightenment...help!

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

#5 2005-08-29 04:12:00

infernova
Member
Registered: 2004-04-09
Posts: 61

Re: Enlightenment...help!

Nvm, I found it.

Offline

#6 2005-08-31 02:52:37

jerrym
Member
From: Kannapolis, NC
Registered: 2005-07-08
Posts: 60

Re: Enlightenment...help!

Karma XXL wrote:

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  wink


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

#7 2005-08-31 04:22:08

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Enlightenment...help!

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

#8 2005-08-31 05:28:27

Karma XXL
Member
From: Budapest, Hungary
Registered: 2005-06-13
Posts: 91

Re: Enlightenment...help!

jerrym wrote:

can you expand on this? not sure i know what you mean, but would like to. sorry for getting off topic  wink

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 smile


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

#9 2005-09-04 02:28:55

jerrym
Member
From: Kannapolis, NC
Registered: 2005-07-08
Posts: 60

Re: Enlightenment...help!

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

Board footer

Powered by FluxBB