LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Closed Thread
  Search this Thread
Old 10-07-2015, 12:54 PM   #1
zillur
Member
 
Registered: Apr 2015
Posts: 217

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. After adding extra memory and installing nvidia, in the /home directory there is no user.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
linux zillur is offline Report This Post
 
Old 10-07-2015, 01:09 PM   #2
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
is this a dupe ?:
http://www.linuxquestions.org/questi...38#post5431338
 
Old 10-07-2015, 01:10 PM   #3
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,405
Blog Entries: 3

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

Seems to be a permission thing. Could you output, from root, the command
ls -al from /home
and ls -al /root from /
 
Old 10-07-2015, 01:24 PM   #4
zillur
Member
 
Registered: Apr 2015
Posts: 217

Original Poster
Rep: Reputation: Disabled
Thanks. Here is the output.

[root@workstation01 ~]# cd /home/
[root@workstation01 home]# ls -al
total 221024
dr-xr-xr-x. 5 root root 4096 Oct 6 14:27 .
dr-xr-xr-x. 18 root root 4096 Oct 6 14:32 ..
-rw-r--r--. 1 root root 123891 Aug 5 21:15 config-3.10.0-229.11.1.el7.x86_64
-rw-r--r--. 1 root root 123891 Sep 15 11:14 config-3.10.0-229.14.1.el7.x86_64
-rw-r--r--. 1 root root 123890 Jun 23 18:15 config-3.10.0-229.7.2.el7.x86_64
-rw-r--r--. 1 root root 123838 Mar 6 2015 config-3.10.0-229.el7.x86_64
drwxr-xr-x. 2 root root 4096 Jul 24 12:10 extlinux
drwxr-xr-x. 2 root root 26 Oct 1 18:22 grub
drwxr-xr-x. 6 root root 104 Oct 1 18:24 grub2
-rw-r--r--. 1 root root 43532498 Jul 24 12:19 initramfs-0-rescue-0f1e31e901a7431887b53be42b60a009.img
-rw-r--r--. 1 root root 17072655 Sep 10 09:32 initramfs-3.10.0-229.11.1.el7.x86_64.img
-rw-r--r--. 1 root root 16724099 Sep 28 13:52 initramfs-3.10.0-229.11.1.el7.x86_64kdump.img
-rw-r--r--. 1 root root 17069256 Oct 1 18:24 initramfs-3.10.0-229.14.1.el7.x86_64.img
-rw-r--r--. 1 root root 8057856 Oct 1 18:28 initramfs-3.10.0-229.14.1.el7.x86_64kdump.img
-rw-r--r--. 1 root root 17018271 Jul 28 10:08 initramfs-3.10.0-229.7.2.el7.x86_64.img
-rw-r--r--. 1 root root 16734788 Jul 28 14:27 initramfs-3.10.0-229.7.2.el7.x86_64kdump.img
-rw-r--r--. 1 root root 17017437 Jul 24 12:31 initramfs-3.10.0-229.7.2.el7.x86_64-nouveau.img
-rw-r--r--. 1 root root 17295174 Jul 24 12:22 initramfs-3.10.0-229.el7.x86_64.img
-rw-r--r--. 1 root root 16724553 Oct 1 17:13 initramfs-3.10.0-229.el7.x86_64kdump.img
-rw-r--r--. 1 root root 867373 Jul 24 12:18 initrd-plymouth.img
-rw-r--r--. 1 root root 240331 Aug 5 21:17 symvers-3.10.0-229.11.1.el7.x86_64.gz
-rw-r--r--. 1 root root 240326 Sep 15 11:16 symvers-3.10.0-229.14.1.el7.x86_64.gz
-rw-r--r--. 1 root root 240332 Jun 23 18:17 symvers-3.10.0-229.7.2.el7.x86_64.gz
-rw-r--r--. 1 root root 240039 Mar 6 2015 symvers-3.10.0-229.el7.x86_64.gz
-rw-------. 1 root root 2881758 Aug 5 21:15 System.map-3.10.0-229.11.1.el7.x86_64
-rw-------. 1 root root 2881776 Sep 15 11:14 System.map-3.10.0-229.14.1.el7.x86_64
-rw-------. 1 root root 2881815 Jun 23 18:15 System.map-3.10.0-229.7.2.el7.x86_64
-rw-------. 1 root root 2881257 Mar 6 2015 System.map-3.10.0-229.el7.x86_64
-rwxr-xr-x. 1 root root 5029136 Jul 24 12:20 vmlinuz-0-rescue-0f1e31e901a7431887b53be42b60a009
-rwxr-xr-x. 1 root root 5029744 Aug 5 21:15 vmlinuz-3.10.0-229.11.1.el7.x86_64
-rw-r--r--. 1 root root 171 Aug 5 21:15 .vmlinuz-3.10.0-229.11.1.el7.x86_64.hmac
-rwxr-xr-x. 1 root root 5029232 Sep 15 11:14 vmlinuz-3.10.0-229.14.1.el7.x86_64
-rw-r--r--. 1 root root 171 Sep 15 11:14 .vmlinuz-3.10.0-229.14.1.el7.x86_64.hmac
-rwxr-xr-x. 1 root root 5029200 Jun 23 18:15 vmlinuz-3.10.0-229.7.2.el7.x86_64
-rw-r--r--. 1 root root 170 Jun 23 18:15 .vmlinuz-3.10.0-229.7.2.el7.x86_64.hmac
-rwxr-xr-x. 1 root root 5029136 Mar 6 2015 vmlinuz-3.10.0-229.el7.x86_64
-rw-r--r--. 1 root root 166 Mar 6 2015 .vmlinuz-3.10.0-229.el7.x86_64.hmac
[root@workstation01 home]#
[root@workstation01 home]# ls -al /root from /
ls: cannot access from: No such file or directory
/:
total 200
dr-xr-xr-x. 18 root root 4096 Oct 6 14:32 .
dr-xr-xr-x. 18 root root 4096 Oct 6 14:32 ..
lrwxrwxrwx. 1 root root 7 Jul 24 12:09 bin -> usr/bin
dr-xr-xr-x. 5 root root 4096 Oct 6 14:27 boot
drwxr-xr-x. 2 root root 6 Jul 24 12:08 data
drwxr-xr-x. 19 root root 3320 Oct 6 14:32 dev
drwxr-xr-x. 147 root root 8192 Oct 6 16:10 etc
dr-xr-xr-x. 5 root root 4096 Oct 6 14:27 home
lrwxrwxrwx. 1 root root 7 Jul 24 12:09 lib -> usr/lib
lrwxrwxrwx. 1 root root 9 Jul 24 12:09 lib64 -> usr/lib64
drwxr-xr-x. 3 root root 16 Oct 1 18:02 media
drwxr-xr-x. 2 root root 6 Jun 9 2014 mnt
drwxr-xr-x. 3 root root 15 Jul 24 12:18 opt
dr-xr-xr-x. 329 root root 0 Oct 6 14:32 proc
-rw-r--r--. 1 root root 158286 Oct 6 14:32 .readahead
dr-xr-x---. 17 root root 4096 Oct 7 13:45 root
drwxr-xr-x. 40 root root 1140 Oct 7 13:45 run
lrwxrwxrwx. 1 root root 8 Jul 24 12:09 sbin -> usr/sbin
drwxr-xr-x. 2 root root 6 Jun 9 2014 srv
dr-xr-xr-x. 13 root root 0 Oct 6 14:32 sys
drwxrwxrwt. 35 root root 4096 Oct 7 14:22 tmp
drwxr-xr-x. 13 root root 4096 Jul 24 12:09 usr
drwxr-xr-x. 23 root root 4096 Oct 6 14:32 var

