LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't login as users after adding extra memory and then installing new nvidia (https://www.linuxquestions.org/questions/linux-newbie-8/cant-login-as-users-after-adding-extra-memory-and-then-installing-new-nvidia-4175555454/)

zillur 10-06-2015 12:28 PM

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

Habitual 10-06-2015 12:40 PM

Quote:

Originally Posted by zillur (Post 5430805)
[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.

zillur 10-06-2015 12:46 PM

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

zillur 10-06-2015 12:54 PM

What should I do now?

Habitual 10-06-2015 01:01 PM

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.

zillur 10-06-2015 01:15 PM

But what should I really do?

Habitual 10-06-2015 01:31 PM

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?

zillur 10-06-2015 01:41 PM

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

Habitual 10-06-2015 01:47 PM

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!

vincix 10-06-2015 03:36 PM

[never mind, I was wrong]

yancek 10-06-2015 04:04 PM

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.

zillur 10-07-2015 12:49 PM

Thanks a lot for your suggestions. After adding extra memory and installing nvidia, in /home directory there is no user.

vincix 10-07-2015 01:44 PM

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?

zillur 10-07-2015 02:23 PM

Yeah. After adding the new memories, I couldn't boot. Then Installed nvidia and now in the /home directory there is no user.

Habitual 10-07-2015 02:39 PM

Are you sure you are booting off the hard drive and not some other media?

zillur 10-07-2015 02:53 PM

Thanks. I am not sure about the booting media. It is automatically booting. Do I need to do anything during booting? However it seems user accounts appear in the hard drive.

Best Regards
Zillur

[root@workstation01 home]# cd '/run/media/root/831da725-3de4-46de-b6d4-30d15fd92d25/'

[root@workstation01 831da725-3de4-46de-b6d4-30d15fd92d25]# la
bash: la: command not found...
[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]# cd /home/
[root@workstation01 home]# ls
config-3.10.0-229.11.1.el7.x86_64
config-3.10.0-229.14.1.el7.x86_64
config-3.10.0-229.7.2.el7.x86_64
config-3.10.0-229.el7.x86_64
extlinux
grub
grub2
initramfs-0-rescue-0f1e31e901a7431887b53be42b60a009.img
initramfs-3.10.0-229.11.1.el7.x86_64.img
initramfs-3.10.0-229.11.1.el7.x86_64kdump.img
initramfs-3.10.0-229.14.1.el7.x86_64.img
initramfs-3.10.0-229.14.1.el7.x86_64kdump.img
initramfs-3.10.0-229.7.2.el7.x86_64.img
initramfs-3.10.0-229.7.2.el7.x86_64kdump.img
initramfs-3.10.0-229.7.2.el7.x86_64-nouveau.img
initramfs-3.10.0-229.el7.x86_64.img
initramfs-3.10.0-229.el7.x86_64kdump.img
initrd-plymouth.img
symvers-3.10.0-229.11.1.el7.x86_64.gz
symvers-3.10.0-229.14.1.el7.x86_64.gz
symvers-3.10.0-229.7.2.el7.x86_64.gz
symvers-3.10.0-229.el7.x86_64.gz
System.map-3.10.0-229.11.1.el7.x86_64
System.map-3.10.0-229.14.1.el7.x86_64
System.map-3.10.0-229.7.2.el7.x86_64
System.map-3.10.0-229.el7.x86_64
vmlinuz-0-rescue-0f1e31e901a7431887b53be42b60a009
vmlinuz-3.10.0-229.11.1.el7.x86_64
vmlinuz-3.10.0-229.14.1.el7.x86_64
vmlinuz-3.10.0-229.7.2.el7.x86_64
vmlinuz-3.10.0-229.el7.x86_64

John VV 10-07-2015 09:12 PM

this right here is one of the problems
NVIDIA-Linux-x86_64-331.67.run
WHY
why install such a old and outdated driver ???
it is from April of 2014

the "352.41" is the current in the LONG TERM driver
http://www.nvidia.com/object/unix.html


now you are using rhel7 ( or cent7 or SL 7 ) the "el7" in the above post

you did remove the nouveau driver and rebuild the boot image without the driver
( on going issues with rhel/cent/sl and the .run )
the boot image needs to be REBUILT with out nouveau before you can install the .run
blacklisting it is not enough

a quick little script i wrote for Scientificlinux when i was testing drivers
Code:


#!/usr/bash

mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r ).img.backup
dracut -f /boot/initramfs-$(uname -r).img $(uname -r)

save as RBI.sh ( ReBuild Initramfs) in " /"

then run the NVIDIA.run in a text only boot ( no x11)
after it is installed and running REINSTALL MESA!!!!

the nvidia .run replaced the system "gl.h"and "glu.h" and libgl with a DIFFERENT one
but did NOT!!!!! replace the rest of the gl headers

there is NOW A SOURCE MIS-MATCH!!!! in the headers for GL
so you need to reinstall the mesa ,mesa-devel and mesaglw and mesaglu libs and devel rpms
this mis-match can and DOSE cause problems




as to using the install dvd to boot into "rescue" mode
that is one of the options
type in rescue as per the on screen instructions
then after ( as per the instructions) type in
" chroot /mnt/sysimage"
you will be in "/" of the cent 7 install

from there /var/log and read the logs

zillur 10-13-2015 03:02 PM

Thank you very much for your kind suggestions. As I am new in these systems, I just want a little bit details before starting the procedure.

Step_1: I can run the RBI.sh script

Step_2: How can I boot in text only mood

Step_3: How can I reinstall mesa? Do I need to do these all in text only mood?

Step_4: How can I replace the system "gl.h" and "glu.h" headers

Step_5: a little hints on reinstall the mesa ,mesa-devel and mesaglw and mesaglu libs and devel rpms

So, these 5 steps is enough.....

Sorry for taking your valuable time.

Best Regards
Zillur

zillur 10-15-2015 09:07 PM

Hi there,
Thank you very much for helps. I Have tried according to your suggestions. But the problem is still persisting. Maybe I am missing something. I have installed latest version of NVIDIA in CLI. Then updated yum and mesa: yum update, then.. yum install mesa-libGL-devel mesa-GLU-devel

then reboot. But still I can't login as user. Here is my files:

Any suggestion will be greatly appreciated.
Best Regards
Zillur

[root@workstation01 ~]# ls
anaconda-ks.cfg installed.txt Public
Desktop Music Templates
Documents NVIDIA-Linux-x86_64-331.67.run Videos
Downloads NVIDIA-Linux-x86_64-352.55.run
initial-setup-ks.cfg Pictures
[root@workstation01 ~]# pwd
/root
[root@workstation01 ~]# cd /home/
[root@workstation01 home]# ls
config-3.10.0-229.11.1.el7.x86_64
config-3.10.0-229.14.1.el7.x86_64
config-3.10.0-229.7.2.el7.x86_64
config-3.10.0-229.el7.x86_64
extlinux
grub
grub2
initramfs-0-rescue-0f1e31e901a7431887b53be42b60a009.img
initramfs-3.10.0-229.11.1.el7.x86_64.img
initramfs-3.10.0-229.11.1.el7.x86_64kdump.img
initramfs-3.10.0-229.14.1.el7.x86_64.img
initramfs-3.10.0-229.14.1.el7.x86_64.img.backup
initramfs-3.10.0-229.14.1.el7.x86_64kdump.img
initramfs-3.10.0-229.7.2.el7.x86_64.img
initramfs-3.10.0-229.7.2.el7.x86_64kdump.img
initramfs-3.10.0-229.7.2.el7.x86_64-nouveau.img
initramfs-3.10.0-229.el7.x86_64.img
initramfs-3.10.0-229.el7.x86_64kdump.img
initrd-plymouth.img
NVIDIA-Linux-x86_64-352.55.run
nvidia.tx
symvers-3.10.0-229.11.1.el7.x86_64.gz
symvers-3.10.0-229.14.1.el7.x86_64.gz
symvers-3.10.0-229.7.2.el7.x86_64.gz
symvers-3.10.0-229.el7.x86_64.gz
System.map-3.10.0-229.11.1.el7.x86_64
System.map-3.10.0-229.14.1.el7.x86_64
System.map-3.10.0-229.7.2.el7.x86_64
System.map-3.10.0-229.el7.x86_64
vmlinuz-0-rescue-0f1e31e901a7431887b53be42b60a009
vmlinuz-3.10.0-229.11.1.el7.x86_64
vmlinuz-3.10.0-229.14.1.el7.x86_64
vmlinuz-3.10.0-229.7.2.el7.x86_64
vmlinuz-3.10.0-229.el7.x86_64

zillur 10-25-2015 07:09 PM

Hi there,
I have tried several times to solve this problem but nothing is working. Here is my system informations. Any suggestion?
[root@workstation01 ~]# df
Filesystem 1K-blocks Used Available Use Mounted on
/dev/sdb2 112458088 12695736 99762352 12% /
devtmpfs 90639296 0 90639296 0% /dev
tmpfs 90648436 140 90648296 1% /dev/shm
tmpfs 90648436 9648 90638788 1% /run
tmpfs 90648436 0 90648436 0% /sys/fs/cgroup
/dev/sdb1 508588 437880 70708 87% /home
/dev/sda1 15623790592 1750091440 13873699152 12% /mnt/831da725-3de4-46de-b6d4-30d15fd92d25


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