You are not logged in.

#1 2013-07-14 21:12:37

z0mbi3z4ch
Member
Registered: 2013-07-14
Posts: 6

[SOLVED] Having issues with enlightenment, startx, xinit, and twm

Hello-

I am new to the Arch community, not new to Linux.  Thus far I can say that I do love the platform.  As you can see by the title I am having a ton of issues.  Lets start off with startx.

I did change the .xinitrc file to exec enlightenment_start, not to mention the other DE's that I tried to use, KDE and Mate.
my .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
# exec mate-session
exec enlightenment_start
# ...or the Window Manager of your choice

same thing I did the exec removed the # and when I

pacman -Syy
startx

I get the TWM every time, I have looked for everything I can to keep this from happening not sure what I need to fix.

As for the KDE:
same thing it goes to the TWM
I had to use

kdm

to get the KDE to load and it loaded just fine
For mate same thing when running startx just goes to the TWM
I had to use

xinit /usr/bin/mate-session -- -br +bs -dpi 96

this got Mate to load just fine
for the enlightenment I followed the steps to the "t" on 3 different occasions from https://wiki.archlinux.org/index.php/E17
I even tried

xinit /usr/bin/enlightenment -- -br +bs -dpi 96

the startx is a no go keeps going to TWM
when I type

enlightenment_start

I get a little movement then I get this at the bottom

 Enlightenment cannot initialize Ecore_X!

Thank you in advance for the help, I look forward to chatting with you all

Last edited by z0mbi3z4ch (2013-07-15 01:13:29)

Offline

#2 2013-07-14 21:36:22

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,725

Re: [SOLVED] Having issues with enlightenment, startx, xinit, and twm

Hello, and welcome to Arch Linux.  I have only your first post by which to gage you, so bear with me if I start with the basics.

As a sanity check, where did you create that .xinitrc ?   It has to be in ~  (Your home direcrory)

Last edited by ewaller (2013-07-14 22:00:35)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2013-07-14 21:40:07

z0mbi3z4ch
Member
Registered: 2013-07-14
Posts: 6

Re: [SOLVED] Having issues with enlightenment, startx, xinit, and twm

Thank you for the warm welcome and yes at some point we are all noobs

this is how I get to the .xinitrc file, I figured I would show you rather than try to explain, actions always speak louder than words

 nano /etc/skel/.xinitrc

Offline

#4 2013-07-14 21:55:43

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,725

Re: [SOLVED] Having issues with enlightenment, startx, xinit, and twm

That is what I thought.  That is a template file that is not intended to be modified, per se.   Each user is to make a copy of that file to their home directory, $HOME, or, in shorthand,  ~

Each user is then free to change the file to their heart's content.  If you which to create a default across the entire system than, as root, you would place a copy of the file in /etc/X11/xinit/xinitrc.  Users can still override that by placing a copy in their $HOME.   You may want to read through the output of man startx in which this is detailed.

Last edited by ewaller (2013-07-14 21:56:43)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#5 2013-07-15 00:29:57

z0mbi3z4ch
Member
Registered: 2013-07-14
Posts: 6

Re: [SOLVED] Having issues with enlightenment, startx, xinit, and twm

Ok I moved the .xinitrc to the ~ area

When I run startx from user I get:

 waiting for X server to shut down (EE) Server terminated successfully (0).  Closing log file.er lost

When I try to run startx from root I get:

waiting for X server to shut down (EE) Server terminated successfully (0).  Closing log file.pecified) ./root/.xinitrc : line 18: exec: enlightenment_start: not found

When I try from root

enlightenment_start

I get:

 Enlightenment cannot initialize Ecore_X!

Thoughts?

Offline

#6 2013-07-15 00:37:46

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: [SOLVED] Having issues with enlightenment, startx, xinit, and twm

I assume you moved the file as root, correct? Otherwise, you'd have got an error. The ~ indicates your home directory, whoever you happen to be. So when you are root, it means root's home directory. When you are you, it means yours.

So you probably want to move the file back to /etc/skel/.xinitrc. Do that as root. Then, as your ordinary user - not as root - copy it to your home.

ls ~/.xinitrc
cp /etc/skel/.xinitrc

The first command should give you an error. If not, you already have a .xinitrc and might want to look at it before replacing it. If you get the error, though, the cp command will copy the central .xinitrc to your home directory. Any changes you want to make, use nano on that copy - not on the original in /etc/skel.

Don't run X as root.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#7 2013-07-15 00:43:23

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,550
Website

Re: [SOLVED] Having issues with enlightenment, startx, xinit, and twm

z0mbi3z4ch wrote:
pacman -Syy

I'm not sure why that was part of this process, and while this will not likely solve the current issue, it will prevent future ones: run `pacman -Syu` before you try installing anything else (i.e., now).

Then ensure enlightenment17 is installed.  You can do both at once with `pacman -Syu  enlightenment17`.

Last edited by Trilby (2013-07-15 00:43:57)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#8 2013-07-15 00:55:49

z0mbi3z4ch
Member
Registered: 2013-07-14
Posts: 6

Re: [SOLVED] Having issues with enlightenment, startx, xinit, and twm

to cfr:
yes it is in my home directory. when I run

 ls ~/.xinitrc

It shows me the location

To Trilby:
I ran that in the process because it was in the original install for Arch guide.  I did what you said and still getting

waiting for X server to shut down (EE) Server terminated successfully (0).  Closing log file.er lost

this is from user not root

Offline

#9 2013-07-15 01:03:00

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: [SOLVED] Having issues with enlightenment, startx, xinit, and twm

So what is the contents of ~/.xinitrc? Is it the same as the version you showed above?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#10 2013-07-15 01:03:48

z0mbi3z4ch
Member
Registered: 2013-07-14
Posts: 6

Re: [SOLVED] Having issues with enlightenment, startx, xinit, and twm

found it, thank you all for your help and this makes me feel like a n00b bad, I misspelled enlightenment in the .xinitrc file, when I found that issue it works fine with the startx thank you all for your help I did learn something valuable here.
1.  Spell check your programming then have your wife look at it
2.  move the .xinitrc to the home dir.

Again thank you all for the help and I look forward to many more posts

Offline

#11 2013-07-15 01:05:46

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: [SOLVED] Having issues with enlightenment, startx, xinit, and twm

Please mark the thread [solved] by editing your original post and tagging the subject. Thanks.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#12 2013-07-15 01:07:22

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,725

Re: [SOLVED] Having issues with enlightenment, startx, xinit, and twm

One last thing.  As only you really know when something is solved, we ask the person who starts a thread to please mark it as solved.  To do so, edit your first post and prepend [SOLVED] to the thread title.

Thanks.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#13 2013-07-15 01:09:53

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: [SOLVED] Having issues with enlightenment, startx, xinit, and twm

We like to solve threads twice on these forums! smile


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#14 2013-07-15 01:15:16

z0mbi3z4ch
Member
Registered: 2013-07-14
Posts: 6

Re: [SOLVED] Having issues with enlightenment, startx, xinit, and twm

Thanks again, can't wait to break something else smile

Offline

Board footer

Powered by FluxBB