/root:
total 59040
dr-xr-x---. 17 root root 4096 Oct 7 13:45 .
dr-xr-xr-x. 18 root root 4096 Oct 6 14:32 ..
-rw-------. 1 root root 1985 Jul 24 12:22 anaconda-ks.cfg
-rw-------. 1 root root 6554 Oct 6 17:25 .bash_history
-rw-r--r--. 1 root root 18 Dec 28 2013 .bash_logout
-rw-r--r--. 1 root root 176 Dec 28 2013 .bash_profile
-rw-r--r--. 1 root root 176 Dec 28 2013 .bashrc
drwx------. 12 root root 4096 Oct 5 12:46 .cache
drwx------. 17 root root 4096 Oct 6 14:48 .config
-rw-r--r--. 1 root root 100 Dec 28 2013 .cshrc
drwx------. 3 root root 24 Jul 24 12:27 .dbus
drwxr-xr-x. 2 root root 6 Jul 24 12:27 Desktop
drwxr-xr-x. 2 root root 6 Jul 24 12:27 Documents
drwxr-xr-x. 2 root root 43 Oct 6 15:20 Downloads
-rw-------. 1 root root 16 Jul 24 12:27 .esd_auth
-rw-------. 1 root root 4356 Oct 7 13:45 .ICEauthority
-rw-r--r--. 1 root root 2033 Jul 24 12:27 initial-setup-ks.cfg
-rw-r--r--. 1 root root 147351 Oct 6 15:51 installed.txt
drwxr-xr-x. 3 root root 18 Jul 24 12:27 .local
drwxr-xr-x. 4 root root 37 Jul 28 10:04 .mozilla
drwxr-xr-x. 2 root root 6 Jul 24 12:27 Music
-rwxr-xr-x. 1 root root 60231750 Oct 2 17:29 NVIDIA-Linux-x86_64-331.67.run
drwxr-xr-x. 2 root root 6 Jul 24 12:27 Pictures
drwxr-----. 3 root root 18 Aug 24 12:47 .pki
drwxr-xr-x. 2 root root 6 Jul 24 12:27 Public
drwx------. 2 root root 24 Oct 1 18:20 .ssh
-rw-r--r--. 1 root root 129 Dec 28 2013 .tcshrc
drwxr-xr-x. 2 root root 6 Jul 24 12:27 Templates
drwxr-xr-x. 2 root root 6 Jul 24 12:27 Videos
-rw-------. 1 root root 884 Jul 28 14:24 .viminfo
-rw-------. 1 root root 58 Aug 13 12:48 .xauthbQSXim
[root@workstation01 home]#
 
Old 10-07-2015, 02:03 PM   #5
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,405
Blog Entries: 3

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

What distro are you using?

Seems you do not have a home directory for your user...
 
1 members found this post helpful.
  


Closed Thread



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:45 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
Open Source Consulting | Domain Registration