Simultaneous X Sessions...
Patrick BURNAND <[email protected]>
| Newsgroups | gmane.os.openbsd.x11 |
|---|---|
| Message-ID | <[email protected]> |
Hello everybody, After experiencing some stability problems on Linux (especially with the new 2.6 kernels), I'm considering using OpenBSD instead for the quality of the code. I'm thus doing some tests on my Linux machine using VMware. I've created a 1 GB virtual disk and installed some stuff from FTP. There seems to be a small issue I would like to ask about. My computer is currently used by 2 persons, thanks to the real mulituser architecture of Unix. When I boot my Linux box, I fire 2 X-Window sessions. One for me (using fvwm2) and one for my girl (using KDE). Basically, I log myself then: startx -- :1.0 & logout Then my girl can log (or I log myself as root to log on behalf on her) then she/I can simply issue: startx & logout We simply have 2 different X sessions. We can lock the screen with a passworded screen-blanker and switch between sessions using <ctrl>-<alt>-<F<5|6>>. Since the computer then runs for months, everyone can have it's applications open without disturbing each other. I tried to do the same using OpenBSD on VMware. Unfortunately, I can only open 1 X-Window session using OpenBSD. Any second attempt makes the X server crash. After looking at the logs here is what I get: (only relevant extracts taken) ----------------------------------------------------------- (WW) checkDevMem: failed to open /dev/xf86 and /dev/mem (Operation not permitted) Check that you have set 'machdep.allowaperture=1' in /etc/sysctl.conf and reboot your machine refer to xf86(4) for details linear framebuffer access unavailable (--) Using wscons driver in pcvt compatibility mode (version 3.32) (WW) xf86AcquireGART: AGPIOC_ACQUIRE failed (Device busy) (WW) GARTInit: AGPIOC_INFO failed (Device not configured) ... Lots of PCI addressing stuff and modeline tests ... (II) VMWARE(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000 Fatal server error: xf86MapVidMem: Could not mmap /dev/vga (Invalid argument) When reporting a problem related to a server crash, please send the full server output, not just the last messages. This can be found in the log file "/var/log/XFree86.1.log". Please report problems to [email protected]. ----------------------------------------------------------- machdep.allowaperture has been tested with values '1' and '2' with reboots in between. I suspect there could be an issue with the configuration of ttys... Has someone a clue about this ? -- Patrick BURNAND <[email protected]>