nedit problem

2011-02-05 Thread Fred Boatwright
Hello,

After updating all ports on 8.1-RELEASE, nedit has a problem.  The right
mouse button works ok in the toolbar but if it is pressed in the text
area, for example to copy a block of text, the cursor changes shape and
the X session becomes completely locked up.  I have to stop X and
restart it.  I have tried to deinstall nedit and rebuild it but this
didn't help.  It is nedit-5.5 with Motif 2.2.3.

Also, when nedit is started the following warnings are given:

Cannot convert string
"-*-helvetica-medium-r-normal-*-*-120-*-*-*-iso8859-1" to type
FontStruct
Cannot convert string
"-*-helvetica-bold-r-normal-*-*-120-*-*-*-iso8859-1" to type FontStruct
Cannot convert string
"-*-helvetica-medium-o-normal-*-*-120-*-*-*-iso8859-1" to type
FontStruct
Cannot convert string
"-*-courier-medium-r-normal-*-*-120-*-*-*-iso8859-1" to type FontStruct
Cannot convert string "-*-courier-bold-r-normal-*-*-120-*-*-*-iso8859-1"
to type FontStruct
Cannot convert string
"-*-courier-medium-o-normal-*-*-120-*-*-*-iso8859-1" to type FontStruct

These warnings have been happening for some time but nedit otherwise has
been working ok until the port update.  xpdf gives similar warnings but
seems to work ok.

What can I do to resolve at least the lockup problem?

Best regards,
Fred
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Xorg Problems

2010-08-22 Thread Fred Boatwright
Frank Shute wrote:
> 
> On Sun, Aug 22, 2010 at 07:19:36PM +0200, Tijl Coosemans wrote:
> >
> > On Sunday 22 August 2010 06:22:48 Fred Boatwright wrote:
> > > The .xinitrc file:
> > >  xrdb
> > >  xsetroot -solid gray &
> > >  xterm -geometry +0-100 &
> > >  xconsole -geometry -0+0 -fn 5x7 &
> > > #exec olvwm   #complained about a missing font
> > >  exec fvwm
> >
> > Is this file executable?
> 
> It doesn't have to be executable but xrdb needs arguments or it just
> waits for input.
> 
> My suggestion to Fred: drop the xrdb line in his ~/.xinitrc
> 
> Regards,
> 
> --
> 
>  Frank
> 
>  Contact info: http://www.shute.org.uk/misc/contact.html

Well, some progress has been made!  The .xinitrc file is not executable.
I found the file on my Sun running Solaris 2.6.  That file also does not
have execute permissions but it has #!/bin/sh at the beginning. 
However, that doesn't appear to be needed under FBSD.  I tried an empty
.Xresources file but that didn't make any difference.  Commenting out
the xrdb does allow the window manager to start.

The .xinitrc file was generated from an example in the man page for
xinit, not the Handbook as I earlier stated.

So, I can move forward again.  Thank you very much for the help.

Best regards,
Fred
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Xorg Problems

2010-08-22 Thread Fred Boatwright
Jerry wrote:
> 
> On Sat, 21 Aug 2010 21:22:40 -0600 (MDT)
> Warren Block  articulated:
> 
> > Those would be the nVidia binary drivers.  There's also
> > x11-drivers/xf86-video-nv.  I avoid nVidia cards, so someone else
> > will have to comment on those.
> 
> I came to this party late, so please excuse me if this has been
> discussed.
> 
> 1) Ha the user installed the latest nVidia driver from ports:
> 
> Port:   nvidia-driver-195.36.15
> Path:   /usr/ports/x11/nvidia-driver
> Info:   NVidia graphics card binary drivers for hardware OpenGL rendering
> 
> And it accompanying utilities:
> 
> Port:   nvidia-settings-195.36.31
> Path:   /usr/ports/x11/nvidia-settings
> Info:   Display Control Panel for X NVidia driver
> 
> Port:   nvidia-xconfig-195.36.31
> Path:   /usr/ports/x11/nvidia-xconfig
> Info:   Tool to manipulate X configuration files for the NVidia driver
> 
> And installed a line in the /boot/loader.conf file for this driver:
> 
> nvidia_load="YES"   # nVidia video driver
> 
> 2) After doing the above, if not done previously, reboot the
> system.
> 
> 3) Move to the "/etc/X11" directory and run as root: nvidia-xconfig"
> The "man nvidia-xconfig" file will supply all the details. You really
> should not run it with any command line arguments the first time.
> 
> 4) Now start 'xorg" and run as root: "nvidia-settings". That should
> complete the process. You may have to reload 'xorg' for all settings to
> take affect. Please see "man nvidia-settings" for full details.
> 
> --
> Jerry â??
> freebsd.u...@seibercom.net
> 
> Disclaimer: off-list followups get on-list replies or get ignored.
> Please do not ignore the Reply-To header.
> __
> 
> 40 isn't old, if you are a tree.
> ___

