Re: X server and xinit works excellent....almost.

2011-11-10 Thread Chuck Swiger
On Nov 10, 2011, at 3:57 PM, David Brodbeck wrote: > On Thu, Nov 10, 2011 at 11:12 AM, Chuck Swiger wrote: >> FreeBSD's users generally are more technically inclined and might be willing >> to deal with this, but even so, I suspect that most folks would appreciate >> the system trying to figure

Re: DBUS + kvm breaks X server (was: X server and xinit works excellent....almost.)

2011-11-10 Thread David Brodbeck
On Wed, Nov 9, 2011 at 11:56 AM, Warren Block wrote: > Are the keyboard and mouse USB devices?  A KVM should not disconnect them on > switching, but maybe it does. In my experience, most inexpensive USB KVMs work by disconnecting the keyboard/mouse from one system and reconnecting them to the oth

Re: X server and xinit works excellent....almost.

2011-11-10 Thread David Brodbeck
On Thu, Nov 10, 2011 at 11:12 AM, Chuck Swiger wrote: > FreeBSD's users generally are more technically inclined and might be willing > to deal with this, but even so, I suspect that most folks would appreciate > the system trying to figure out that an AZERTY keyboard layout means French, > that

Re: X server and xinit works excellent....almost.

2011-11-10 Thread Michael Cardell Widerkrantz
Chuck Swiger , 2011-11-10 20:12 (+0100): > Different keycaps means a different product SKU, at least. If they use > the same USB product ID Yes. I think this is a quite common scenario. > FreeBSD's users generally are more technically inclined and might be > willing to deal with this, but even s

Re: X server and xinit works excellent....almost.

2011-11-10 Thread Chuck Swiger
On Nov 10, 2011, at 2:25 AM, Michael Cardell Widerkrantz wrote: >> True for PS/2, but not true for USB-- the USB Vendor & Product ID can >> identify different keyboard types and let you infer the country. > > I'm sorry I was unclear. I meant the USB device doesn't say what > physical keyboard la

Re: X server and xinit works excellent....almost.

2011-11-10 Thread Bernt Hansson
2011-11-09 21:52, Samuel Magnusson skrev: When I first installed Xorg I began by following the handbook, which means that I unwittingly did this to my poor rc.conf: hald_enable="YES" dbus_enable="YES" That meant that I would HAVE to go into the XML-stuff (to get swedish keys) If all you want

Re: X server and xinit works excellent....almost.

2011-11-10 Thread Michael Cardell Widerkrantz
Polytropon , 2011-11-10 01:30 (+0100): > Now as it (almost?) works on FreeBSD, it's already deprecated by new > Linux concepts such as udev, upower and other us. Maybe > they become available as interfaces on FreeBSD too, but my fear is... > as soon as they are usable, there's already something el

Re: X server and xinit works excellent....almost.

2011-11-10 Thread Michael Cardell Widerkrantz
Samuel Magnusson , 2011-11-10 00:49 (+0100): > Michael Cardell Widerkrantz wrote 2011-11-09 21:02: >> What new style XML method? > I'm referring to what Polytropon said about all the "new" stuff > required by X. As I understood him he was talking about the XML-files > to give directions to HAL

Re: X server and xinit works excellent....almost.

2011-11-10 Thread Michael Cardell Widerkrantz
Samuel Magnusson , 2011-11-09 21:52 (+0100): > Because with HAL and DBUS enabled this InputDevice section is bypassed > unless I also specify Option "AutoAddDevices" "false". Which I > understand gives the same result as not enabling HAL and DBUS in the > first place. If you don't enable HAL and

Re: X server and xinit works excellent....almost.

2011-11-10 Thread Michael Cardell Widerkrantz
Chuck Swiger , 2011-11-09 22:10 (+0100): >> How would HAL know that the keyboard had a Swedish layout? No such >> information is sent through USB or PS/2 when you attach a keyboard. > > True for PS/2, but not true for USB-- the USB Vendor & Product ID can > identify different keyboard types and le

Re: X server and xinit works excellent....almost.

2011-11-10 Thread perryh
Chuck Swiger wrote: > > My assumption still is: Not _every_ keyboard manufacturer does > > code the layout into the USB identification. If you tell me I'm > > wrong with this assumption, I'll be happy. :-) > > Folks are supposed to use a different product ID for different > devices, so you can un

Re: X server and xinit works excellent....almost.

2011-11-09 Thread Chuck Swiger
On Nov 9, 2011, at 5:01 PM, Polytropon wrote: > In this regards, it's also strange how FreeBSD could "forget" > USB information it once had. > > On my old 5.x system, I got dmesg lines like that: > > ukbd0: Sun Microsystems Type 6 USB keyboard, > rev 1.00/1.02, addr 3, iclass

Re: X server and xinit works excellent....almost.

2011-11-09 Thread Samuel Magnusson
Polytropon skrev 2011-11-10 01:30: On Thu, 10 Nov 2011 00:49:19 +0100, Samuel Magnusson wrote: And migrating from Windows and Mac might be discouraging if there isn't a working desktop with visible text at least within an hour or two after installation. :) No problem in that, see FreeSBIE - all

Re: X server and xinit works excellent....almost.

2011-11-09 Thread Samuel Magnusson
Polytropon wrote 2011-11-09 19:19: On Wed, 09 Nov 2011 13:19:44 +0100, Samuel Magnusson wrote: This works for me: X :0 -terminate Ctrl-Alt-F1 xterm -display :0 Ctrl-Alt-F9 exit xterm.. which brings me back to the first console. But this doesn't work: X :0 -terminate vt4 Ctrl-Alt-F1 (doesn't res

Re: X server and xinit works excellent....almost.

2011-11-09 Thread Polytropon
On Wed, 09 Nov 2011 13:10:20 -0800, Chuck Swiger wrote: > Hi-- > > On Nov 9, 2011, at 12:02 PM, Michael Cardell Widerkrantz wrote: > >> And should HAL have discovered my swedish keyboard automatically in > >> the first place, so there was something going wrong there? > > > > How would HAL know th

Re: X server and xinit works excellent....almost.

2011-11-09 Thread Polytropon
On Thu, 10 Nov 2011 00:49:19 +0100, Samuel Magnusson wrote: > Michael Cardell Widerkrantz wrote 2011-11-09 21:02: > > Samuel Magnusson, 2011-11-09 12:06 (+0100): > >> Now I'm curious: > >> > >> Is it then so that in the "new style" Xorg the XML-method will > >> override HAL, and this is the new def

Re: X server and xinit works excellent....almost.

2011-11-09 Thread Samuel Magnusson
Michael Cardell Widerkrantz wrote 2011-11-09 21:02: Samuel Magnusson, 2011-11-09 12:06 (+0100): Now I'm curious: Is it then so that in the "new style" Xorg the XML-method will override HAL, and this is the new default way of providing opitons that formerly were in the InputDevice sections in xo

Re: X server and xinit works excellent....almost.

2011-11-09 Thread Chuck Swiger
Hi-- On Nov 9, 2011, at 12:02 PM, Michael Cardell Widerkrantz wrote: >> And should HAL have discovered my swedish keyboard automatically in >> the first place, so there was something going wrong there? > > How would HAL know that the keyboard had a Swedish layout? No such > information is sent th

Re: X server and xinit works excellent....almost.

2011-11-09 Thread Samuel Magnusson
Polytropon wrote 2011-11-09 19:15: On Wed, 09 Nov 2011 12:06:37 +0100, Samuel Magnusson wrote: Is it then so that in the "new style" Xorg the XML-method will override HAL, and this is the new default way of providing opitons that formerly were in the InputDevice sections in xorg.conf? I hope no

Re: DBUS + kvm breaks X server (was: X server and xinit works excellent....almost.)

2011-11-09 Thread Jerry
On Wed, 9 Nov 2011 14:02:07 -0500 Robert Huff articulated: > > Since this has been mentioned, I though I'd take the > opportunity ... > > Polytropon writes: > > > You have X without HAL and DBUS? Use xorg.conf because this > > has worked for many years to centralize X configuration. > >

Re: X server and xinit works excellent....almost.

2011-11-09 Thread Michael Cardell Widerkrantz
Samuel Magnusson , 2011-11-09 12:06 (+0100): > Which made me remember that I had the exact same > problem with my swedish keyboardmappings the very first time I started > X. I just couldn't get it to work and nearly gave up before I tried > the setxkbmap method and put them into .xinitrc, which sa

Re: DBUS + kvm breaks X server (was: X server and xinit works excellent....almost.)

2011-11-09 Thread Warren Block
On Wed, 9 Nov 2011, Robert Huff wrote: I have two systems - one Windows, one FreeBSD - that share monitor, keyboard, and mouse via a kvm. FreeBSD had both HAL and DBUS installed and activated in rc.conf. Scenario: I'm working on the FreeBSD system, and switch to the WIndows syst

DBUS + kvm breaks X server (was: X server and xinit works excellent....almost.)

2011-11-09 Thread Robert Huff
Since this has been mentioned, I though I'd take the opportunity ... Polytropon writes: > You have X without HAL and DBUS? Use xorg.conf because this > has worked for many years to centralize X configuration. > > You have X with HAL and DBUS, but don't want to use it? Reflect > thi

Re: X server and xinit works excellent....almost.

2011-11-09 Thread Polytropon
On Wed, 09 Nov 2011 13:19:44 +0100, Samuel Magnusson wrote: > This works for me: > X :0 -terminate > Ctrl-Alt-F1 > xterm -display :0 > Ctrl-Alt-F9 > exit xterm.. which brings me back to the first console. > > But this doesn't work: > X :0 -terminate vt4 > Ctrl-Alt-F1 (doesn't respond) > Ctrl-Alt-B

Re: X server and xinit works excellent....almost.

2011-11-09 Thread Polytropon
On Wed, 09 Nov 2011 12:06:37 +0100, Samuel Magnusson wrote: > Is it then so that in the "new style" Xorg the XML-method will override > HAL, and this is the new default way of providing opitons that formerly > were in the InputDevice sections in xorg.conf? I hope not! :-) As far as I understood

Re: X server and xinit works excellent....almost.

2011-11-09 Thread Samuel Magnusson
Samuel Magnusson wrote 2011-11-09 12:06: Now I'm curious: Is it then so that in the "new style" Xorg the XML-method will override HAL, and this is the new default way of providing opitons that formerly were in the InputDevice sections in xorg.conf? And should HAL have discovered my swedish

Re: X server and xinit works excellent....almost.

2011-11-09 Thread Samuel Magnusson
Thanks guys, that was really helpful! I now also installed the nVidia driver and it works well. The reason I didn't use it in the first place was that I had read that the old Geforce 2-card wasn't supported by the nVidia rivers anymore. And that nouveau (as replacement for nv) should be used i

Re: X server and xinit works excellent....almost.

2011-11-08 Thread Warren Block
On Tue, 8 Nov 2011, Polytropon wrote: On Tue, 8 Nov 2011 13:33:55 -0700 (MST), Warren Block wrote: On Tue, 8 Nov 2011, Warren Block wrote: On Tue, 8 Nov 2011, Polytropon wrote: And according to the handbook, this does _not_ remove the need for a X configuration file (usually /etc/X11/xorg.c

Re: X server and xinit works excellent....almost.

2011-11-08 Thread Polytropon
On Tue, 8 Nov 2011 13:33:55 -0700 (MST), Warren Block wrote: > On Tue, 8 Nov 2011, Warren Block wrote: > > > On Tue, 8 Nov 2011, Polytropon wrote: > > > >> And according to the handbook, this does _not_ remove the > >> need for a X configuration file (usually /etc/X11/xorg.conf) > >> including ``O

Re: X server and xinit works excellent....almost.

2011-11-08 Thread Warren Block
On Tue, 8 Nov 2011, Warren Block wrote: On Tue, 8 Nov 2011, Polytropon wrote: And according to the handbook, this does _not_ remove the need for a X configuration file (usually /etc/X11/xorg.conf) including ``Option "DontZap" "off"'' in the "ServerFlags" section. For at least the most recent

Re: X server and xinit works excellent....almost.

2011-11-08 Thread Warren Block
On Tue, 8 Nov 2011, Polytropon wrote: And according to the handbook, this does _not_ remove the need for a X configuration file (usually /etc/X11/xorg.conf) including ``Option "DontZap" "off"'' in the "ServerFlags" section. For at least the most recent Xorg, it's not needed. Can't recall whe

Re: X server and xinit works excellent....almost.

2011-11-08 Thread Polytropon
On Tue, 8 Nov 2011 08:14:48 -0700 (MST), Warren Block wrote: > On Tue, 8 Nov 2011, Samuel Magnusson wrote: > > > 1. I can?t zap the server with Ctrl-Alt-Backspace. Nothing at all happens. > > I > > have checked that it isn't disabled in xorg.conf, and even tried to put in > > the reverse boole

Re: X server and xinit works excellent....almost.

2011-11-08 Thread Warren Block
On Tue, 8 Nov 2011, Samuel Magnusson wrote: 1. I can?t zap the server with Ctrl-Alt-Backspace. Nothing at all happens. I have checked that it isn't disabled in xorg.conf, and even tried to put in the reverse boolean value there. Not that I couldn't live without zapping, but...when I know abo

X server and xinit works excellent....almost.

2011-11-07 Thread Samuel Magnusson
Hi everyone! I'm quite new to BSD and installed it on my old Pentium to try to learn the unixverse from bottom up. My first aim is not just getting the system running for surfing the web or something, not even to be productive, but to understand why and how it runs.(Or else, why it runs n