Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: RedHat 7.0,7.1,7.2,7.3,8.0. Sun Solaris
Posts: 111
Rep:
GUI dead
Hi guys..need help!!!
My default boot is 3. When I typed startx or gnome-session or startkde. It end up with
Unable to lock ICE authority file: /root/.ICEauthority. Any idea!!!
I don't wan to reinstall my RH 7.2 again. thanks
Could it be that your monitor resolution/video card is not well configured?
Try to use xf86config, or whatever you have in RH to configure from the Konsole.
BTW - never run startx as root, use a normal user account.
If there is a bug or exploit in any application you run as root it can destroy your entire system, if you run as a normal user the worst it can do is to trash your home directory.
And its a lot easier to restore a home directory from backup then an entire system.
(If you want to run a graphical application (i.e. config utility) as root I suggest using the su command)
Logging in as root and using "su" are virtually the same. There are some subtle differences. First of all, if people have to su to become root, you can track who was using it and when. Secondly, it gets you out of the "run everything as root" mindset.... only using su when necessary. Thirdly, if you restrict root logins to the console only, you can protect your system better since all su attempts are logged and someone cant just try to telnet and hack into your system as root.
If you su then you have all the permissions of root... but you are not running all the same applications as root.
For example, the window manager. If you log in as root then the window manager runs as root, if you log in as a normal user and then su, the window manager is running as you, but the application that you have to be root to run is running as root.
If there is a bug in the window manager that lets somebody trash files then it can't do any serious damage as it isn't running as root.
Keep the applications with the power of root to a minimum.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.