12097 [Solved] Xorg woes - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Desktop Usage > X.Org

X.Org X.Org on FreeBSD installation & configuration.

Reply
 
Thread Tools Display Modes
  #1  
Old June 19th, 2009, 16:06
androm31 androm31 is offline
Junior Member
 
Join Date: Dec 2008
Posts: 14
Thanks: 3
Thanked 0 Times in 0 Posts
Default Xorg woes

Last week decided to have a go at install X Windows on freebsd server.

Been relieved to find the number of posts that make it seem less than trivial!

State of play here is machine won't boot with hald and dbus enabled, so I've built /usr/ports/x11-servers/xorg-server
without Hal and added
Code:
Options "AutoAddDevices" "False"
to the ServerLayout section of /etc/x11/xorg.conf

Now however startx won't work under root or user accounts:

At some point in the build processes (It took 4 days!) I think I enabled some LaTex dependancy

when startx fails it leaves:
Code:
/libexec/ld-elf.so.1 : Shared object "libXaw8.so.8" not found, required by "xterm"
waiting for X server to shut down
I've searched widely for libXaw8 - its not installed anywhere on my system which has libxaw installed. the pkg-plist shows libxaw up to libXaw7.so and that's it.

Does anybody know how I can get round this?

Thanks
Reply With Quote
  #2  
Old June 19th, 2009, 21:41
adamk adamk is offline
Senior Member
 
Join Date: Nov 2008
Posts: 1,611
Thanks: 6
Thanked 263 Times in 244 Posts
Default

Have you tried reinstalling the xterm port and seeing if it links against the correct version of libXaw this time?

Adam
Reply With Quote
  #3  
Old June 19th, 2009, 23:24
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,935
Thanks: 30
Thanked 1,932 Times in 1,351 Posts
Default

I have it in /usr/local/lib/compat/pkg/libXaw8.so.8. I have no idea how it got there; doesn't seem to belong to any port.
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Administrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
  #4  
Old June 19th, 2009, 23:44
androm31 androm31 is offline
Junior Member
 
Join Date: Dec 2008
Posts: 14
Thanks: 3
Thanked 0 Times in 0 Posts
Default

I symlinked it to libXaw7.so.7 and the message went away! The xserver didn't start though.

I have been playing with some different cards, best being a radeon 7000 agp. Its all pretty well used kit. The 'server' is a compaq pentium 4 with pc133 sdram

Been playing with adding modelines from Xorg.log manually after looking at some wiki.x.org docs so I'll post back when I get a bit further!

Thanks
Reply With Quote
  #5  
Old June 19th, 2009, 23:55
DrJ DrJ is offline
Member
 
Join Date: Nov 2008
Posts: 283
Thanks: 1
Thanked 40 Times in 30 Posts
Default

Quote:
Originally Posted by androm31 View Post
I symlinked it to libXaw7.so.7 and the message went away!
While I've done the same sort of thing in the past, it is not a good idea. You should at least use portupgrade (or a similar tool) to update it. There's a reason the library had a version bump, and compatibility might not be preserved (though often it is).
Reply With Quote
  #6  
Old June 21st, 2009, 10:09
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,852
Thanks: 48
Thanked 2,061 Times in 1,890 Posts
Default

Quote:
Originally Posted by androm31 View Post
At some point in the build processes (It took 4 days!) I think I enabled some LaTex dependancy
I don't know what kind of system you have but building Xorg only takes 2 hours here.

How did you build xorg? Did you only build xorg-server? If that's the case you only build a portion of Xorg. You need to build x11/xorg or x11/xorg-minimal.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #7  
Old June 21st, 2009, 21:44
androm31 androm31 is offline
Junior Member
 
Join Date: Dec 2008
Posts: 14
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Sorry, I failed to be properly specific here. I mean compiling all the ports that make up gnome2-lite has taken that long. None of the X11 ports or packages were installed in the original installation of Freebsd on this machine.

As a lateral approach to the problem I tried the knoppix live-cd to see if that runs x11, and if so what drivers and settings it uses. None of these attempts were successful. Also this hardware has previously failed to run Windows XP so it has some issues anyway though it passes standard memory testing and processor tests. It has been happily serving up web pages and allowed me to experiment with different application development software for well over 6 months.

Thanks for your help and interest.
Reply With Quote
  #8  
Old June 23rd, 2009, 14:01
soylentgreen soylentgreen is offline
Junior Member
 
Join Date: Jan 2009
Location: Old Village
Posts: 39
Thanks: 5
Thanked 1 Time in 1 Post
Default

Going back to what SirDice said. Did you specifically install xorg? x11-wm/gnome2 doesn't build xorg (not just xorg-server, but /usr/ports/x11/xorg, Ijust installed gnome2 on a naked machine here, and I had to do xorg separately).

If you do
Code:
Xorg -configure
what does it say?
Reply With Quote
  #9  
Old June 26th, 2009, 22:32
androm31 androm31 is offline
Junior Member
 
Join Date: Dec 2008
Posts: 14
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Had a go at getting Xorg working on 7.2 on another machine. I installed xorg-minimal and after getting xorg working, installed gnome2-lite. This machine doesn't crash on hald_enable and dbus_enable.

On the other machine, installed xclock and xterm and blackbox.
added 'blackbox' to .xinitrc in the home user and twm starts!

(it starts blackbox in the 7.2 machine fortunately)

Thanks for all your help and interest.
Reply With Quote
  #10  
Old June 26th, 2009, 23:06
androm31 androm31 is offline
Junior Member
 
Join Date: Dec 2008
Posts: 14
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Ok .xinitrc disappeared somewhere which is why twm started. Thats been remedied and blackbox starts.

Added moused_enable="Yes" to /etc/rc.d and the mouse works now too

ran gnome-panel and am typing this thru firefox. another happy customer.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] xorg 7.4 + synaptics jwl X.Org 3 May 21st, 2009 19:56
[Solved] where is xorg.conf Nikosis Installing & Upgrading 15 May 16th, 2009 03:18
How to get nice xorg. fxp X.Org 1 February 24th, 2009 14:57
PF woes: 3 interfaces and jails. p5ycho Firewalls 9 February 21st, 2009 13:04
gmirror woes Weaseal General 6 February 18th, 2009 01:02


All times are GMT +1. The time now is 03:08.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0