You are not logged in.

#1 2012-07-16 07:57:26

tomisacat
Member
Registered: 2011-09-25
Posts: 43

[Solved]Cannot execute i3 window manager

I installed i3 tiling window manager along with kde(kde could be executed),and follow the step written in i3's wiki:

Edit ~/.xinitrc and add:
exec i3
exec i3 -V >>~/.i3/i3log >&1

and cp /etc/i3/config ~/.i3/config,after these steps I still cannot execute i3 wm, could anyone tell me what I missed?

appreciate your reply.

Last edited by tomisacat (2012-07-20 05:14:29)

Offline

#2 2012-07-16 08:04:08

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [Solved]Cannot execute i3 window manager

And what happens exactly when you try to run it ("can not execute" is pretty vague)? Does the i3log file contain any info?

EDIT: typo

Last edited by Gcool (2012-07-16 08:33:31)


Burninate!

Offline

#3 2012-07-16 10:05:31

tomisacat
Member
Registered: 2011-09-25
Posts: 43

Re: [Solved]Cannot execute i3 window manager

Gcool wrote:

And what happens exactly when you try to run it ("can not execute" is pretty vague)? Does the i3log file contain any info?

EDIT: typo

I type sudo i3 and it just shows the information: i3:cannot open display ,I checked the directory ~/.i3 and find there is nothing except the config file(copied from /etc).

Offline

#4 2012-07-16 10:20:02

hesse
Member
Registered: 2011-12-08
Posts: 88

Re: [Solved]Cannot execute i3 window manager

tomisacat wrote:

I installed i3 tiling window manager along with kde(kde could be executed),and follow the step written in i3's wiki:

Edit ~/.xinitrc and add:
exec i3
exec i3 -V >>~/.i3/i3log >&1

You should add just one of the above exec statements by the way, and it should be on the last line in ~/.xinitrc. The second line is preferred if you want to log messages from i3 while it's running. To start a window manager manually from a console use

xinit /full/path/to/i3

Last edited by hesse (2012-07-16 10:20:51)

Offline

#5 2012-07-18 11:19:23

lemons
Member
Registered: 2012-07-15
Posts: 19

Re: [Solved]Cannot execute i3 window manager

Also you shouldn't be running it in root. You should put exec i3 in your ~/.xinitrc file and then in tty just startx

Offline

#6 2012-07-18 17:41:45

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: [Solved]Cannot execute i3 window manager

If you have consolekit write this to ~/.xinitrc (and nothing else for starters).

exec ck-launch-session i3

Then use "startx" from commandline.

Offline

#7 2012-07-19 08:22:34

tomisacat
Member
Registered: 2011-09-25
Posts: 43

Re: [Solved]Cannot execute i3 window manager

hesse wrote:
tomisacat wrote:

I installed i3 tiling window manager along with kde(kde could be executed),and follow the step written in i3's wiki:

Edit ~/.xinitrc and add:
exec i3
exec i3 -V >>~/.i3/i3log >&1

You should add just one of the above exec statements by the way, and it should be on the last line in ~/.xinitrc. The second line is preferred if you want to log messages from i3 while it's running. To start a window manager manually from a console use

xinit /full/path/to/i3

Thank you,it seems worked.

Offline

#8 2012-07-19 08:23:11

tomisacat
Member
Registered: 2011-09-25
Posts: 43

Re: [Solved]Cannot execute i3 window manager

teateawhy wrote:

If you have consolekit write this to ~/.xinitrc (and nothing else for starters).

exec ck-launch-session i3

Then use "startx" from commandline.

Thank you.I can use it now

Offline

#9 2012-07-19 08:28:46

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved]Cannot execute i3 window manager

Please remember to mark your thread as [Solved].


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB