LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 08-07-2013, 05:03 AM   #1
AN28
Member
 
Registered: Apr 2013
Posts: 93

Rep: Reputation: 0
Configuring Enlightenment as the default window manager


hi Guys,

I am attempting to use the Enlightenment window manager on my BLFS system and I have changed the .xinitrc file under each of the following options:

Quote:
exec windowmanager
exec starte16
Quote:
exec windowmanager
exec e16
Quote:
exec starte16
but still cannot start Enlightenment. I get the following message:

Quote:
Enlightenment cannot connect to the display nominated by your shell's DISPLAY environment variable. You may set this variable to indicate which display name Enlightenment is to connect to. It may be that you do not have an X Server already running to serve that display connection, or that you do not have permission to connect to that display. Please make sure all is correct before trying again. Run an Xserver by running xdm or startx first, or contact your local system administrator, or Xserver vendor, or read the X, xdm and startx manual pages before proceeding.
Can someone please help me out
 
Old 08-07-2013, 05:59 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
1 members found this post helpful.
Old 08-07-2013, 06:07 AM   #3
AN28
Member
 
Registered: Apr 2013
Posts: 93

Original Poster
Rep: Reputation: 0
oopss sorry about that i was unaware of duplicating posts.
PLEASE don't close the thread though... I need an answer coz I am stuck with this
I will not post in multiple forums here onward
 
Old 08-07-2013, 09:49 AM   #4
Lennie
Member
 
Registered: Aug 2012
Location: Sweden
Distribution: LFS, built with pacman
Posts: 301

Rep: Reputation: 60
Did you try to start x after installing xorg? If not, remove your .xinitrc and type startx. That should start twm and show 3 xterm and a clock, if you have installed them. Make sure that works before you try to start another WM, to see if the problem is with xorg or enlightenment.
 
1 members found this post helpful.
Old 08-08-2013, 01:57 AM   #5
AN28
Member
 
Registered: Apr 2013
Posts: 93

Original Poster
Rep: Reputation: 0
Yes I tried it and startx works perfectly fine.
 
Old 08-09-2013, 01:10 PM   #6
itsgregman
Member
 
Registered: Jan 2008
Location: North Carolina
Distribution: Pclinuxos, Slackware, Mint, Vector
Posts: 129

Rep: Reputation: 26
Try

exec /usr/bin/enlightenment_start
 
1 members found this post helpful.
Old 08-22-2013, 06:36 AM   #7
AN28
Member
 
Registered: Apr 2013
Posts: 93

Original Poster
Rep: Reputation: 0
This is what I get
Attached Images
File Type: png E17.png (14.1 KB, 11 views)
 
Old 08-22-2013, 10:13 AM   #8
Lennie
Member
 
Registered: Aug 2012
Location: Sweden
Distribution: LFS, built with pacman
Posts: 301

Rep: Reputation: 60
Have you tried to google the error?
 
1 members found this post helpful.
Old 08-22-2013, 08:53 PM   #9
ReaperX7
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, Slackware-14.1, PCBSD-10.0
Posts: 2,891
Blog Entries: 15

Rep: Reputation: 745Reputation: 745Reputation: 745Reputation: 745Reputation: 745Reputation: 745Reputation: 745
Try using this as your .xinitrc for Enlightenment.

Code:
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps
[ -f $sysresources ] && xrdb -merge $sysresources
[ -f $sysmodmap ] && xmodmap $sysmodmap
[ -f $userresources ] && xrdb -merge $userresources
[ -f $usermodmap ] && xmodmap $usermodmap

# Start the window manager:
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
  exec ck-launch-session enlightenment_start
else
  exec enlightenment_start
fi
 
1 members found this post helpful.
Old 08-22-2013, 11:39 PM   #10
AN28
Member
 
Registered: Apr 2013
Posts: 93

Original Poster
Rep: Reputation: 0
Unhappy

Lennie: YES i did try Google first and since it did not work I came here

ReaperX7: I tried using the code segment you sent, but the same error repeats.

I am really confused because all articles/blog posts/forums mention that
Quote:
enlightenment_start
in the command line and a simple
Quote:
exec /usr/bin/enlightenment_start
in the .xinitrc file would do the trick...but then WHY is it not working for me ??
 
Old 08-23-2013, 01:05 AM   #11
rokytnji
Senior Member
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 13 , Various Puppys (MacPup,Slack0),MX-14
Posts: 2,493
Blog Entries: 16

