You are not logged in.
Pages: 1
I installed Arch and i3. I saved a config for it in ~/.config/i3/config. When I start i3 with "sudo startx" there is no change and its appearance is default. What can be the problem?
Offline
Needlessly, and recklessly, running X with elevated privileges is the problem.
Offline
Needlessly, and recklessly, running X with elevated privileges is the problem.
Can you describe more?
Offline
Offline
Generally, unless you need to, you don't want to run things with sudo. You could either end up messing something up yourself by doing something wrong, or potentially run something malicious that could harm your system.
Offline
Generally, unless you need to, you don't want to run things with sudo. You could either end up messing something up yourself by doing something wrong, or potentially run something malicious that could harm your system.
Yes. You shouldn't be using sudo.
When I do not use sudo, I get same output (default appearance) too.
Last edited by RezaHoss (2021-11-29 20:32:51)
Offline
That's probably because you've already used sudo when you shouldn't have.
Check the permissions on all of the files and directories in your ~ to make sure that they are correct.
Offline
Also please post your xinitrc…
Offline
That's probably because you've already used sudo when you shouldn't have.
Check the permissions on all of the files and directories in your ~ to make sure that they are correct.
I improved config file's permission with "sudo chmod +x config", but I have the problem agian.
Also please post your xinitrc…
Where is it?
Offline
I improved config file's permission with "sudo chmod +x config", but I have the problem agian.
No you didn't. You made it worse.
seth wrote:Also please post your xinitrc…
Where is it?
Are you A) not using archlinux, B) trolling, or C) all of the above?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I improved config file's permission with "sudo chmod +x config"
head->desk()
the obivous
In any event his i3 config doesn't apply because he's running twm…
Offline
Before I close this thread, I'd like to ask; how did you install Arch Linux? None of the things you are attempting make any sense -- and you most certainly did not get guidance from the official installation guide. Nor have you taken a clue from not one, not two, but three former/current staff members in addition to one of our most helpful and prolific members. Add me as the fourth staff member to tell you your doing it wrong.
Stop. Slow down. Why do you think making a configuration file that is passed to i3 executable is a good idea? When you run something using sudo, you take on the persona of root. This means *any* security issues in highly complex code like i3 and xorg are now exploitable at the root level. It also makes it likely that files created by the sudo session will be owned by root, and your user won't be able to change them or even remove them.
You have a couple options. If you did not install Arch Linux in accordance with the installation guide, start over and do so now. If not, please take your support questions elsewhere. If you did, you still may want to consider reinstalling from scratch to ensure things are clean. Or, remove your user and it directories and recreate the user from scratch. And, create an xinitrc. As you don't know where it is, you must not have written one, and as Seth points out, you are using the system default version which attempts to run twm. Of course, that requires that you have installed xclock and xterm, or it will error out of Xorf and return to the console.
Go to the Arch Wiki and search for terms like xinitrc xorg and i3.
Last edited by ewaller (2021-11-30 15:46:27)
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
Pages: 1