Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem z xauth przy starcie X
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
robertsurma
n00b
n00b


Joined: 17 Jan 2008
Posts: 56
Location: Tychy

PostPosted: Mon Jul 20, 2015 12:06 pm    Post subject: Problem z xauth przy starcie X Reply with quote

Przy pierwszym starcie X-ów (za pomocą "startx") pojawia się komunikat:
Code:
No screen found.


Przy drugiej lub trzeciej próbie, środowisko graficzne (icewm) startuje wreszcie i działa bez zarzutu, ale pojawia się komunikat na konsoli:

Code:
xauth: file /home/user/.serverauth.6363 does not exist


Ale po uruchomieniu icewm, ten plik już jest.

System aktualizowałem i wydaje mi się, że mam wszystkie pakiety, które powinienem mieć.
Gdzie szukać źródła problemu?

W logach Xorg nie ma żadnego błędu.

Ciekawy objaw: gdy mam połączenie z Internetem, startx działa błyskawicznie. Gdy nie ma połączenia, uruchamianie środowiska graficznego trwa jakieś 30 sekund. Tak jakby sprawdzał jakąś remote session.
_________________
Free as a bird...
Back to top
View user's profile Send private message
robertsurma
n00b
n00b


Joined: 17 Jan 2008
Posts: 56
Location: Tychy

PostPosted: Wed Jul 29, 2015 2:19 pm    Post subject: Reply with quote

Część problemu rozwiązana. Opóźnienie wynikało z polecenia "hostname -f" zawartego w skrypcie /usr/bin/startx.

Zmieniłem linię:
Code:
hostname=`hostname -f`


na

Code:
hostname=`hostname`.mojaDomena




Pozostaje jeszcze rozwiązanie problemu z komunikatem xauth.
_________________
Free as a bird...
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Sun Aug 02, 2015 3:13 pm    Post subject: Reply with quote

Problem z hostname mozesz rozwiazac poprzez wpisanie nazwy swojego hosta jako domene/alias dla 127.0.0.1 w /etc/hosts.

Co do tego xautha, jaki masz filesystem tam? I jak wyglada caly output ze startx od startu?
Back to top
View user's profile Send private message
robertsurma
n00b
n00b


Joined: 17 Jan 2008
Posts: 56
Location: Tychy

PostPosted: Sun Aug 02, 2015 11:02 pm    Post subject: Reply with quote

Filesystem to reiserfs.

Output z "startx":
Code:
asus-i3 # startx
xauth: file /root/.serverauth.5363 does not exist

X.Org X Server 1.16.4
Release Date: 2014-12-20

X Protocol Version 11, Revision 0
Build Operating System: Linux 4.0.5-gentoo x86_64 Gentoo
Current Operating System: Linux asus-i3 4.0.5-gentoo #12 SMP Sun Aug 2 00:47:34 CET 2015 x86_64
Kernel command line : root=PARTUUID=31792845-7289-4566-8bf1-58cf2276beac4
Build Date: 15 July 2015 2:06:29PM

Current version of pixman: 0.32.6
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.

(==) Log file: "/var/log/Xorg.0.log", Time: Mon Aug 3 00:19:23 2015
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/etc/X11/xorg.conf.d"
icewm-session: using /root/.icewm for privite configuration files
IceWM: using /root/.icewm for privite configuration files
icewmbg: using /root/.icewm for privite configuration files
icewmtray: using /root/.icewm for privite configuration files
iceWM: MappingNotify
icewmbg: MappingNotify

_________________
Free as a bird...
Back to top
View user's profile Send private message
lsdudi
Guru
Guru


Joined: 12 Nov 2006
Posts: 392
Location: Warsaw

PostPosted: Wed Aug 05, 2015 8:09 am    Post subject: Reply with quote

a w ogóle masz zainstalowany pakiet xauth ?

btw reiserfs jako główna partycja to nie jest najlepszy pomysł.
_________________
RLU#416942
Back to top
View user's profile Send private message
robertsurma
n00b
n00b


Joined: 17 Jan 2008
Posts: 56
Location: Tychy

PostPosted: Fri Aug 14, 2015 8:27 pm    Post subject: Reply with quote

Pakiet xauth oczywiście zainstalowany.


Co do Reisera... dlaczego nie jest to dobry pomysł?
Ja używał go od 10 lat i ani razu mnie nie zawiódł w przeciwieństwie do innych FS.
_________________
Free as a bird...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum