Skocz do zawartości

Startx, Złe Prawa Dostępu


Geding

Rekomendowane odpowiedzi

Cześć, ostatnio przeprowadziłem sporo aktualizacji (nie szła kompilacja allegro), niestety zainstalowałem za dużo, system wyłączał się pół godziny, mocny reset i niestety ixy u zwykły usera nie startują, wygląda to tak że system się urchamia (z automatycznym logowaniem na zwykłego usera) gdy logo fedory sie wypełni wrzuca czarny ekran z kursorem i zaczyna migać ;p

 

Zmiana sposobu bootowania na tekstowy i uruchomienie X spod root wychodzi, przy sprawdzeniu u zwyklego usera z konsoli daje informacje o braku dostępu do niekturych plików:

 

xauth: error while loading shared libraries: libXau.so.6: cannot open shared object file: Permission denied
xauth: error while loading shared libraries: libXau.so.6: cannot open shared object file: Permission denied
xauth: error while loading shared libraries: libXau.so.6: cannot open shared object file: Permission denied
xauth: error while loading shared libraries: libXau.so.6: cannot open shared object file: Permission denied
xauth: error while loading shared libraries: libXau.so.6: cannot open shared object file: Permission denied
xinit: error while loading shared libraries: libX11.so.6: cannot open shared object file: Permission denied
xauth: error while loading shared libraries: libXau.so.6: cannot open shared object file: Permission denied

 

Do tego przy boocie i logowaniu na usera daje komunikaty od basha ze nie ma uprawnień aby załadować pliki konfiguracyjne języka.

 

Wszelka pomoc mile widziana :)

Odnośnik do komentarza
Udostępnij na innych stronach

Dwie możliwości:

1. stwórz nowego użytkownika i sprawdź czy jest tak samo

2. Poszukaj te pliki co wyżej i nadaj im uprawnienia (jako root)

chmod a+rx libX*

Potem sprawdź czy dalej występują komunikaty dot. ww bibliotek. Jeśli nie to postąp tak z innymi plikami.

 

 

PS. Nie dodałeś siebie do grupy nobody albo coś?

Odnośnik do komentarza
Udostępnij na innych stronach

1. Już próbowałem bez skutku, (_urzytkownik_ ? użytkownik) ORT jest tylko w grupie która jest jego nazwą (user -> grupa user)

2. Nadanie uprawnień nic nie dało, wykaz dla tych plików z ls -l:

lrwxrwxrwx.  1 root   root         15 02-09 21:22 libXau.so -> libXau.so.6.0.0
lrwxrwxrwx.  1 root   root         15 11-09 20:10 libXau.so.6 -> libXau.so.6.0.0
-rwxrwxrwx.  1 root   root      10008 08-28 08:39 libXau.so.6.0.0

 

PS. System zgłasza błedy z dyskiem (błędne sektory), może to jest przyczyną?

Odnośnik do komentarza
Udostępnij na innych stronach

PS. System zgłasza błedy z dyskiem (błędne sektory), może to jest przyczyną?

 

No raczej uszkodzenie dysku...

Zobacz co pokazuje

su -c "smartctl -a /dev/sda"

gdzie /dev/sda to ten dysk.

Odnośnik do komentarza
Udostępnij na innych stronach

Trochę zawalony on jest, tylko chcę nadmienić że na nim stoi xp, a linux stoi na drugim dysku.

 

Dysk wykazujący błędy:

=== START OF INFORMATION SECTION ===
Model Family:     Seagate U Series 6 family
Device Model:     ST360020A
Serial Number:    6EX00EWT
Firmware Version: 3.34
User Capacity:    60,022,480,896 bytes
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   6
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Sat Feb 13 19:05:41 2010 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82)	Offline data collection activity
				was completed without error.
				Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0)	The previous self-test routine completed
				without error or no self-test has ever 
				been run.
Total time to complete Offline 
data collection: 		 ( 420) seconds.
Offline data collection
capabilities: 			 (0x1d) SMART execute Offline immediate.
				No Auto Offline data collection support.
				Abort Offline collection upon new
				command.
				Offline surface scan supported.
				Self-test supported.
				No Conveyance Self-test supported.
				No Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
				power-saving mode.
				Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
				No General Purpose Logging support.
Short self-test routine 
recommended polling time: 	 (   1) minutes.
Extended self-test routine
recommended polling time: 	 (  62) minutes.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
 1 Raw_Read_Error_Rate     0x000f   059   051   025    Pre-fail  Always       -       97635238
 3 Spin_Up_Time            0x0003   097   096   000    Pre-fail  Always       -       0
 4 Start_Stop_Count        0x0032   099   099   020    Old_age   Always       -       1349
 5 Reallocated_Sector_Ct   0x0033   086   086   036    Pre-fail  Always       -       145
 7 Seek_Error_Rate         0x000f   084   060   030    Pre-fail  Always       -       9109699526
 9 Power_On_Hours          0x0032   081   081   000    Old_age   Always       -       16892
10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
12 Power_Cycle_Count       0x0032   096   096   020    Old_age   Always       -       4558
194 Temperature_Celsius     0x0022   029   053   000    Old_age   Always       -       29
195 Hardware_ECC_Recovered  0x001a   100   253   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       5
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0000   100   253   000    Old_age   Offline      -       0
202 Data_Address_Mark_Errs  0x0032   100   253   000    Old_age   Always       -       0

SMART Error Log Version: 1
ATA Error Count: 346 (device log contains only the most recent five errors)
CR = Command Register [HEX]
FR = Features Register [HEX]
SC = Sector Count Register [HEX]
SN = Sector Number Register [HEX]
CL = Cylinder Low Register [HEX]
CH = Cylinder High Register [HEX]
DH = Device/Head Register [HEX]
DC = Device Command Register [HEX]
ER = Error register [HEX]
ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 346 occurred at disk power-on lifetime: 16677 hours (694 days + 21 hours)
 When the command that caused the error occurred, the device was active or idle.

 After command completion occurred, registers were:
 ER ST SC SN CL CH DH
 -- -- -- -- -- -- --
 40 51 04 43 46 5e e0  Error: UNC 4 sectors at LBA = 0x005e4643 = 6178371

 Commands leading to the command that caused the error were:
 CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
 -- -- -- -- -- -- -- --  ----------------  --------------------
 c8 00 08 3f 46 5e e0 00      00:00:08.016  READ DMA
 c8 00 08 37 46 5e e0 00      00:00:00.120  READ DMA
 c8 00 08 2f 46 5e e0 00      00:00:00.476  READ DMA
 c8 00 01 cd b5 7b e1 00      00:00:12.203  READ DMA
 c8 00 08 27 46 5e e0 00      00:00:00.117  READ DMA

Error 345 occurred at disk power-on lifetime: 16677 hours (694 days + 21 hours)
 When the command that caused the error occurred, the device was active or idle.

 After command completion occurred, registers were:
 ER ST SC SN CL CH DH
 -- -- -- -- -- -- --
 40 51 4c 43 46 5e e0  Error: UNC 76 sectors at LBA = 0x005e4643 = 6178371

 Commands leading to the command that caused the error were:
 CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
 -- -- -- -- -- -- -- --  ----------------  --------------------
 c8 03 80 0f 46 5e e0 00      00:00:00.082  READ DMA
 c8 03 80 8f 45 5e e0 00      00:00:05.449  READ DMA
 c8 03 80 0f 45 5e e0 00      00:00:01.735  READ DMA
 c8 03 80 8f 44 5e e0 00      00:00:01.701  READ DMA
 c8 03 80 0f 44 5e e0 00      00:00:01.737  READ DMA

Error 344 occurred at disk power-on lifetime: 16677 hours (694 days + 21 hours)
 When the command that caused the error occurred, the device was active or idle.

 After command completion occurred, registers were:
 ER ST SC SN CL CH DH
 -- -- -- -- -- -- --
 40 51 1a 75 e1 9c e0  Error: UNC at LBA = 0x009ce175 = 10281333

 Commands leading to the command that caused the error were:
 CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
 -- -- -- -- -- -- -- --  ----------------  --------------------
 c4 03 01 00 00 00 e0 00      00:00:19.938  READ MULTIPLE
 40 03 1c 57 e1 9c e0 00      00:00:17.367  READ VERIFY SECTOR(S)
 ef 03 01 01 00 00 a0 02      00:00:02.929  SET FEATURES [set transfer mode]
 ef 03 01 01 00 00 a0 02      00:00:02.882  SET FEATURES [set transfer mode]
 c6 00 01 01 00 00 a0 02      00:00:00.112  SET MULTIPLE MODE

Error 343 occurred at disk power-on lifetime: 16677 hours (694 days + 21 hours)
 When the command that caused the error occurred, the device was active or idle.

 After command completion occurred, registers were:
 ER ST SC SN CL CH DH
 -- -- -- -- -- -- --
 40 51 1a 75 e1 9c e0  Error: UNC 26 sectors at LBA = 0x009ce175 = 10281333

 Commands leading to the command that caused the error were:
 CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
 -- -- -- -- -- -- -- --  ----------------  --------------------
 c8 d8 01 00 00 00 e0 00      00:00:00.078  READ DMA
 40 d8 38 1f e1 9c e0 00      00:00:13.783  READ VERIFY SECTOR(S)
 c8 d8 01 00 00 00 e0 00      00:00:00.006  READ DMA
 40 d8 70 1f e1 9c e0 00      00:00:03.128  READ VERIFY SECTOR(S)
 40 d8 20 7f d0 9c e0 00      00:00:03.124  READ VERIFY SECTOR(S)

