You are not logged in.
Hello,
I have tried different i3 config files that i downloaded from Github. I don't know why but when i start i3 from tty0 via
startx i3, it looks like the;
The i3 terminal is coming and the keyboard is disabled. Looks like the i3 was frozen. Nothing works except the TTY-X (CTRL+ALT+Number) transitions.
Note: I did step by step as described in the i3 ArchWiki.
Config file: https://ptpb.pw/C_Te (in ~/.config/i3/config)
Why is this happening? How do I resolve the bug? Is this a bug or is there a point I don't understand?
Thank you!
Mod Edit - Replaced oversized image with link.
CoC - Pasting pictures and code
Last edited by Slithery (2018-10-12 15:55:03)
Offline
Configure a proper ~/.xinitrc and run startx instead of startx i3.
https://wiki.archlinux.org/index.php/Xinit
Offline
I have tried different i3 config files that i downloaded from Github
Then post your question to issues section of those github repos.
If you want help here, you should follow our wiki and at very least show us what is in these copied configs that you are using.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Configure a proper ~/.xinitrc and run startx instead of startx i3
My .xinitrc file:
session=${1:-openbox}
case $session in
i3|i3wm ) exec i3;;
xfce|xfce4 ) exec startxfce4;;
openbox|openbox-session ) exec openbox-session;;
* ) exec $1;;
esacI did this way because I want to use more than one window manager. Is that what is causing the problem?
Offline
Dentrax wrote:I have tried different i3 config files that i downloaded from Github
Then post your question to issues section of those github repos.
If you want help here, you should follow our wiki and at very least show us what is in these copied configs that you are using.
Oh, sorry for misunderstanding. I have tried about 5-6 different config and they are all the same problem.
- Config uploaded.
Offline
Thanks for the addition.
Your xinitrc is still not complete. Please see the wiki page on xinit. But the missing portions of your xinitrc should not cause the problem you are facing.
It looks like no WM is starting at all, rather just a terminal. Can you post your xorg log?
Are you by chance editing your xinitrc and/or running X as root (or with sudo)?
Last edited by Trilby (2018-10-12 16:02:28)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
startx sesion=i3 or
startx /usr/bin/i3but simply startx i3 wont work, startx should exec openbox if you had it installed, and configured.
Offline
qinohe, what are you basing any of that on? Did you read his xinitrc? "session" is set as the first parameter if there is one. You cannot pass variable assignment as a command line parameter to a script, potentially you could export session as an environment variable, but it'd still be overwritten by the first line of his xinitrc.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Thanks for the addition.
Your xinitrc is still not complete. Please see the wiki page on xinit. But the missing portions of your xinitrc should not cause the problem you are facing.
It looks like no WM is starting at all, rather just a terminal. Can you post your xorg log?
Are you by chance editing your xinitrc and/or running X as root (or with sudo)?
My Xorg log file: https://ptpb.pw/-mkB
I tried with sudo, nothing changed. ![]()
Offline
startx sesion=i3or
startx /usr/bin/i3but simply startx i3 wont work, startx should exec openbox if you had it installed, and configured.
I tried with "startx /usr/bin/i3" and annoying console screen did not come. The screen was completely yellow now. ![]()
Offline
Oops Trilby didn't notice, thanks, glad there are people awake here.;)
@Dentrax, what the others already said but here you go, https://wiki.archlinux.org/index.php/Xinit
Last edited by qinohe (2018-10-12 16:24:40)
Offline
Oops Trilby didn't notice, thanks, glad there are people awake here.;)
@Dentrax, what the others already said but here you go, https://wiki.archlinux.org/index.php/Xinit
Oh thank you! "xinit i3" works very well now! But after doing this, "startx" does not work anymore. Openbox no longer opens automatically when I write "startx". ("xinit openbox" request sudo permission) It actually works but it's like the picture in the topic. (just purple console screen)
Xorg Log: https://ptpb.pw/ryFD
Last edited by Dentrax (2018-10-12 16:58:26)
Offline
Lets start with you showing us your newly created xinitrc.
Offline
idk about you, but for me, I had to use $2 for my case input, as startx would always output something static as $1 (I don't remember, xterm or something?). if unsure, just add something like
echo $@ > out to the start of your xinitrc and it will output what startx is passing on.
also, for me, I just use the *) in case to determine my default session. here's mine, as an example:
case $2 in
i3*) exec i3;;
cinn*) exec cinnamon-session;;
*) exec i3
esacOffline