Shaochun Wang schrieb:
Every time I login, I input startx to start the X Window working environment. Now I am tired of this typing,
so I add the following to my $HOME/.bash_profile file:

        pgrep X >/dev/null || exec startx

I works as I hope! But I still wonder whether there exits
another way to do it. Any recommendation?


Hi

look at the "/etc/rc.conf". You can set your default displaymanager and graphical environment. Then you add "xdm" (even if you are using "gdm") to the default runlevel by "rc-update add xdm default".
Your Displaymanager will start every boot automatically.

Regards

Norman
--
[email protected] mailing list

Reply via email to