LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-10-2009, 08:22 AM   #1
Azazwa
Member
 
Registered: Mar 2009
Distribution: Fedora 8, Ubuntu 9.10, SuSE 10, Fedora 14
Posts: 98

Rep: Reputation: 15
Unhappy Appearance of desktop changed, if I log in as root and I want it the way it was...


Hi!

I guess this could be funny for those who know how and why this happened... :-)

I have to change a lot of things on the network and so on, so I often log in as root. I know it's bad practice, but okay.

I have Fedora 8 and a small partition for Windows XP.

I had to put the computer off to change power plugs, and when I put it on again I logged into XP quickly, then I restarted the computer and went to Fedora. I wanted to log in as root, and usually after I've typed in my password, then it warns me and asks me whether I want to continue. This time it didn't do that, and I didn't see the normal Fedora background on the desktop. The background is a dark blue, and the title bars are green. It has a xclock in the corner, a Twm pop-up and a Firefox window was already open, as well as a terminal that doesn't make sense.

Like this:
***************************************************
bash: whoami: command not found
bash: grep: command not found
bash: dircolors: command not found
bash: whoami: command not found
bash: getent: command not found
bash: getent: command not found
bash: egrep: command not found
bash: awk: command not found
bash: tail: command not found
bash: wc: command not found
bash: [: -ne: unary operator expected
generating ssh file /.ssh/id_dsa ...
bash: ssh-keygen: command not found
generating ssh file /.ssh/identity ...
bash: ssh-keygen: command not found
generating ssh file /.ssh/id_rsa ...
bash: ssh-keygen: command not found
bash: cat: command not found
adding id to ssh file /.ssh/authorized_keys2
bash: /.ssh/authorized_keys2: No such file or directory
bash: cat: command not found
adding id to ssh file /.ssh/authorized_keys
bash: /.ssh/authorized_keys: No such file or directory
bash: cat: command not found
adding id to ssh file /.ssh/authorized_keys2
bash: /.ssh/authorized_keys2: No such file or directory
bash: chmod: command not found
[root@gnlserv01 ~]#
*******************************************

When I log in as a normal user, I get the usual Fedora background.

I just want things to look normal again when I log in as root. I don't even know how to get to my files the way things look now.

What must I do?
 
Old 03-10-2009, 01:16 PM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Quote:
I often log in as root. I know it's bad practice, but okay.
If you are logging into your root account through the GUI (a very bad idea) and you find that root has been running a terminal with commands you didn't give, and somebody has been trying to generate ssh keys, and your root windowmanager has changed, and firefox is already open when it shouldn't be, maybe you should wonder if your machine has been compromised?
 
Old 03-11-2009, 02:49 AM   #3
Azazwa
Member
 
Registered: Mar 2009
Distribution: Fedora 8, Ubuntu 9.10, SuSE 10, Fedora 14
Posts: 98

Original Poster
Rep: Reputation: 15
Hi!

Hm, I think I am responsible for the "compromise" if you want to put it like that. Perhaps more background info would help. I was busy installing OSCAR on the computer which would be acting as the headnode. I wasn't finished with the install, although I was told that I could put the computer off, and start the OSCAR wizard later again. I was told that I could do a full install on the headnode without any normal nodes, but it didn't seem possible to me and the wizard didn't allow me to add 0 nodes. Unfortunately, to add a node and a switch, I needed to change power plugs, that's why I had to put the headnode off before completing the full OSCAR install.

This also explains the ssh problems, because it needs to be changed for certain things on OSCAR I think. While I was doing the OSCAR install, I had one terminal for the OSCAR output, another for general things (like checking files) and when I wanted to open a third terminal I got the same kind of thing that I get on the terminal with TWM now.

Does that shed any light on the problem?
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
have root password but cant log to desktop dladave Linux - Newbie 8 12-24-2008 01:37 PM
desktop fonts and appearance keratos Linux - Desktop 11 11-06-2007 04:35 PM
GNOME desktop not loading after trying to log in with root user in RHEL4 sarbajitde Linux - Newbie 2 09-11-2006 12:49 AM
Desktop Appearance problem for Suse 10.0 RC1 TigerLinux SUSE / openSUSE 5 10-11-2005 12:22 PM
Changing the Desktop Appearance suwandy_chandra Linux - Newbie 1 03-05-2004 09:15 PM


All times are GMT -5. The time now is 08:30 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