LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 04-19-2005, 01:51 PM   #1
bshearer
Member
 
Registered: Apr 2005
Location: a little Forest in Virginia
Distribution: FreeBSD 5.3
Posts: 44

Rep: Reputation: 15
FreeBSD and issues with Xorg


hmmmm....

after a few weeks of openbsd i have switched to freebsd

i am still a newbie by many standards but the curve is getting better

here is the issue

XF86config has been switched with Xorg. with openbsd the config file was executed and the parameters were selected and BAMM it worked when startkde was issued.

on freebsd, after reading that xorgconfig replaced xf86config, should be a snap. well, it isn't

after searching the world over (google that is) i cannot seem to find the correct installation guide to get this off the ground and i would appreciate any help

it appears to have a couple of issues;

xsetroot: unable to display ' '
xset: unable to display " "
xsetroot: unable to display ' '
kwin: cannot connect to X server
kpersonalizer: cannot connect to X server (keeps repeating this line)

Thanks
 
Old 04-19-2005, 01:56 PM   #2
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: Ubuntu, FreeBSD, NetBSD
Posts: 1,449

Rep: Reputation: 47
Okay, is this from an xterm or the console?

Did you do X -configure or copy the file from the old xf86 system (xorg doesn't have much problem using the old files... I never bothered to change mine when I made the switch until I added a second monitor)?

I need to know exactly how far you have gotten before I can try and help.
 
Old 04-19-2005, 02:12 PM   #3
bshearer
Member
 
Registered: Apr 2005
Location: a little Forest in Virginia
Distribution: FreeBSD 5.3
Posts: 44

Original Poster
Rep: Reputation: 15
breaker breaker - is this forum working
i've tried to post a reply twice now but no go
 
Old 04-19-2005, 02:14 PM   #4
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: Ubuntu, FreeBSD, NetBSD
Posts: 1,449

Rep: Reputation: 47
I see that one.
 
Old 04-19-2005, 02:15 PM   #5
bshearer
Member
 
Registered: Apr 2005
Location: a little Forest in Virginia
Distribution: FreeBSD 5.3
Posts: 44

Original Poster
Rep: Reputation: 15
this is a new install so defaults were taken

i ran Xorg -config (it ran thats all i can say)

i did find xorgconfig (this was similar to xf86config - so i used my settings here)

ahhhhhhhhh

the button problem is this (there is a post repy button and a Submit Reply button.
 
Old 04-19-2005, 02:17 PM   #6
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: Ubuntu, FreeBSD, NetBSD
Posts: 1,449

Rep: Reputation: 47
Okay, cp ~/xorg.conf.new /etc/X11/xorg.conf

The try startx to see if X comes up. You should add startkde to you .xinitrc and .xsession files.
 
Old 04-19-2005, 02:21 PM   #7
bshearer
Member
 
Registered: Apr 2005
Location: a little Forest in Virginia
Distribution: FreeBSD 5.3
Posts: 44

Original Poster
Rep: Reputation: 15
hmmmm....

the resolution changed. x windows keeps showing up and the mouse pointer no workie
 
Old 04-19-2005, 02:28 PM   #8
bshearer
Member
 
Registered: Apr 2005
Location: a little Forest in Virginia
Distribution: FreeBSD 5.3
Posts: 44

Original Poster
Rep: Reputation: 15
where will .xinitrc and .xsession be located (/usr/X11R6/lib/X11/xinit ??
 
Old 04-19-2005, 02:43 PM   #9
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: Ubuntu, FreeBSD, NetBSD
Posts: 1,449

Rep: Reputation: 47
In your home directory.

You have no mouse? Check the file to make sure it is pointing to the correct device... it should be.
 
Old 04-19-2005, 02:53 PM   #10
bshearer
Member
 
Registered: Apr 2005
Location: a little Forest in Virginia
Distribution: FreeBSD 5.3
Posts: 44

Original Poster
Rep: Reputation: 15
i am root user so there is no home directory - correct me if i am wrong

nope. no mouse

this is a dell c600 - touchpad. didn't think this was an issue since openbsd was able to use it too

looking at the config does not show a mouse
 
Old 04-19-2005, 03:10 PM   #11
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: Ubuntu, FreeBSD, NetBSD
Posts: 1,449

Rep: Reputation: 47
/root is your home directory.

2) You should use something other than root for X (because of security implications)

c] I'm betting it is picked up as /dev/psm0 -- did you configure the mouse at boot? If not put
Code:
moused_enable="YES"
in your /etc/rc.conf

Last edited by frob23; 04-19-2005 at 03:14 PM.
 
Old 04-19-2005, 03:47 PM   #12
bshearer
Member
 
Registered: Apr 2005
Location: a little Forest in Virginia
Distribution: FreeBSD 5.3
Posts: 44

Original Poster
Rep: Reputation: 15
did not work

i am re-installing from scratch with a mouse attached

i will try all you suggested and post back the results in the am

thanks for your help and patience
 
Old 04-20-2005, 07:48 AM   #13
bshearer
Member
 
Registered: Apr 2005
Location: a little Forest in Virginia
Distribution: FreeBSD 5.3
Posts: 44

Original Poster
Rep: Reputation: 15
Update-

copying the xorg.conf.new to /etc/X11/xorg.conf worked and the mouse is now working.

i edited the .xinitrc file and commented the xterm lines and the exec line at the bottom of the file and then i added startkde. that worked too! we going great now.

.xsession cannot be found anywhere on the HD and .xinitrc only exit in /etc/X11R6/lib/X11/xinit/ (if i got that folder right)

resolution is at 640 and there are no other options how can that be improved?

KDE did start but it looks like xterm on steroids. very odd looking.

buddy
 
Old 04-20-2005, 11:01 AM   #14
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: Ubuntu, FreeBSD, NetBSD
Posts: 1,449

Rep: Reputation: 47
You need to create both .xinitrc and .xsession in your home directory. They will not be found on the hard-drive because they are specific for each user. They allow one user to use KDE all the time and nother Fluxbox -- for example.
 
Old 04-20-2005, 11:37 AM   #15
bshearer
Member
 
Registered: Apr 2005
Location: a little Forest in Virginia
Distribution: FreeBSD 5.3
Posts: 44

Original Poster
Rep: Reputation: 15
AWESOME!!!

no glitches, warnings or errors

resolution is stuck at 640x480 i would LOVE to get better than this. what is my path to acheive that ?

btw - thanks for all the help
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
USB turns off in Xorg with FreeBSD release5.3 in T41 ltcstyle *BSD 2 12-19-2004 12:15 PM
FreeBSD: XOrg failure. I have no control over my computer Harpune *BSD 4 12-14-2004 08:50 AM
FreeBSD dual screen xorg fluxbox garnser *BSD 1 12-04-2004 11:40 PM
Mouse with Scroll button (FreeBSD 5.3) xorg.conf x86br *BSD 6 10-20-2004 06:33 PM
FreeBSD and Xorg Screen blanks after exiting Zero-0-Effect *BSD 0 10-01-2004 11:03 PM


All times are GMT -5. The time now is 04:12 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration