LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-06-2015, 01:28 PM   #1
zillur
Member
 
Registered: Apr 2015
Posts: 210

Rep: Reputation: Disabled
Can't login as users after adding extra memory and then installing new nvidia


Hi there,
I am using the following system: Initially I had 64 Gb memory. Then I added extra memory. After added the memories I lost the GUI (maybe there was update issue with yum). Then I downloaded and installed "NVIDIA-Linux-x86_64-331.67.run". Now the GUI is working. But I can't login as a user in the desktop using my ID and password. But I can login through ssh using the same username and password. I also can login as root and I can access all of my files. But I don't want to login as root. I am new in the system administrator arena. Would you please to help me.

Best Regards
Zillur

System: Host: workstation01 Kernel: 3.10.0-229.14.1.el7.x86_64 x86_64 (64 bit gcc: 4.8.3)
Desktop: Gnome 3.8.4 Distro: CentOS Linux release 7.1.1503 (Core)
Machine: Mobo: ASUSTeK model: Z10PE-D16 WS v: Rev 1.xx
Bios: AmericaSystem: Host: workstation01 Kernel: 3.10.0-229.14.1.el7.x86_64 x86_64 (64 bit gcc: 4.8.3)
Desktop: Gnome 3.8.4 Distro: CentOS Linux release 7.1.1503 (Core)
Machine: Mobo: ASUSTeK model: Z10PE-D16 WS v: Rev 1.xx
Bios: American Megatrends v: 1001 date: 03/17/2015
CPU(s): 2 Octa core Intel Xeon E5-2630 v3s (-HT-MCP-SMP-) cache: 40960 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 76630
clock speeds: max: 3200 MHz 1: 1200 MHz 2: 1316 MHz 3: 1200 MHz
4: 1399 MHz 5: 1287 MHz 6: 1219 MHz 7: 1214 MHz 8: 1278 MHz
9: 1298 MHz 10: 1472 MHz 11: 1803 MHz 12: 1200 MHz 13: 1231 MHz
14: 1237 MHz 15: 1296 MHz 16: 1200 MHz
Graphics: Card: NVIDIA GK208 [GeForce GT 720] bus-ID: 81:00.0
Display Server: X.org 1.15.0 driver: nvidia
tty size: 80x24 Advanced Data: N/A for root
Audio: Card-1 NVIDIA GK208 HDMI/DP Audio Controller
driver: snd_hda_intel bus-ID: 81:00.1
Card-2 Intel C610/X99 series HD Audio Controller
driver: snd_hda_intel bus-ID: 00:1b.0
Sound: ALSA v: k3.10.0-229.14.1.el7.x86_64
Network: Card-1: Intel I210 Gigabit Network Connection
driver: igb v: 5.2.13-k port: 5000 bus-ID: 05:00.0
IF: eth0 state: down mac: <filter>
Card-2: Intel I210 Gigabit Network Connection
driver: igb v: 5.2.13-k port: 4000 bus-ID: 06:00.0
IF: eth1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives: HDD Total Size: 16120.9GB (11.2% used)
ID-1: /dev/sda model: MR9361 size: 16000.9GB temp: 0C
ID-2: /dev/sdb model: INTEL_SSDSCKJW12 size: 120.0GB temp: 46C
Partition: ID-1: / size: System: Host: workstation01 Kernel: 3.10.0-229.14.1.el7.x86_64 x86_64 (64 bit gcc: 4.8.3)
Desktop: Gnome 3.8.4 Distro: CentOS Linux release 7.1.1503 (Core)
Machine: Mobo: ASUSTeK model: Z10PE-D16 WS v: Rev 1.xx
Bios: American Megatrends v: 1001 date: 03/17/2015
CPU(s): 2 Octa core Intel Xeon E5-2630 v3s (-HT-MCP-SMP-) cache: 40960 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 76630
clock speeds: max: 3200 MHz 1: 1200 MHz 2: 1316 MHz 3: 1200 MHz
4: 1399 MHz 5: 1287 MHz 6: 1219 MHz 7: 1214 MHz 8: 1278 MHz
9: 1298 MHz 10: 1472 MHz 11: 1803 MHz 12: 1200 MHz 13: 1231 MHz
14: 1237 MHz 15: 1296 MHz 16: 1200 MHz
Graphics: Card: NVIDIA GK208 [GeForce GT 720] bus-ID: 81:00.0
Display Server: X.org 1.15.0 driver: nvidia
tty size: 80x24 Advanced Data: N/A for root
Audio: Card-1 NVIDIA GK208 HDMI/DP Audio Controller
driver: snd_hda_intel bus-ID: 81:00.1
Card-2 Intel C610/X99 series HD Audio Controller
driver: snd_hda_intel bus-ID: 00:1b.0
Sound: ALSA v: k3.10.0-229.14.1.el7.x86_64
Network: Card-1: Intel I210 Gigabit Network Connection
driver: igb v: 5.2.13-k port: 5000 bus-ID: 05:00.0
IF: eth0 state: down mac: <filter>
Card-2: Intel I210 Gigabit Network Connection
driver: igb v: 5.2.13-k port: 4000 bus-ID: 06:00.0
IF: eth1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives: HDD Total Size: 16120.9GB (11.2% used)
ID-1: /dev/sda model: MR9361 size: 16000.9GB temp: 0C
ID-2: /dev/sdb model: INTEL_SSDSCKJW12 size: 120.0GB temp: 46C
Partition: ID-1: / size: 108G used: 6.7G (7%) fs: xfs dev: /dev/sdb2
ID-2: /boot size: 497M used: 251M (51%) fs: xfs dev: /dev/sdb1
ID-3: swap-1 size: 4.29GB used: 0.00GB (0%) fs: swap dev: /dev/sdb3
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 36.0C mobo: N/A gpu: 0.0:47C
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 318 Uptime: 3 days Memory: 2550.2/177047.7MB
Init: systemd runlevel: 5 Gcc sys: 4.8.3
Client: Shell (bash 4.2.461) inxi: 2.2.28 108G used: 6.7G (7%) fs: xfs dev: /dev/sdb2
ID-2: /boot size: 497M used: 251M (51%) fs: xfs dev: /dev/sdb1
ID-3: swap-1 size: 4.29GB used: 0.00GB (0%) fs: swap dev: /dev/sdb3
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 36.0C mobo: N/A gpu: 0.0:47C
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 318 Uptime: 3 days Memory: 2550.2/177047.7MB
Init: systemd runlevel: 5 Gcc sys: 4.8.3
Client: Shell (bash 4.2.461) inxi: 2.2.28 n Megatrends v: 1001 date: 03/17/2015
CPU(s): 2 Octa core Intel Xeon E5-2630 v3s (-HT-MCP-SMP-) cache: 40960 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 76630
clock speeds: max: 3200 MHz 1: 1200 MHz 2: 1316 MHz 3: 1200 MHz
4: 1399 MHz 5: 1287 MHz 6: 1219 MHz 7: 1214 MHz 8: 1278 MHz
9: 1298 MHz 10: 1472 MHz 11: 1803 MHz 12: 1200 MHz 13: 1231 MHz
14: 1237 MHz 15: 1296 MHz 16: 1200 MHz
Graphics: Card: NVIDIA GK208 [GeForce GT 720] bus-ID: 81:00.0
Display Server: X.org 1.15.0 driver: nvidia
tty size: 80x24 Advanced Data: N/A for root
Audio: Card-1 NVIDIA GK208 HDMI/DP Audio Controller
driver: snd_hda_intel bus-ID: 81:00.1
Card-2 Intel C610/X99 series HD Audio Controller
driver: snd_hda_intel bus-ID: 00:1b.0
Sound: ALSA v: k3.10.0-229.14.1.el7.x86_64
Network: Card-1: Intel I210 Gigabit Network Connection
driver: igb v: 5.2.13-k port: 5000 bus-ID: 05:00.0
IF: eth0 state: down mac: <filter>
Card-2: Intel I210 Gigabit Network Connection
driver: igb v: 5.2.13-k port: 4000 bus-ID: 06:00.0
IF: eth1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives: HDD Total Size: 16120.9GB (11.2% used)
ID-1: /dev/sda model: MR9361 size: 16000.9GB temp: 0C
ID-2: /dev/sdb model: INTEL_SSDSCKJW12 size: 120.0GB temp: 46C
Partition: ID-1: / size: 108G used: 6.7G (7%) fs: xfs dev: /dev/sdb2
ID-2: /boot size: 497M used: 251M (51%) fs: xfs dev: /dev/sdb1
ID-3: swap-1 size: 4.29GB used: 0.00GB (0%) fs: swap dev: /dev/sdb3
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 36.0C mobo: N/A gpu: 0.0:47C
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 318 Uptime: 3 days Memory: 2550.2/177047.7MB
Init: systemd runlevel: 5 Gcc sys: 4.8.3
Client: Shell (bash 4.2.461) inxi: 2.2.28


I also tried to switch user in the command line. But.....

[root@workstation01 ~]# pwd
/root
[root@workstation01 ~]# su zillur
bash-4.2$ ls
ls: cannot open directory .: Permission denied
bash-4.2$ pwd
/root
bash-4.2$ su
Password:
[root@workstation01 ~]# ls
anaconda-ks.cfg initial-setup-ks.cfg Public
Desktop Music Templates
Documents NVIDIA-Linux-x86_64-331.67.run Videos
Downloads Pictures
 
Old 10-06-2015, 01:40 PM   #2
Habitual
LQ 5k Club
 
Registered: Jan 2011
Location: Nowhere near you, thank God.
Distribution: High Sierra
Posts: 8,598
Blog Entries: 15

Rep: Reputation: Disabled
Quote:
Originally Posted by zillur View Post
[root@workstation01 ~]# pwd
/root
[root@workstation01 ~]# su zillur
bash-4.2$ ls
ls: cannot open directory .: Permission denied
bash-4.2$ pwd
/root
Try
Code:
su - zillur
and see what happens.
 
Old 10-06-2015, 01:46 PM   #3
zillur
Member
 
Registered: Apr 2015
Posts: 210

Original Poster
Rep: Reputation: Disabled
Thank you very much for your kind suggestions. I have tried like this and got this:

[root@workstation01 root]# su - zillur
Last login: Tue Oct 6 13:21:59 EDT 2015 on :0
su: warning: cannot change directory to /home/zillur: No such file or directory
-bash-4.2$ ls
ls: cannot open directory .: Permission denied
-bash-4.2$ pwd
/run/media/root
-bash-4.2$ pwd
/run/media/root
-bash-4.2$ su
Password:
[root@workstation01 root]# cd '/run/media/root/831da725-3de4-46de-b6d4-30d15fd92d25'
[root@workstation01 831da725-3de4-46de-b6d4-30d15fd92d25]# ls
act edgardo gary steve zillur
[root@workstation01 831da725-3de4-46de-b6d4-30d15fd92d25]# pwd
/run/media/root/831da725-3de4-46de-b6d4-30d15fd92d25
[root@workstation01 831da725-3de4-46de-b6d4-30d15fd92d25]#
[root@workstation01 831da725-3de4-46de-b6d4-30d15fd92d25]# cd zillur/
[root@workstation01 zillur]# ls
Desktop Downloads lib Pictures Templates
Documents include Music Public Videos
[root@workstation01 zillur]# pwd
/run/media/root/831da725-3de4-46de-b6d4-30d15fd92d25/zillur
 
Old 10-06-2015, 01:54 PM   #4
zillur
Member
 
Registered: Apr 2015
Posts: 210

Original Poster
Rep: Reputation: Disabled
What should I do now?
 
Old 10-06-2015, 02:01 PM   #5
Habitual
LQ 5k Club
 
Registered: Jan 2011
Location: Nowhere near you, thank God.
Distribution: High Sierra
Posts: 8,598
Blog Entries: 15

Rep: Reputation: Disabled
Are you booting from installation media?
'/run/media/root/831da725-3de4-46de-b6d4-30d15fd92d25' looks 'funny'.

Also, can you paste the /etc/fstab file here?
Thank you.

Last edited by Habitual; 10-06-2015 at 02:03 PM.
 
1 members found this post helpful.
Old 10-06-2015, 02:15 PM   #6
zillur
Member
 
Registered: Apr 2015
Posts: 210

Original Poster
Rep: Reputation: Disabled
But what should I really do?
 
Old 10-06-2015, 02:31 PM   #7
Habitual
LQ 5k Club
 
Registered: Jan 2011
Location: Nowhere near you, thank God.
Distribution: High Sierra
Posts: 8,598
Blog Entries: 15

Rep: Reputation: Disabled
If you are replying from email notification that this post was replied to,
you need to refresh this page and re-read my last question.

Can you paste the /etc/fstab file here?
 
1 members found this post helpful.
Old 10-06-2015, 02:41 PM   #8
zillur
Member
 
Registered: Apr 2015
Posts: 210

Original Poster
Rep: Reputation: Disabled
Sorry for that. Here is the /etc/fstab file:

GNU nano 2.3.1 File: fstab


#
# /etc/fstab
# Created by anaconda on Fri Jul 24 12:08:27 2015
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=a7b150bf-f04a-4af0-917f-b9e8a6a45f35 / xfs defaults 0 0
UUID=d92c7e03-d559-48be-aaef-eb58b1608e6a /boot xfs defaults 0 0
/dev/sdb1 /home xfs defaults 0 0
UUID=bc6779ef-36cb-41ed-8f5d-21d2e7248b6b swap swap defaults 0 0
 
Old 10-06-2015, 02:47 PM   #9
Habitual
LQ 5k Club
 
Registered: Jan 2011
Location: Nowhere near you, thank God.
Distribution: High Sierra
Posts: 8,598
Blog Entries: 15

Rep: Reputation: Disabled
Thanks.

Don't be sorry. *it happens.
Not using the system as root is wise and smart and good for your Linux "mojo".

Sorry, I don't know what the fix is.
But don't worry, someone will be along who does.

Don't panic either, I believe it is fix-able.
Have a Great Day!
 
1 members found this post helpful.
Old 10-06-2015, 04:36 PM   #10
vincix
Member
 
Registered: Feb 2011
Distribution: Centos 7
Posts: 693

Rep: Reputation: 69
[never mind, I was wrong]

Last edited by vincix; 10-06-2015 at 04:38 PM.
 
Old 10-06-2015, 05:04 PM   #11
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,390

Rep: Reputation: 1416Reputation: 1416Reputation: 1416Reputation: 1416Reputation: 1416Reputation: 1416Reputation: 1416Reputation: 1416Reputation: 1416Reputation: 1416
In post 8 with your fstab, it shows to / of the filesystem with its UUID which is completely differnt from what you are using in your earlier output: /run/media/root/831da725-3de4-46de-b6d4-30d15fd92d25. The fstab UUID is: UUID=a7b150bf-f04a-4af0-917f-b9e8a6a45f35 / xfs defaults 0 0

I'm curious as to how you are getting the /run/media/root/UUID. Your output from ls on this directory shows four user which also seems odd as they would usually show under a /home directory. I don't use CentOS so someone who does may have some advice.
 
1 members found this post helpful.
Old 10-07-2015, 01:49 PM   #12
zillur
Member
 
Registered: Apr 2015
Posts: 210

Original Poster
Rep: Reputation: Disabled
Thanks a lot for your suggestions. After adding extra memory and installing nvidia, in /home directory there is no user.
 
Old 10-07-2015, 02:44 PM   #13
vincix
Member
 
Registered: Feb 2011
Distribution: Centos 7
Posts: 693

Rep: Reputation: 69
So you mean to say that you added twice extra memory, and after the second time, you're not finding anything under /home or are you just reiterating what you said in the first post?
 
1 members found this post helpful.
Old 10-07-2015, 03:23 PM   #14
zillur
Member
 
Registered: Apr 2015
Posts: 210

Original Poster
Rep: Reputation: Disabled
Yeah. After adding the new memories, I couldn't boot. Then Installed nvidia and now in the /home directory there is no user.
 
Old 10-07-2015, 03:39 PM   #15
Habitual
LQ 5k Club
 
Registered: Jan 2011
Location: Nowhere near you, thank God.
Distribution: High Sierra
Posts: 8,598
Blog Entries: 15

Rep: Reputation: Disabled
Are you sure you are booting off the hard drive and not some other media?
 
  


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
Can't login as users after adding extra memory and then installing new nvidia zillur Linux - Server 2 10-07-2015 03:11 PM
Problem with adding extra memory zillur Linux - Newbie 19 10-05-2015 04:33 PM
Bash script for adding users is running but not adding users Gren Programming 2 04-27-2012 04:53 AM
cant login to X after installing nvidia driver!!! :( help ic_torres Slackware 16 11-28-2005 02:02 AM
kde login errors after adding users nbn792 Debian 3 10-04-2005 10:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:32 AM.

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