Fixing the Mess of Logging into Account2 on Linux Fedora2

  • Thread starter Thread starter djeipa
  • Start date Start date
  • Tags Tags
    Linux
Click For Summary
SUMMARY

The discussion addresses a login issue with account2 on Linux Fedora2, where a message regarding a problem with the localdomain appears before KDE's main screen. The solution involves editing the /etc/hosts file to include the line "127.0.0.1 localhost.localdomain" and adding the computer's IP address on a new line. Additionally, the conversation touches on network connectivity issues, specifically why computer A can ping computer B but not vice versa, suggesting that firewall settings or configurations may be the cause. The use of terminal commands for troubleshooting and mounting shared drives is emphasized for stability.

PREREQUISITES
  • Familiarity with Linux command line operations
  • Understanding of network configurations and the /etc/hosts file
  • Basic knowledge of KDE desktop environment
  • Experience with terminal text editors
NEXT STEPS
  • Research how to configure the /etc/hosts file in Linux
  • Learn about network troubleshooting commands like ifconfig and ping
  • Explore mounting shared drives using the smbmount command
  • Study firewall configurations and their impact on network connectivity
USEFUL FOR

Linux system administrators, network engineers, and users troubleshooting login and network issues on Fedora systems.

djeipa
Messages
47
Reaction score
0
I set up 2 accoutns in Linux Fedora2 , with account1 I can log in just fine but with account2, I can also log in but before KDE's main screen appears, a message shows up *i have problem with localdomain.domain ...file in /etc/* (I can't remember the whole messagfe but something like that).

do you know how to fix this problem ? its fine but kind of mess, at least I think so.
 
Computer science news on Phys.org
You're going to have to get the exact message.

Did you create the new user on the command line or using the kde tool?
 
djeipa said:
I set up 2 accoutns in Linux Fedora2 , with account1 I can log in just fine but with account2, I can also log in but before KDE's main screen appears, a message shows up *i have problem with localdomain.domain ...file in /etc/* (I can't remember the whole messagfe but something like that).

do you know how to fix this problem ? its fine but kind of mess, at least I think so.

does it talk about a hosts file?
 
Yes, computergeek guesses conrrectly, how can i stop it from appearing everytime I log in ?
 
djeipa said:
Yes, computergeek guesses conrrectly, how can i stop it from appearing everytime I log in ?

open up a terminal and go to /etc and open the hosts file up using your favorite terminal editor. then add the line

127.0.0.1 localhost.localdomain

if that is already there, open up another terminal and type ifconfig and then write down your computer's IP address.

then on the next open line in the hosts file, put:

<ipaddress> localhost.localdomain
 
Thank you, thank you...so so much, I have another problem

Do you know why computer A can ping computer B but computer B can't ping computer A ? Firewalls on or off in this local cable sharing are not a problem. Just now that I can't do things like setting up [\\computerAName\ASharedFolder] from computer B's sharing widzard anymore. How can i fix this problem ? Thanks
 
There can be a lot of reasons. For instance, you can set computer B up to not respond to pings, so it simply just devours the packets , but yes I think you're sort of thinking the right thing. To mount a shared drive on linux I always use mount from the terminal, if you do ~# smbmount then it will come up with the info needed to use mount and to specify samba and all that , I tend to do everything from the terminal that I can before turning to wizards / tools , just because it tends to have more stable results.

you can also do
# man mount
I think its like mount -t smbfs -o username=uname,pass=password //computerinlowercase/shareincasesensitive /directory/tomountit

if you don't do the whole -o thing then it will just say Password? .. if there isn't a pass just hit enter
 

Similar threads

  • · Replies 24 ·
Replies
24
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 123 ·
5
Replies
123
Views
19K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
10
Views
5K
  • · Replies 30 ·
2
Replies
30
Views
3K
  • · Replies 12 ·
Replies
12
Views
6K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K