Hi Jerry,
I do not have the driver you suggest on the CD.  I have:
nividia-driver
nividia-driver-173
nividia-driver-71
nividia-driver-96
Which should be used?  I was not able to find the version you mentioned
with the freebsd website ports search function.

Since Xorg -config xorg.conf.new -retro works then I think the default
vesa driver should work until the other problems are sorted out.

Best regards,
Fred
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Xorg Problems

2010-08-22 Thread Fred Boatwright
Tijl Coosemans wrote:
> 
> On Sunday 22 August 2010 06:22:48 Fred Boatwright wrote:
> > Eitan Adler wrote:
> >>> The actual problem I am having is that startx produces only a completely
> >>> black screen.  Xorg -config xorg.conf.new -retro  produces the expected
> >>> grid and mouse pointer. Â A .xinitrc file is supposed to start a window
> >>> manager.
> >>
> >> Modern X.org installs don't show a default window manager (so a black
> >> screen is "expected). What is the contents of your .xinitrc file?
> >
> > The .xinitrc file:
> >  xrdb
> >  xsetroot -solid gray &
> >  xterm -geometry +0-100 &
> >  xconsole -geometry -0+0 -fn 5x7 &
> > #exec olvwm   #complained about a missing font
> >  exec fvwm
> >
> > I have also tried twm.
> > This file was generated from an example in the Handbook.
> 
> Check if you actually have those programs installed. If not, you need
> to install these ports: x11/xrdb, x11/xsetroot, x11/xterm, x11/xconsole,
> x11-wm/fvwm.
> 

Those programs are actually installed.

Best regards,
Fred
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Xorg Problems

2010-08-22 Thread Fred Boatwright
Marc Fonvieille wrote:
> 
> On Sat, Aug 21, 2010 at 07:41:49PM -0700, Fred Boatwright wrote:
> > Warren Block wrote:
> > >
> > > On Sat, 21 Aug 2010, Warren Block wrote:
> > >
> > > > Log file is at http://wonkity.com/~wblock/tmp/Xorg.0.log
> > >
> > > First notes:
> > >
> > > You're running the old version of X, 1.6.1.
> > >
> > > Something odd is going on with some of the fonts.
> >
> > I installed ports/x11/xorg-minimal as the full Monty appeared to be a
> > huge amount of software that will never get used.  I don't want all the
> > stuff for gnome and kde as I will never use them.
> >
> > It appeared to me that the fonts could be straightened out when
> > everything else is working.  I think the Handbook has a section on
> > adding fonts.
> >
> > While looking for the xorg-minimal that I installed I found a bunch of
> > nVidea drivers in the same directory.  Do you think I should install
> > them now or wait.
> >
> 
> For x11/xorg-minimal installation you issued the command:
> 
> "make install" or "make install VIDEO_DRIVER=your_video_driver" ?
> 
> Without the mention of the driver it installs the vesa driver only.
> This is sub-optimal, an options screen with all existing drivers should
> be proposed.
> 
> --
> Marc

I used make install as I had no way of knowing that additional drivers
could be selected.  Perhaps that should be an option to the sysinstall
program when FBSD is initially being installed.

Best regards,
Fred
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Xorg Problems

2010-08-21 Thread Fred Boatwright
Eitan Adler wrote:
> 
> On Sat, Aug 21, 2010 at 11:42 PM, Fred Boatwright  wrote:
> > Eitan Adler wrote:
> >>
> >> >> Something odd is going on with some of the fonts.
> >> >
> >> > I installed ports/x11/xorg-minimal as the full Monty appeared to be a
> >> > huge amount of software that will never get used. Ä? I don't want all the
> >> > stuff for gnome and kde as I will never use them.
> >> >
> >> > It appeared to me that the fonts could be straightened out when
> >> > everything else is working. Ä? I think the Handbook has a section on
> >> > adding fonts.
> >> >
> >>
> >> Hi,
> >> I'm the maintainer of x11/xorg-minimal. I have not been following this 
> >> thread.
> >>
> >> Did you have problems with fonts when installing x11/xorg-minimal ?
> >>
> >> --
> >> Eitan Adler
> >
> > Hi Eitan,
> > The Xorg.0.log file shows it can't find some expected fonts. Â The file
> > is at
> > http://wonkity.com/~wblock/tmp/Xorg.0.log
> 
> These are harmless. X.org will work without them which is why I didn't
> depend on them on x11/xorg-minimal
> 
> > The actual problem I am having is that startx produces only a completely
> > black screen.  Xorg -config xorg.conf.new -retro  produces the expected
> > grid and mouse pointer. Â A .xinitrc file is supposed to start a window
> > manager.
> Modern X.org installs don't show a default window manager (so a black
> screen is "expected). What is the contents of your .xinitrc file?
> 
> >
> > Best regards,
> > Fred
> >
> 
> --
> Eitan Adler

The .xinitrc file:
 xrdb
 xsetroot -solid gray &
 xterm -geometry +0-100 &
 xconsole -geometry -0+0 -fn 5x7 &
#exec olvwm   #complained about a missing font
 exec fvwm

I have also tried twm.
This file was generated from an example in the Handbook.  I don't
understand why xterm and xconsole are to be started before the window
manager.

Best regards,
Fred
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Xorg Problems

2010-08-21 Thread Fred Boatwright
Eitan Adler wrote:
> 
> >> Something odd is going on with some of the fonts.
> >
> > I installed ports/x11/xorg-minimal as the full Monty appeared to be a
> > huge amount of software that will never get used. Â I don't want all the
> > stuff for gnome and kde as I will never use them.
> >
> > It appeared to me that the fonts could be straightened out when
> > everything else is working. Â I think the Handbook has a section on
> > adding fonts.
> >
> 
> Hi,
> I'm the maintainer of x11/xorg-minimal. I have not been following this thread.
> 
> Did you have problems with fonts when installing x11/xorg-minimal ?
> 
> --
> Eitan Adler

Hi Eitan,
The Xorg.0.log file shows it can't find some expected fonts.  The file
is at
http://wonkity.com/~wblock/tmp/Xorg.0.log
The actual problem I am having is that startx produces only a completely
black screen.  Xorg -config xorg.conf.new -retro  produces the expected
grid and mouse pointer.  A .xinitrc file is supposed to start a window
manager.

Best regards,
Fred
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Xorg Problems

2010-08-21 Thread Fred Boatwright
Warren Block wrote:
> 
> On Sat, 21 Aug 2010, Warren Block wrote:
> 
> > Log file is at http://wonkity.com/~wblock/tmp/Xorg.0.log
> 
> First notes:
> 
> You're running the old version of X, 1.6.1.
> 
> Something odd is going on with some of the fonts.

I installed ports/x11/xorg-minimal as the full Monty appeared to be a
huge amount of software that will never get used.  I don't want all the
stuff for gnome and kde as I will never use them.

It appeared to me that the fonts could be straightened out when
everything else is working.  I think the Handbook has a section on
adding fonts.

While looking for the xorg-minimal that I installed I found a bunch of
nVidea drivers in the same directory.  Do you think I should install
them now or wait.

Fred
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Xorg Problems

2010-08-21 Thread Fred Boatwright
Glen Barber wrote:
> 
> On 8/21/10 7:12 PM, Warren Block wrote:
> >> I changed the driver from vesa to nVidia but the nVidia driver could not
> >> be found and X exited.  After restoring vesa I ran the test on xorg.conf
> >> -retro and it worked ok.  However, startx still produced only a black
> >> screen.
> >
> > nVidia is a long story.  There are binary drivers provided by nVidia,
> > and there's a limited open-source driver provided by xorg.  Someone else
> > is going to have to provide detail.
> >
> > For now, vesa at 1024x768 should be fine.
> 
> Just curious - why are you using vesa instead of nv (not nVidia)?
> 
> Regards,
> 
> --
> Glen Barber
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Glen,
Vesa is what Xorg -configure  comes up with.  Should the nVidia driver
name be nv?

Best regards,
Fred
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Xorg Problems

2010-08-21 Thread Fred Boatwright
Warren Block wrote:
> 
> On Sat, 21 Aug 2010, Fred Boatwright wrote:
> 
> > .xinitrc
> > xrdb
> > xsetroot -solid gray &
> > xterm -geometry +0-100 &
> > xconsole -geometry -0+0 -fn 5x7 &
> > #exec olvwm   #complained about a missing font
> > exec fvwm
> 
> Before trying a different window manager, try good old twm.
> 
> > xorg.conf
> > Section "ServerLayout"
> >   Identifier "X.org Configured"
> >   Screen  0  "Screen0" 0 0
> >   InputDevice"Mouse0" "CorePointer"
> >   InputDevice"Keyboard0" "CoreKeyboard"
> > EndSection
> 
> If you're running hal, those InputDevice sections aren't needed.
> 
> > Section "InputDevice"
> >   Identifier  "Keyboard0"
> >   Driver  "kbd"
> > EndSection
> >
> > Section "InputDevice"
> >   Identifier  "Mouse0"
> >   Driver  "mouse"
> >   Option  "Protocol" "auto"
> >   Option  "Device" "/dev/sysmouse"
> >   Option  "ZAxisMapping" "4 5 6 7"
> > EndSection
> 
> These InputDevice definitions are also unnecessary with hal.
> 
> > Section "Monitor"
> >   Identifier   "Monitor0"
> >   VendorName   "HP"
> >   ModelName"2009"
> >   ModeLine "1600x900" 108.0 1600 1624 1704 1800 900 901 904 1000
> >   Option   "DPMS"
> > EndSection
> 
> Modelines are... well, avoid them unless they are required.
> 
> > Section "Device"
> >### Available Driver options are:-
> >### Values: : integer, : float, : "True"/"False",
> >### : "String", : " Hz/kHz/MHz"
> >### [arg]: arg optional
> >#Option "ShadowFB" # []
> >#Option "DefaultRefresh"   # []
> >#Option "ModeSetClearScreen"   # []
> >   Identifier  "Card0"
> >   Driver  "vesa"
> >   VendorName  "nVidia Corporation"
> >   BoardName   "NV44 [GeForce 6200 A-LE]"
> >   BusID   "PCI:1:0:0"
> > EndSection
> 
> The nVidia driver should produce better results than vesa.
> 
> > Section "Screen"
> >   Identifier "Screen0"
> >   Device "Card0"
> >   Monitor"Monitor0"
> >   DefaultDepth  24
> >   SubSection "Display"
> >   Viewport   0 0
> >   Depth 24
> >   Modes "1600x900"
> >   EndSubSection
> > EndSection
> 
> Finally, starting with a more common resolution like 1024x768 may help.
> Get it working first, then polish one thing at a time so you can tell
> what works.
> 
> > Is there is somewhere I can park the log file that you would have access
> > to?  I don't know of any way to provide a link to it here.
> 
> http://pastebin.com/ is popular.
> 
> > The log file says: (--) using VT number 9.  This does not exist in
> > /etc/ttys and I didn't find anywhere in the Handbook chapter that says
> > it needs to be added.
> 
> xorg creates it automatically.  It's the alt-F9 to switch from console
> to X.
> 
> > The log file generated by Xorg -configure appears to have everything
> > there is to know about the monitor being used.  These values were
> > manually put in the xorg.conf file.  However, the log file says:
> > (II) VESA(0): Not using mode "1600x900" (no mode of this name)
> > However, the xorg.conf test did work.
> 
> vesa may not be able to handle that resolution.  1024x768 is a safe
> starting value.

Hello Warren,
I installed twm and changed .xinitrc to run it.

I commented out the sections of xorg.conf that you suggested and changed
the resolution.

I changed the driver from vesa to nVidia but the nVidia driver could not
be found and X exited.  After restoring vesa I ran the test on xorg.conf
-retro and it worked ok.  However, startx still produced only a black
screen.

I was not able to make heads or tails out of the pastebin.com site. 
Until FBSD X is working on the pc I have to use Netscape 4.79 on a Sun
running Solaris 2.6 (which I would prefer to keep using if only a modern
browser was available).  Netscape doesn't work on most web sites
anymore.  Is there someplace I could ftp or email the log file?

Best regards,
Fred
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Xorg Problems

2010-08-21 Thread Fred Boatwright
Hi Matthew,

The .xinitrc file starts fvwm.  I have not found any error message that
would indicate fvwm is not running.

One of the common failure modes you mention is probably what I have!

Best regards,
Fred

Matthew Seaman wrote:
> 
> On 21/08/2010 18:13:09, Fred Boatwright wrote:
> > The screen is completely black. No mouse pointer.  When the xorg.conf
> > file is tested using Xorg -conf xorg.conf.new -retro I get the gray grid
> > and the X mouse pointer.  Without the -retro I get a totally black
> > screen, no mouse pointer.
> 
> Um yes.  That's what the '-retro' flag does: reintroduce the grid
> pattern etc. that lets you confirm X is responsive, rather than the new
> and really not at all improved behaviour of just throwing up a black
> screen which is remarkably similar to some common failure modes.
> 
> Try starting up a window manager or similar.  It might be that nothing
> at all is actually wrong...
> 
> Cheers,
> 
> Matthew
> 
> --
> Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
>   Flat 3
> PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
> JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW
> 
>   
>Name: signature.asc
>signature.asc   Type: application/pgp-signature
> Description: OpenPGP digital signature
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Xorg Problems

2010-08-21 Thread Fred Boatwright
Warren Block wrote:
> 
> On Fri, 20 Aug 2010, Fred Boatwright wrote:
> 
> > I am having trouble setting up X similar to a previous posting.  I have
> > a new 8.0 installation.
> >
> > Using the Handbook chapter suggested below I waas able to generate and
> > edit an xorg.conf file.  It tests ok.  I generated a .xinitrc file based
> > on an example in the Handbook.  When a user runs startx the screen
> > completely blanks out.  It is possible to return to the command line
> > prompt with ctrl-alt-F1 and then ^c.  No errors are listed.  Where would
> > I look for the problem?
> 
> [please don't top-post, it makes responding more difficult]
> 
> Could you show your .xinitrc?  Also, the xorg.conf and Xorg.0.log are
> often useful.  Links to those files may be easier to post than the files
> themselves.
> 
> When you say the screen is completely blank--is there a mouse pointer?

Hello,
The screen is completely black. No mouse pointer.  When the xorg.conf
file is tested using Xorg -conf xorg.conf.new -retro I get the gray grid
and the X mouse pointer.  Without the -retro I get a totally black
screen, no mouse pointer.

.xinitrc
xrdb
xsetroot -solid gray &
xterm -geometry +0-100 &
xconsole -geometry -0+0 -fn 5x7 &
#exec olvwm   #complained about a missing font
exec fvwm

xorg.conf
Section "ServerLayout"
Identifier "X.org Configured"
Screen  0  "Screen0" 0 0
InputDevice"Mouse0" "CorePointer"
InputDevice"Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath   "/usr/local/lib/xorg/modules"
FontPath "/usr/local/lib/X11/fonts/misc/"
FontPath "/usr/local/lib/X11/fonts/TTF/"
FontPath "/usr/local/lib/X11/fonts/OTF"
FontPath "/usr/local/lib/X11/fonts/Type1/"
FontPath "/usr/local/lib/X11/fonts/100dpi/"
FontPath "/usr/local/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
Load  "extmod"
Load  "record"
Load  "dbe"
Load  "glx"
Load  "dri"
Load  "dri2"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver  "kbd"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol" "auto"
Option  "Device" "/dev/sysmouse"
Option  "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier   "Monitor0"
VendorName   "HP"
ModelName"2009"
ModeLine "1600x900" 108.0 1600 1624 1704 1800 900 901 904 1000
Option   "DPMS"
EndSection

Section "Device"
### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
#Option "ShadowFB"  # []
#Option "DefaultRefresh"# []
#Option "ModeSetClearScreen"# []
Identifier  "Card0"
Driver  "vesa"
VendorName  "nVidia Corporation"
BoardName   "NV44 [GeForce 6200 A-LE]"
BusID   "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor"Monitor0"
DefaultDepth  24
#   SubSection "Display"
#   Viewport   0 0
#   Depth 1
#   EndSubSection
#   SubSection "Display"
#   Viewport   0 0
#   Depth 4
#   EndSubSection
#   SubSection "Display"
#   Viewport   0 0
#   Depth 8
#   EndSubSection
#   SubSection "Display"
#   Viewport   0 0
#   Depth 15
#   EndSubSection
#   SubSection "Display"
#   Viewport   0 0
#   Depth 16
#   EndSubSection
SubSection "Display"
Viewport   0 0
Depth 24
Modes "1600x900"
EndSubSection
EndSection


Is there is somewhere I can park the log file that you would have access
to?  I don't know of any way to provide a link to it here.

The log file has warnings that mouse and keyboard are disabled and other
places where mouse and keyboard are enabled.  However, in the test 

Re: Xorg Problems

2010-08-20 Thread Fred Boatwright
Hello,

I am having trouble setting up X similar to a previous posting.  I have
a new 8.0 installation.

Using the Handbook chapter suggested below I waas able to generate and
edit an xorg.conf file.  It tests ok.  I generated a .xinitrc file based
on an example in the Handbook.  When a user runs startx the screen
completely blanks out.  It is possible to return to the command line
prompt with ctrl-alt-F1 and then ^c.  No errors are listed.  Where would
I look for the problem?

Best regards,
Fred

Warren Block wrote:
> 
> On Thu, 19 Aug 2010, Ondrej Majerech wrote:
> 
> > On 19-Aug-10 13:20, Rem Roberti wrote:
> >> I'm having trouble with xorg on a new 8.1 installation.  I haven't
> >> installed a wm yet, but when I try to call up the generic x windows by
> >> typing "startx" they do indeed appear, but all three of the x windows
> >> are locked up. By that I mean that there is no mouse, and no possibility
> >> of entering data in the windows via the keyboard. Totally frozen. And
> >> you can't get out of x in the usual manner i.e. ctrl-alt-backspace. The
> >> only thing that works is ctrl-alt-del which, of course, reboots the
> >> computer. Any ideas are appreciated.
> 
> The Handbook chapter describes what to do:
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html
> 
> > "New" Xorg requires HAL and Dbus to recognize input devices by default. Do
> > you have these enabled?
> >
> > Alternatively, you revert to the old, no-HAL method by adding
> >
> > Option "AutoAddDevices" "False"
> 
> Yes.
> 
> > Option "AllowEmptyInput" "False"
> 
> No.  Please don't use that, it's not necessary and sometimes causes
> problems.  AutoAddDevices "Off" by itself disables hal input device
> detection.
> 
> > into your ServerFlags in xorg.conf.
> 
> Or just put them in ServerLayout.
> 
> > You might also want to add Option "DontZap" "false" into the same section as
> > well to have Ctrl-Alt-Backspace working again.
> 
> I think that DontZap is back to the default, but it's now the key
> combination that is unset, so setxkbmap -option terminate:ctrl_alt_bksp
> is the way to fix it.  But it's been a while since I've needed to kill
> X manually, so haven't tried it lately.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: X11 question

2010-08-12 Thread Fred Boatwright
Indeed you are right.  I installed xinit from ports but something didn't
happen as it should have.  I tried again using pkg_add as you suggested
and startx does exist now.

I installed olvwm several days ago and it did not pull in the xorg stuff
also.

Thanks for the help!

Best regards,
Fred

Samuel Martín Moro wrote:
> 
> On Thu, Aug 12, 2010 at 11:43 PM, Fred Boatwright  wrote:
> 
> > pkg_info | grep xinit  doesn't return anything
> >
> then, you doesn't have installed xinit, and startx can't be here
> pkg_add -rv xinit
> and then, if it doesn't fail, try again:
> rehash
> which startx
> 
> > rehash
> > which startx
> > startx: Command not found
> >
> > whereis X
> > X: /usr/local/bin/X
> >
> > pkg_which /usr/local/bin/X
> > pkg_which:  Command not found
> >
> > Oliver:  I used your porgle tool to find pkg_which and will install it
> > later. Porgle appears to be a very useful tool.
> >
> > I installed x11-servers/xorg-server but maybe should have installed Xorg
> > instead.  However, from looking at the pkg-descr for xorg it looks like
> > it will install a huge amount of software that will not get used.  I am
> > reluctant to do this.  I have installed 8.0-RELEASE from the CD and I
> > want to run olvwm for a desktop.  I have been using Solaris 2.6 with the
> > OpenWindows desktop for 12 years and consider it to be as close to
> > perfection as one can get.  I am being forced, kicking and screaming, to
> > move to some other type of Unix on a PC and would like to continue using
> > OpenWindows.  It is probably going to be an uphill battle to get olvwm
> > to work.  Am I going to have to install xorg to get everything needed?
> >
> > Best regards,
> > Fred
> >
> > Tim Kellers wrote:
> > >
> > > Fred,
> > >
> > >  From man startx(1):
> > >
> > > SEE ALSO
> > > xinit(1), X(7), Xserver(1), Xorg(1), xorg.conf(5)
> > >
> > > Try:
> > >
> > > # whereis X
> > >
> > > If X is installed, it should return:
> > >
> > > # X: /usr/local/bin/X
> > >
> > > pkg_which if X is installed should return:
> > >
> > > # pkg_which /usr/local/bin/X
> > >
> > > xorg-server-1.7.5,1
> > >
> > > If it doesn't, then the full X server isn't installed:
> > >
> > > Try:
> > >
> > > # whereis xorg
> > >
> > > xorg: /usr/ports/x11/xorg
> > >
> > > If xorg isn't installed, cd to:
> > >
> > > /usr/ports/x11/xorg
> > >
> > > and
> > >
> > > make config-recursive  (If you add any options, run make
> > > config-recursive a second time after the shell prompt returns)
> > >
> > > and then
> > >
> > > make install clean
> > >
> > > HTH
> > >
> > > Tim Kellers
> > >
> > > On 08/12/10 15:40, Fred Boatwright wrote:
> > > > Hi Oliver and Tim,
> > > >
> > > > I installed xinit but startx still doesn't exist.  whereis returns
> > > > nothing and man startx returns nothing.
> > > >
> > > > Fred
> > > >
> > > > Tim Kellers wrote:
> > > >
> > > >> /usr/ports/x11/xinit
> > > >>
> > > >> On my system (with X, obviously, already installed):
> > > >>
> > > >> beta# whereis startx
> > > >>
> > > >> startx: /usr/local/bin/startx /usr/local/man/man1/startx.1.gz
> > > >>
> > > >> beta# pkg_which /usr/local/bin/startx
> > > >>
> > > >> xinit-1.2.0
> > > >>
> > > >> beta# whereis xinit
> > > >>
> > > >> xinit: /usr/local/bin/xinit /usr/local/man/man1/xinit.1.gz
> > > >> /usr/ports/x11/xinit
> > > >>
> > > >> I' m not certain about the p5/Perl TK questions, but in the file:
> > > >> /usr/ports/x11-toolkits/p5-Tk/pkg-descr
> > > >> there is this description:
> > > >>
> > > >> This a re-port of a perl interface to Tk8.4 (John Ousterhout's
> > production
> > > >> release).
> > > >>
> > > >> Perl API is essentially the same as Tk800.025 but has not
> > > >> been verified as compliant.
> > > >>
> > > >> It also includes all the C code parts of Tix8.1.4 fro

Re: X11 question

2010-08-12 Thread Fred Boatwright
pkg_info | grep xinit  doesn't return anything
rehash
which startx
startx: Command not found

whereis X
X: /usr/local/bin/X

pkg_which /usr/local/bin/X
pkg_which:  Command not found

Oliver:  I used your porgle tool to find pkg_which and will install it
later. Porgle appears to be a very useful tool.

I installed x11-servers/xorg-server but maybe should have installed Xorg
instead.  However, from looking at the pkg-descr for xorg it looks like
it will install a huge amount of software that will not get used.  I am
reluctant to do this.  I have installed 8.0-RELEASE from the CD and I
want to run olvwm for a desktop.  I have been using Solaris 2.6 with the
OpenWindows desktop for 12 years and consider it to be as close to
perfection as one can get.  I am being forced, kicking and screaming, to
move to some other type of Unix on a PC and would like to continue using
OpenWindows.  It is probably going to be an uphill battle to get olvwm
to work.  Am I going to have to install xorg to get everything needed?

Best regards,
Fred

Tim Kellers wrote:
> 
> Fred,
> 
>  From man startx(1):
> 
> SEE ALSO
> xinit(1), X(7), Xserver(1), Xorg(1), xorg.conf(5)
> 
> Try:
> 
> # whereis X
> 
> If X is installed, it should return:
> 
> # X: /usr/local/bin/X
> 
> pkg_which if X is installed should return:
> 
> # pkg_which /usr/local/bin/X
> 
> xorg-server-1.7.5,1
> 
> If it doesn't, then the full X server isn't installed:
> 
> Try:
> 
> # whereis xorg
> 
> xorg: /usr/ports/x11/xorg
> 
> If xorg isn't installed, cd to:
> 
> /usr/ports/x11/xorg
> 
> and
> 
> make config-recursive  (If you add any options, run make
> config-recursive a second time after the shell prompt returns)
> 
> and then
> 
> make install clean
> 
> HTH
> 
> Tim Kellers
> 
> On 08/12/10 15:40, Fred Boatwright wrote:
> > Hi Oliver and Tim,
> >
> > I installed xinit but startx still doesn't exist.  whereis returns
> > nothing and man startx returns nothing.
> >
> > Fred
> >
> > Tim Kellers wrote:
> >
> >> /usr/ports/x11/xinit
> >>
> >> On my system (with X, obviously, already installed):
> >>
> >> beta# whereis startx
> >>
> >> startx: /usr/local/bin/startx /usr/local/man/man1/startx.1.gz
> >>
> >> beta# pkg_which /usr/local/bin/startx
> >>
> >> xinit-1.2.0
> >>
> >> beta# whereis xinit
> >>
> >> xinit: /usr/local/bin/xinit /usr/local/man/man1/xinit.1.gz
> >> /usr/ports/x11/xinit
> >>
> >> I' m not certain about the p5/Perl TK questions, but in the file:
> >> /usr/ports/x11-toolkits/p5-Tk/pkg-descr
> >> there is this description:
> >>
> >> This a re-port of a perl interface to Tk8.4 (John Ousterhout's production
> >> release).
> >>
> >> Perl API is essentially the same as Tk800.025 but has not
> >> been verified as compliant.
> >>
> >> It also includes all the C code parts of Tix8.1.4 from SourceForge.
> >> The perl code corresponding to Tix's Tcl code is not fully implemented.
> >>
> >> This version (Tk804.025) is only likely to work with perl5.8+.
> >>
> >> Tim Kellers
> >>
> >> On 08/12/10 12:02, Fred Boatwright wrote:
> >>
> >>> Hello,
> >>>
> >>> Where would I find startx?  I assume it is part one of the ports under
> >>> X11
> >>> but I don't want to install all of them to find it.
> >>>
> >>> Also, is p5-Tk the same as Perl/Tk?
> >>>
> >>> Best regards,
> >>>
> >>> Fred
> >>>
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: X11 question

2010-08-12 Thread Fred Boatwright
Hi Oliver and Tim,

I installed xinit but startx still doesn't exist.  whereis returns
nothing and man startx returns nothing.

Fred

Tim Kellers wrote:
> 
> /usr/ports/x11/xinit
> 
> On my system (with X, obviously, already installed):
> 
> beta# whereis startx
> 
> startx: /usr/local/bin/startx /usr/local/man/man1/startx.1.gz
> 
> beta# pkg_which /usr/local/bin/startx
> 
> xinit-1.2.0
> 
> beta# whereis xinit
> 
> xinit: /usr/local/bin/xinit /usr/local/man/man1/xinit.1.gz
> /usr/ports/x11/xinit
> 
> I' m not certain about the p5/Perl TK questions, but in the file:
> /usr/ports/x11-toolkits/p5-Tk/pkg-descr
> there is this description:
> 
> This a re-port of a perl interface to Tk8.4 (John Ousterhout's production
> release).
> 
> Perl API is essentially the same as Tk800.025 but has not
> been verified as compliant.
> 
> It also includes all the C code parts of Tix8.1.4 from SourceForge.
> The perl code corresponding to Tix's Tcl code is not fully implemented.
> 
> This version (Tk804.025) is only likely to work with perl5.8+.
> 
> Tim Kellers
> 
> On 08/12/10 12:02, Fred Boatwright wrote:
> > Hello,
> >
> > Where would I find startx?  I assume it is part one of the ports under
> > X11
> > but I don't want to install all of them to find it.
> >
> > Also, is p5-Tk the same as Perl/Tk?
> >
> > Best regards,
> >
> > Fred
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
> >
> >
> >
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


X11 question

2010-08-12 Thread Fred Boatwright
Hello,

Where would I find startx?  I assume it is part one of the ports under
X11
but I don't want to install all of them to find it.

Also, is p5-Tk the same as Perl/Tk?

Best regards,

Fred
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: firefox install problem

2010-08-10 Thread Fred Boatwright
Hello Steve,

I have not had any luck installing the package manually.  The file is a
tar.gz which pkg_add apparently can't handle.  I did download
firefox.tar.gz and unpacked it.  Pkg_info says it is corrupt.  Changes
were apparently made to this package about two weeks ago and possibly
something didn't happen correctly.  Should this be reported to a
different mail list or should a bug report be made?  Or am I mistaken?

If a package needed to be installed manually, how would pkg_add know to
get all the dependencies remotely?  Firefox has a huge list of
dependencies which would be very difficult to deal with manually.

Best regards,

Fred

Steven Susbauer wrote:
> 
> On 08/09/10 22:17, Fred Boatwright wrote:
> > Hello,
> >
> > I have installed FreeBSD-8.0 from the CD and have it running ok.  I have
> > installed several packages including thunderbird using pkg_add -r
> > package_name.  When I try to install firefox I get a file unavailable
> > error.  The web site shows firefox-3.6.8,1 is available (i386).  What
> > can I do to install firefox?
> >
> 
> You can manually download the package from a mirror and then install it
> with pkg_add (pkg_add firefox-3.6.8,1.tbz).
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


firefox install problem

2010-08-09 Thread Fred Boatwright
Hello,

I have installed FreeBSD-8.0 from the CD and have it running ok.  I have
installed several packages including thunderbird using pkg_add -r
package_name.  When I try to install firefox I get a file unavailable
error.  The web site shows firefox-3.6.8,1 is available (i386).  What
can I do to install firefox?

Best regards,
Fred
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"