Error 342 occurred at disk power-on lifetime: 16677 hours (694 days + 21 hours)
 When the command that caused the error occurred, the device was active or idle.

 After command completion occurred, registers were:
 ER ST SC SN CL CH DH
 -- -- -- -- -- -- --
 40 51 1a 75 e1 9c e0  Error: UNC at LBA = 0x009ce175 = 10281333

 Commands leading to the command that caused the error were:
 CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
 -- -- -- -- -- -- -- --  ----------------  --------------------
 40 d8 20 7f d0 9c e0 00      00:00:03.124  READ VERIFY SECTOR(S)
 40 d8 20 6f cd 9c e0 00      00:00:07.148  READ VERIFY SECTOR(S)
 40 d8 08 af 96 9b e0 00      00:00:10.623  READ VERIFY SECTOR(S)
 40 d8 08 ff 4e 9b e0 00      00:00:01.676  READ VERIFY SECTOR(S)
 40 d8 50 37 4e 9b e0 00      00:00:01.737  READ VERIFY SECTOR(S)

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%      9105         -

Device does not support Selective Self Tests/Logging

 

Dysk z systemem:

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Protege
Device Model:     WDC WD400EB-00CPF0
Serial Number:    WD-WCAAT4039059
Firmware Version: 06.04G06
User Capacity:    40,020,664,320 bytes
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   5
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Sat Feb 13 19:05:29 2010 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82)	Offline data collection activity
				was completed without error.
				Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0)	The previous self-test routine completed
				without error or no self-test has ever 
				been run.
Total time to complete Offline 
data collection: 		 (1754) seconds.
Offline data collection
capabilities: 			 (0x3b) SMART execute Offline immediate.
				Auto Offline data collection on/off support.
				Suspend Offline collection upon new
				command.
				Offline surface scan supported.
				Self-test supported.
				Conveyance Self-test supported.
				No Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
				power-saving mode.
				Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
				No General Purpose Logging support.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 (  30) minutes.
Conveyance self-test routine
recommended polling time: 	 (   5) minutes.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
 1 Raw_Read_Error_Rate     0x000b   200   200   051    Pre-fail  Always       -       0
 3 Spin_Up_Time            0x0007   090   088   021    Pre-fail  Always       -       2891
 4 Start_Stop_Count        0x0032   099   099   040    Old_age   Always       -       1529
 5 Reallocated_Sector_Ct   0x0033   198   198   140    Pre-fail  Always       -       29
 7 Seek_Error_Rate         0x000b   200   200   051    Pre-fail  Always       -       0
 9 Power_On_Hours          0x0032   076   076   000    Old_age   Always       -       17629
10 Spin_Retry_Count        0x0013   100   100   051    Pre-fail  Always       -       0
11 Calibration_Retry_Count 0x0013   100   099   051    Pre-fail  Always       -       0
12 Power_Cycle_Count       0x0032   099   099   000    Old_age   Always       -       1312
196 Reallocated_Event_Count 0x0032   183   183   000    Old_age   Always       -       17
197 Current_Pending_Sector  0x0012   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0012   200   200   000    Old_age   Always       -       0
199 UDMA_CRC_Error_Count    0x000a   200   200   000    Old_age   Always       -       154
200 Multi_Zone_Error_Rate   0x0009   200   199   051    Pre-fail  Offline      -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%         9         -
# 2  Conveyance offline  Completed without error       00%       849         -
# 3  Conveyance offline  Interrupted (host reset)      00%       846         -
# 4  Conveyance offline  Completed without error       00%       839         -
# 5  Conveyance offline  Completed without error       00%       836         -
# 6  Short offline       Completed without error       00%       836         -
# 7  Conveyance offline  Completed without error       00%       835         -

Device does not support Selective Self Tests/Logging

Odnośnik do komentarza
Udostępnij na innych stronach

Słabo:

 5 Reallocated_Sector_Ct 0x0033 086 086 036 Pre-fail Always - 145
...
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 5

 

Na zdrowym dysku oba parametry wynoszą zero. A Twój nie dość że ma 145 realokowanych, to 5 następnych czeka w kolejce. Uciekaj z tego dysku jeżeli masz jakieś ważne dane na nim.

 

[edit]

 

Eeee :ph34r: ten drugi też za zdrowy nie jest:

 5 Reallocated_Sector_Ct 0x0033 198 198 140 Pre-fail Always - 29
...
196 Reallocated_Event_Count 0x0032 183 183 000 Old_age Always - 17

 

Co prawda nie ma Pending, ale też nie jest dobrze. Co Ty robisz z tym kompem?

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
×
×
  • Dodaj nową pozycję...