Rep: Reputation: 794Reputation: 794Reputation: 794Reputation: 794Reputation: 794Reputation: 794Reputation: 794
I guess

Code:
startx e16
or

Code:
startx
at the command line before desktop does not work either. I see no mention of a login manager like slim or xdm.
 
1 members found this post helpful.
Old 08-23-2013, 01:20 AM   #12
AN28
Member
 
Registered: Apr 2013
Posts: 93

Original Poster
Rep: Reputation: 0
i have xdm as the login manager and startx works fine
 
Old 08-23-2013, 02:08 AM   #13
Lennie
Member
 
Registered: Aug 2012
Location: Sweden
Distribution: LFS, built with pacman
Posts: 301

Rep: Reputation: 60
Quote:
Originally Posted by AN28 View Post
Lennie: YES i did try Google first and since it did not work I came here
You should have told us about it. We can't know what you have tried unless you tell us about it. Exactly what did you try, and what happened? What command did you run and what errors did you get? Redirect the output of the commands to a file, so you can then copy-paste it here.

In your first post you said you tried 'exec starte16'. That is for a very old version of enlightenment. I guess you didn't install that old version, but the newest?

What I could get from googling your error is that it is because you try to start enlightenment without starting the x-server. If you put 'exec enlightenment_start' in .xinitrc, then you should run startx. Was that what you did? If you run 'enlightenment_start' from the commandline, then you don't start the x-server.
 
1 members found this post helpful.
Old 08-23-2013, 06:19 AM   #14
AN28
Member
 
Registered: Apr 2013
Posts: 93

Original Poster
Rep: Reputation: 0
<<In a nutshell>>

I initially started off trying to install E16(that is when i started this thread and posted my first comment)...but then aborted that and moved into E17!

I successfully managed to build it from source; installation did not give any errors but when trying to start Enlightenment I get the error attached herewith.

I have xdm as the login manager and the script "startx" works fine.

I have tried to start Enlightenment by changing the content of the .xinitrc file in all the following possible options (one at a time of course)
1. exec enlightenment_start
2. exec /usr/bin/enlightenment_start
3. code suggested by ReaperX7 in message #9 of this thread
4. sleep 5s && exec /usr/bin/enlightenment_start & sleep 10s

And have been typing "enlightenment_start" in the terminal to start (just like we would type "startxcfe4 if we need XCFE4 Desktop to start")

But sadly at each attempt I still get the same error that "Enlightenment cannot initialize Ecore_X!"

P.S: I don't know if this bit of information would be of use but...I am using ATI Radeon HD 2400 XT (Microsoft Corporation WDDM 1.1) for graphics. When I built Xorg I only installed the Vera Drivers. I am experimenting this build on Virtual Box, so don't know if this is a Virtual Box related problem.
Attached Images
File Type: png E17-error.png (43.9 KB, 4 views)
 
Old 08-23-2013, 09:18 AM   #15
Lennie
Member
 
Registered: Aug 2012
Location: Sweden
Distribution: LFS, built with pacman
Posts: 301

Rep: Reputation: 60
Quote:
Originally Posted by AN28 View Post
I have xdm as the login manager and the script "startx" works fine.
Even if you have installed xdm, right now you're not using it, and that is good. It's better to get it working from console before adding a DM.

When you say '"startx" works fine', I guess you mean it starts twm, with xclock and 3 xterms? But that's not what you want now, you want it to start enlightenment.

When .xinitrc is correctly configured, 'startx' should start enlightenment.

You should NOT type "enlightenment_start" in the console, as I've already told you, because it doesn't start the xserver. You should type startx. You could try and type 'xinit enlightenment_start', to see if it works. It will not give you the full environment as startx does, so you still need to configure .xinitrc.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuring Enlightenment as the default window manager AN28 Linux - Desktop 1 08-07-2013 12:12 PM
LXer: Introduction To The Enlightenment 17 Window Manager For X (Ubuntu 11.10) LXer Syndicated Linux News 0 01-08-2012 08:50 PM
[SOLVED] Enlightenment window manager dependencies Cultist Linux - General 1 02-09-2010 06:00 AM
Enlightenment window manager Tux Linux - Software 3 02-23-2006 07:55 PM
Enlightenment window manager .17?? rgbrock1 Suse/Novell 1 10-25-2005 09:33 PM


All times are GMT -5. The time now is 03:30 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration