Defcon-1-Logo

           [Home]    [FBSD Articles]    [Scripts Corner]    [Contribute]    [Search]    [FBSD Links]    [Files]

About Us

FreeBSD Articles
  *Hardware
  *Networking
  *Security
  *Software
  *X Windows


Files / Scripts
Newbies Corner
Tech. Talk
Tips and Tricks


FreeBSD Links

Articles in other
Languages :
  *French Articles
  *Spanish Articles

Want to Help ?
 
   Click Here

Email Users5

Search:
 

 


FreeBSD Search:


 

 

Powered-By-Apache-Logo
Defcon1 Logo

Configuring X-Windows Visually

Configure X-Windows Server

 

User Confirmation Requested

Would you like to configure your X server at this time?


[ Yes ]

  No 

 

 
This can be done later using /stand/sysinstall if you don't have graphics card and monitor information handy. Equipment damage can occur if settings are incorrect.
 

Please select the XFree86 configuration tool you want to use.

The first tool, XF86Setup, is fully graphical and requires the VGA16 server in order to work (should have been selected by default, but if you de-selected it then you won't be able to use this fancy setup tool). The second tool, xf86config, is a more simplistic shell-script based tool and less friendly to new users, but it may work in situations where the fancier one does not. 


    XF86Setup    Fully graphical xFree86 configuration tool.

    xf86config   Shell-script based XFree86 configuration tool. 
    X
F98Setup    Fully graphical XFree86 configuration tool. 

[ OK ]

  Cancel 

[ Press F1 to read the XFree86 release notes for FreeBSD ]  

 

Message

You have configured and been running the mouse daemon. 
Choose "/dev/sysmouse" as the mouse port and "SysMouse" or "MouseSystems" as the mouse protocol in the X configuration utility. 


[ OK ]

[ Press enter to continue ]

 

Press [Enter] to switch to graphics mode. 

This may take a while... 


[ OK ]

 

 
The XF86 Setup Introduction will appear. Read the instructions carefully.
 

Mouse

Keyboard

Card

Monitor

Modeselection

Other

 
   

Introduction to Configuration with XF86 Setup

There are five areas of configuration that need to be completed, corresponding to the buttons along the top: 
 

Mouse

 

- Use this to set the protocol, baud rate, etc. used by your mouse

Keyboard

- Set the nationality and layout of your keyboard

Card

- Used to select the chipset, RAMDAC, etc. of your card

Monitor

- Use this to enter your monitor's capabilities

Modeselection

- Use this to chose the modes that you want to use

Other

- Configure some miscellaneous settings

  
You'll probably want to start with configuring your mouse (you can just press [Enter] to do so) 
and when you've finished configuring all five of these, select the Done button. 

To select any of the buttons, press the underlined letter together with either Control or Alt. 
You can also press ? or click on the Help button at any time for additional instructions

 

  Abort 

 

  Done 

 

  Help 

 

 

The instructions will immediately appear over the menu. After reading, select "Dismiss" to return to the menu shown above.
 

First select the protocol for your mouse using 'p', then if needed, change the device name. If applicable, also set the baud rate (1200 should work). Avoid moving the mouse or pressing buttons before the correct protocol has been selected. Press 'a' to apply the changes and try moving your mouse around. If the mouse pointer doesn not move properly, try a different protocol or device name. 

Once the mouse is moving properly, test that the various buttons also work correctly. If you have a three button muouse and the middle button does not work, try the buttons labeled ChordMiddle and Emulate3Buttons. 

Note: the 'logitech' protocol is only used by older logitech mice. Most current models use the 'Microsoft' or "MouseMan' protocol.   

 Key 
---------  
    a 
    b  
    c  
    d 
    e  
    l 
    n 
    p  
    r 
    s 
    t  
    3 
    4 
    5

  
  

-

-

-

-

-

-

-

-

-

-

Function  
---------------------------------------------------------  
Apply changes  
Change to next baud rate  
Toggle the ChordMiddle button  
Toggle the ClearDTR button  
Toggle the Emulate3button button  
Select the next resolution  
Set the name of the device  
Select the next protocol  
Toggle the ClearRTS button  
Increase the sample rate  
Increase the 3-button emulation timeout  
Set buttons to 3  
Set buttons to 4  
Set buttons to 5


   Dismiss 

 

Configuring your Mouse
 

User Confirmation Requested

Does this system have a mouse connected to it?


[ Yes ]

  N

 

Please configure your mouse

You can cut and paste text in the text console by running the mouse daemon. Specify a port and a protocol type of your mouse and enable the mouse daemon. If you don't want this feature, select 4 to disable the daemon. 
Once you've enabled the mouse daemon, you can specify "/dev/sysmouse" as your mouse device and "SysMouse" or MouseSystems" as mouse protocol when running the X configuration utility (see Configuration menu). 


  1 Type       Select mouse protocol type  

  2 Port       Select mouse port 
  3 Enable     Test and run the mouse daemon 
  4 Disable    Disable the mouse daemon 
  0 Exit       Exit this menu (returning to previous 

[  OK  ]

  Cancel 

 

Select a protocol type for your mouse

If you are not sure, choose "Auto". It should always work for bus and PS/2 style mice. It may not work for the serial mouse if the mouse does not support the PnP standard. But, it won't hurt. Many 2-button serial mice are compatible with "Microsoft" or "MouseMan". 3-button serial mice may be compatible with "mouseSystems" or "MouseMan". If the mouse has a wheel, it may be compatible with "IntelliMouse". 


 (*) Auto           Bus mouse, PS/2 style mouse or PnP serial mouse 

 ( ) Glidepoint     ALPS GlidePoint pad (serial) 
 ( ) Hitachi        Hitachi tablet (serial) 
 ( ) IntelliMouse   Microsoft IntelliMouse (serial) 
 ( ) Logitech       Logitech protocol (old models) (serial) 
 ( ) Microsoft      Microsoft protocol (serial) 
 ( ) MM Series      MM Series protocol (serial) 
 ( ) Mouseman       Logitech MouseMan/TrackMan models (serial)  
 ( ) MouseSystems   MouseSystems protocol (serial) 
 ( ) ThinkingMouse  Kensington ThinkingMouse (serial) 

[  OK  ]

  Cancel 

 

Please configure your mouse

You can cut and paste text in the text console by running the mouse daemon. Specify a port and a protocol type of your mouse and enable the mouse daemon. If you don't want this feature, select 4 to disable the daemon. 
Once you've enabled the mouse daemon, you can specify "/dev/sysmouse" as your mouse device and "SysMouse" or MouseSystems" as mouse protocol when running the X configuration utility (see Configuration menu). 


  1 Type       Select mouse protocol type  

  2 Port       Select mouse port  

  3 Enable     Test and run the mouse daemon 
  4 Disable    Disable the mouse daemon 
  0 Exit       Exit this menu (returning to previous 

[  OK  ]

  Cancel 

 

Select a protocol type for your mouse

If you are not sure, choose "Auto". It should always work for bus and PS/2 style mice. It may not work for the serial mouse if the mouse does not support the PnP standard. But, it won't hurt. Many 2-button serial mice are compatible with "Microsoft" or "MouseMan". 3-button serial mice may be compatible with "mouseSystems" or "MouseMan". If the mouse has a wheel, it may be compatible with "IntelliMouse". 



 ( ) COM1           Serial mouse on COM1 (/dev/cuaa0) 
 ( ) COM2           Serial mouse on COM2 (/dev/cuaa1)  
 ( ) COM3           Serial mouse on COM3 (/dev/cuaa2)  
 ( ) COM4           Serial mouse on COM4 (/dev/cuaa3)  
 ( ) BusMouse       Logitech, ATI or MS bus mouse (/dev/mse0)  

 (*) PS/2           PS/2 style mouse (/dev/psm0)


[  OK  ]

  Cancel 

 

Please configure your mouse

You can cut and paste text in the text console by running the mouse daemon. Specify a port and a protocol type of your mouse and enable the mouse daemon. If you don't want this feature, select 4 to disable the daemon. 
Once you've enabled the mouse daemon, you can specify "/dev/sysmouse" as your mouse device and "SysMouse" or MouseSystems" as mouse protocol when running the X configuration utility (see Configuration menu). 


  1 Type       Select mouse protocol type  
  2 Port        Select mouse port  

  3 Enable    Test and run the mouse daemon  

  4 Disable    Disable the mouse daemon 
  0 Exit        Exit this menu (returning to previous 

[  OK  ]

  Cancel 

 

User Confirmation Requested

Now move the mouse and see if it works. 
(Note that buttons don't have any effect for now.) 
  

Is the mouse cursor moving?

 


[ Yes ]

  N

 

Please configure your mouse

You can cut and paste text in the text console by running the mouse daemon. Specify a port and a protocol type of your mouse and enable the mouse daemon. If you don't want this feature, select 4 to disable the daemon. 
Once you've enabled the mouse daemon, you can specify "/dev/sysmouse" as your mouse device and "SysMouse" or MouseSystems" as mouse protocol when running the X configuration utility (see Configuration menu). 


  1 Type       Select mouse protocol type  
  2 Port        Select mouse port  
  3 Enable     Test and run the mouse daemon  
  4 Disable    Disable the mouse daemon 

  0 Exit      Exit this menu (returning to previous


[  OK  ]

  Cancel 

 

Video Card

I selected my video card from the list using the scroll bar.
 

Mouse

Keyboard

Card

Monitor

 Modeselection 

Other


     Card selected: STB Velocity 128 

STB Powergraph 64 
STB Powergraph 64 Video 
STB Powergraph X-24 
STB Systems Powergraph 3D 
STB Systems Velocity 3D 

STB Velocity 128

STB Velocity 64 Video 
SiS SG86C201 
Sierra Screaming 3D 
Sigma Concorde 
Sigma Legend 
Spider Black Widow 
Spider Black Widow Plus 
Spider Tarantula 64

 

S 
C 
R 
O 
L 
L 
B 
A 
R 
 

 

(Grahpic not shown)

 

 

 

 

 Read README file 

 

 Detailed Setup 

 


  Abort 

 

  Done 

 

  Help 

 

 

The "Detailed Setup" was then selected. I selected "8 Meg" of Video RAM since I knew my card had that. I let it probe for the other information.
 

Mouse

Keyboard

Card

Monitor

 Modeselection 

Other


     Card selected: STB Velocity 128 

Server:

 

Mono

VGA16

SVGA

8514

AGX

I128

Mach8

Mach32

Mach64

P9000

S3

S3V

TGA

W32

 

 

Chipset 

 

 

 

 

RamDac

 

 

 

 

ClockChip

 

 

 

Selected options: 
 

 

 

 

Additional lines to add to Device section of the SF86Config file:

 
 
 

 

 

Video RAM

     Probed 

 

 

 256K

 

 

 3Meg

 

 512K

 

 4Meg

 

 1Meg

 

 6Meg

 

 2Meg

 

 8Meg

 


 Read README file 

 

    Card List 

 

First make sure the correct server is selected, then make whatever changes are needed

If the Chipset, RamDac, or ClockChip entries are left blank, the will be probed


  Abort 

 

  Done 

 

  Help 

 

 

Monitor Setup :

There are two ways to proceed. One method requires that you enter the horizontal and vertical sweep capabilities of your monitor. I took a conservative route and chose one of the options already listed since my monitor was capable of that setting.

Do not exceed the ratings of your monitor. Damage could occur. If you have doubts select "ABORT" and get the information. The remainder of the installation process will be unaffected and configuring the X-Server can be done later using /stand/sysinstall.

After selecting a listed option, the screen will display the horizontal and vertical sweep rates that will be used. Compare those to the monitor specifications. The monitor must be capable of using those ranges.
 

Mouse

Keyboard

Card

Monitor

 Modeselection 

Other


Monitor sync rates

          Horizontal

 

31.5

 

             Vertical

 

60

 


  

40 

50 

60 

70 

80 

90 

100 

110 

120 

130 

140

 

 
 

__ 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 

 

 

20          30          40          50          60          70          80          90          100          110

           | 

 

 

Standard VGA, 640x480 @ 60 Hz 
Super VGA, 800x600 @56 Hz 
8514 Compatible, 1024x768 @ 87 Hz interlaced (no 800x600) 
Super VGA, 1024x768 @ 87 Hz interlaced, 800x600 @ 56 Hz 
Extended Super VGA, 800x600 @ 60 Hz, 640x480 @ 72 Hz 

Non-Interlaced SVGA, 1024x768 @ 60 Hz, 800x600 @ 72 Hz

High Frequency SVGA, 1024x768 @ 70 Hz 
Multi-frequency that can do 1280x1024 @ 60 Hz 
Multi-frequency that can do 1280x1024 @ 74 Hz 
Multi-frequency that can co 1280x1024 @ 76 Hz

 

 

 

 

 

Enter the Horizontal and Vertical Sync ranges for your monitor 

or if you do not have that information, choose from the list


  Abort 

 

  Done 

 

  Help 

 

 

Video Mode Selection Config :

I selected the modes and color depth appropriate for my system.

Mouse

Keyboard

Card

Monitor

 Modeselection 

Other


                       Select the modes you want to use

 

640x480

S

C

R

O

L

L

B

A

R

 

800x600

1024x768

1152x864

1280x1024

1600x1200

640x400

320x200

320x240

  8bpp 

  16bpp 

  24bpp 

  32bpp 

 

Select the default color depth you want to use 
 


  Abort 

 

  Done 

 

  Help 

 

 

Other :

Normally you never need to make any changes in this area.  Note the method to kill the x-server: hotkey sequence (Ctrl-Alt-Backspace).

Make a complete check of all your settings once again, and then selected "Done". It will then attempt to switch to x-mode to verify the settings. If nothing appears or appears wrong, kill the x-server and adjust the settings.
 

Mouse

Keyboard

Card

Monitor

 Modeselection 

Other


Optional server settings

 

These should be set to reasonable values, by default,

so you probably don't need to change anything

 

 

Allow server to be killed with hotkey sequence (Ctrl-Alt-Backspace)

 

Allow video mode switching

 

Don't Trap Signals - prevents the server from exitting cleanly

 

Allow video mode changes from other hosts

 

 Allow changes to keyboard and mouse settings from other hosts

 


  Abort 

 

  Done 

 

  Help 

 

Email Us

ghostrdr@defcon1.org

This site cannot be duplicated without permission

© 1998 - 2010 Defcon1, www.defcon1.org. Copyrights for all materials on this web site are held by the individual authors, artists, photographers or creators. Materials may not be reproduced or otherwise distributed without permission of www.defcon1.org and the content's original author.