You are not logged in.
Pages: 1
Hi, my problem is too strange, but I'll try to explain it. Im using arch with xmonad, and today, after logging in the session from tty, startx command just didn't do anything. I looked in Xorg.log and saw such error "xf86OpenConsole: VT_ACTIVATE failed: Operation not permitted". After some frustration I just tried it with sudo, system started trying to load, but then nothing again, just tty. And then I noticed that there's no actually errors in terminal, after inputting non existing commands, etc. Also, I found out that it may be the case for previous error with Xorg.
The thing is I don't know why is it no stderr in terminal, either is it redirected somehow, or just stopped work somehow. So, is anybody know is there a way to detect what process/config does such redirection, or check if standart error processing working at all?
Offline
After some frustration I just tried it with sudo
Break that habit before you break your system.
Is the stderr redirect in place after you log back in, or is it only after trying to start X? Startx or some other part of X starting does redirect all the standard streams now - many users still need to use `reset` after exiting X, or they can log out and in again.
If the redirect is in place before you try to start X, then you should look into your shell configuration files and/or see if the same happens if you log in as root (to the tty, not X).
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Ok, I got it. The thing was in my fish shell config file... I added those strings to my fish config file
# in ~/.config/fish/config.fish
# Load the default rubies
if test -z $rvm_bin_path
exec bash --login -c "exec fish"
endas described on rvm official site. After commenting them out, I logged out and in again, now everything works. Don't know what is the problem thou, the same config works on my osx 10.10 system, too lazy to look in error log now, so this one should be solved. Thanks Trilby for trying to help.
Offline
Pages: 1