You are not logged in.
Hello.
Yesterday I start to use brishbin33 idea to startx in .bashrc and now when I exit X I got login promt.
And Here's my question I can restrart/shutdown my computer from X but it's safe?
That caused any problem's?
I don't use any DM
Thanks for answers
Last edited by SpeedVin (2009-08-15 14:48:56)
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
Hello SpeedVin!
What's the problem with reboot/shutdown commands ?
Offline
I don't have any problem but I want to know that shutdon/reboot in X not caused any problem's example kill X
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
Maybe you mean .bash_profile ... thats where I have configured it.
It is safe if you call your startup command with "&" at the end. That way as soon as you login on the console and X starts it logs out right away.
If you kill X or even if you use ctlr-alt-f* you are greeted with a nice console login prompt Thats what I use, and if you have X configured not to be killed by ctlr-alt-backspace then no worries at all I guess.
Here's how I have my .bash_profile looks like (starts X only if I login from tty1)
. $HOME/.bashrc
if [[ $(tty) == /dev/tty1 ]]; then
startx &> /dev/null &
logout
fi
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Running shutdown -h now from inside X is perfectly safe.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Offline
Ok thanks for help ROOKIE thanks for advice
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
No problem, since you were interested in a console login and I'm using and it has been trouble free for me I share it, spread good karma and good karma will come back when needed
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline