BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 27th, 2007, 01:42 AM
satimis satimis is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 489 satimis User rank is Corporal (100 - 500 Reputation Level)satimis User rank is Corporal (100 - 500 Reputation Level)satimis User rank is Corporal (100 - 500 Reputation Level)satimis User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 12 h 29 m 6 sec
Reputation Power: 9
Problem on starting X

Hi folks,


OpenBSD 4.0

After login as User and ran
$ startx
Code:
Xauth: Creating new authroity file /home/satimis/.serverauth:19055

it was hanging here

Pressed
^c ^c (twice)
X window started.

On console;
$ firefox &

sometime it worked another time no. Pls adise how to fix the problem.

TIA


B.R.
satimis

Reply With Quote
  #2  
Old July 3rd, 2007, 12:23 AM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,478 Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 12 h 33 m 8 sec
Reputation Power: 852
Sounds like xauth is hanging trying to create the .Xauthority file. Please check the following:
1. Make sure that the following is set in /etc/ssh/sshd_config
X11Forwarding yes
(this is normally set to no by default, if you didn't select the running X option in the installer)
2. Make sure the following is set in /etc/ssh/ssh_config
ForwardAgent yes
ForwardX11 yes

Also do a sysctl -a | grep machdep and make sure that machdep.allowaperture = 2
__________________
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne

Puzzle of the Month solved by sizeablegrin, etienne141 and L7Sqr, superior C/C++ programmers of the month

Reply With Quote
  #3  
Old July 3rd, 2007, 03:43 AM
satimis satimis is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 489 satimis User rank is Corporal (100 - 500 Reputation Level)satimis User rank is Corporal (100 - 500 Reputation Level)satimis User rank is Corporal (100 - 500 Reputation Level)satimis User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 12 h 29 m 6 sec
Reputation Power: 9
Quote:
Originally Posted by Scorpions4ever
Sounds like xauth is hanging trying to create the .Xauthority file. Please check the following:
1. Make sure that the following is set in /etc/ssh/sshd_config
X11Forwarding yes
(this is normally set to no by default, if you didn't select the running X option in the installer)

# cat /etc/ssh/sshd_config | grep X11Forwarding
Code:
#X11Forwarding no
#       X11Forwarding no

Uncomment and change it to "yes"

Quote:
2. Make sure the following is set in /etc/ssh/ssh_config
ForwardAgent yes
ForwardX11 yes

# cat /etc/ssh/sshd_config | grep ForwardAgent
No printout

# cat /etc/ssh/sshd_config | grep ForwardX11
No printout

Shall I create them??? TIA


Quote:
Also do a sysctl -a | grep machdep and make sure that machdep.allowaperture = 2

# sysctl -a | grep machdep
Code:
machdep.console_device=ttyC0
machdep.bios.diskinfo.0=bootdev = 0xa0000202, cylinders = 80, heads = 2, sectors = 18
machdep.bios.diskinfo.128=bootdev = 0xa0000200, cylinders = 1023, heads = 255, sectors = 63
machdep.bios.cksumlen=1
machdep.allowaperture=2
machdep.cpuvendor=AuthenticAMD
machdep.cpufeature=396098559
machdep.kbdreset=0


"machdep.allowaperture=2" is there.


B.R.
satimis

Reply With Quote
  #4  
Old July 3rd, 2007, 03:00 PM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,478 Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 12 h 33 m 8 sec
Reputation Power: 852
Quote:
Originally Posted by satimis
# cat /etc/ssh/sshd_config | grep X11Forwarding
Code:
#X11Forwarding no
#       X11Forwarding no


Uncomment and change it to "yes"

Also restart your sshd after this.


Quote:
Originally Posted by satimis
# cat /etc/ssh/sshd_config | grep ForwardAgent
No printout

# cat /etc/ssh/sshd_config | grep ForwardX11
No printout

Shall I create them??? TIA

Note for the above, I said to check /etc/ssh/ssh_config, not sshd_config

Reply With Quote
  #5  
Old July 3rd, 2007, 09:09 PM
satimis satimis is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 489 satimis User rank is Corporal (100 - 500 Reputation Level)satimis User rank is Corporal (100 - 500 Reputation Level)satimis User rank is Corporal (100 - 500 Reputation Level)satimis User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 12 h 29 m 6 sec
Reputation Power: 9
Hi Scorpions4ever,

Quote:
Note for the above, I said to check /etc/ssh/ssh_config, not sshd_config

Oh, sorry. I made a mistake.

Both of them were commented out. Change them as advised. Reboot PC. Problem seems gone. I'll come back to this forum should problem reoccurs. Tks.


B.R.
satimis

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > Problem on starting X


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This 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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway