LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 03-12-2002, 03:26 AM   #1
guanyu
Member
 
Registered: Jul 2001
Distribution: RedHat 7.0,7.1,7.2,7.3,8.0. Sun Solaris
Posts: 111

Rep: Reputation: 15
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
 
Old 03-12-2002, 04:40 AM   #2
aizkorri
Member
 
Registered: Feb 2002
Location: Basque Country
Distribution: Fedora 14, Ubuntu 14.04
Posts: 434
Blog Entries: 1

Rep: Reputation: 45
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.
 
Old 03-12-2002, 06:17 AM   #3
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Rename /root/.ICEauthority to something else and do startx again.
 
Old 03-12-2002, 08:06 AM   #4
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
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)
 
Old 03-12-2002, 02:52 PM   #5
Stephanie
LQ Addict
 
Registered: May 2001
Location: Arizona
Distribution: 9.2 Mandy 1.4 Gentoo 5.1 FreeBSD WinXP
Posts: 1,166

Rep: Reputation: 45
OK, if you go in as 'su', dont you have rights then to do damage to a base Linux ssytem?

I am wondering what the difference is between using root and 'su'.
 
Old 03-12-2002, 03:45 PM   #6
Sixpax
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386

Rep: Reputation: 30
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.
 
Old 03-12-2002, 04:40 PM   #7
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
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.
 
Old 03-13-2002, 04:08 AM   #8
guanyu
Member
 
Registered: Jul 2001
Distribution: RedHat 7.0,7.1,7.2,7.3,8.0. Sun Solaris
Posts: 111

Original Poster
Rep: Reputation: 15
Problem solved!
Thanks guy!
First of all,
/sbin/telinit 1
rm -rf /tmp
mkdir /tmp
chomod 1777 /tmp
rm /root/.XAuthority
/sbin/telinit 3
Done!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[Ubuntu GUI] Changing GUI from Gnome to wmaker MangaManiac Linux - Laptop and Netbook 8 05-08-2005 04:17 PM
Isn't Windows 95 or 98 a better GUI solution for old machines than an old Linux GUI lynchmob09 General 10 04-20-2004 02:24 AM
Xinetd dead --xinetd dead but pid file exists hillxy Linux - General 1 04-15-2004 03:10 PM
Dead Display = Dead Machine chris319 Linux - Hardware 1 12-05-2003 07:37 AM
Squid:2nd Browser access Internet SPEED dead becomes dead slow mwj Linux - Software 1 10-04-2003 02:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration