Bug#466064: xserver-xorg-core: -novtswitch doesn't appear to work

2011-01-29 Thread Cyril Brulebois
tag 466064 upstream
found 466064 2:1.7.7-11
found 466064 2:1.9.3.901-1
thanks

Hi Thomas,

Thomas Themel the...@iwoars.net (16/02/2008):
 Subject basically says it all... I can't discern a difference
 between starting sudo X -novtswitch :1 and just sudo X :1 - the
 newly started server's vt is always activated, whether starting it
 from console or from an xterm within another server. My
 understanding is that -novtswitch should prevent that.

the semantics are a bit obscure (at least to me), when it comes to VT
handling. It would be nice to have some documentation clarifying the
behaviour one should expect with those options (that is, with:
-keeptty/-novtswitch/-sharevts).

A possible workaround, assuming:
 - that your sudo time stamp is still valid,
 - that your X starts in 5 seconds max (might be insufficient on old
   machines),
 - that you're on vt1.

→  X $your_options  sleep 5 ; sudo chvt 1

Meaning start X in background, sleep 5 seconds, and move back to vt1.

KiBi.


signature.asc
Description: Digital signature


Bug#466064: xserver-xorg-core: -novtswitch doesn't appear to work

2008-02-16 Thread Thomas Themel
Package: xserver-xorg-core
Version: 2:1.4.1~git20080131-1
Severity: normal

Subject basically says it all... I can't discern a difference between
starting sudo X -novtswitch :1 and just sudo X :1 - the newly
started server's vt is always activated, whether starting it from
console or from an xterm within another server. My understanding is that
-novtswitch should prevent that.

-- Package-specific info:
Contents of /var/lib/x11/X.roster:
xserver-xorg

/var/lib/x11/X.md5sum does not exist.

X server symlink status:
lrwxrwxrwx 1 root root 13 2006-09-14 21:39 /etc/X11/X - /usr/bin/Xorg
-rwxr-xr-x 1 root root 1673980 2008-02-01 05:06 /usr/bin/Xorg

Contents of /var/lib/x11/xorg.conf.roster:
xserver-xorg

VGA-compatible devices on PCI bus:
01:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 
6600/GeForce 6600 GT] (rev a2)

/etc/X11/xorg.conf does not match checksum in /var/lib/x11/xorg.conf.md5sum.

Xorg X server configuration file status:
-rw-r--r-- 1 root root 4258 2007-10-24 12:51 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  ([EMAIL PROTECTED])  Mon Feb 26 23:38:46 PST 
2007

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type man /etc/X11/xorg.conf at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section ServerLayout
Identifier Default Layout
Screen Default Screen 0 0
InputDeviceGeneric Keyboard
InputDeviceConfigured Mouse
Option Xinerama off
EndSection

Section Files

# path to defoma fonts
FontPath/usr/share/fonts/X11/misc
FontPath/usr/X11R6/lib/X11/fonts/misc
FontPath/usr/share/fonts/X11/cyrillic
FontPath/usr/X11R6/lib/X11/fonts/cyrillic
FontPath/usr/share/fonts/X11/100dpi/:unscaled
FontPath/usr/X11R6/lib/X11/fonts/100dpi/:unscaled
FontPath/usr/share/fonts/X11/75dpi/:unscaled
FontPath/usr/X11R6/lib/X11/fonts/75dpi/:unscaled
FontPath/usr/share/fonts/X11/Type1
FontPath/usr/X11R6/lib/X11/fonts/Type1
FontPath/usr/share/fonts/X11/100dpi
FontPath/usr/X11R6/lib/X11/fonts/100dpi
FontPath/usr/share/fonts/X11/75dpi
FontPath/usr/X11R6/lib/X11/fonts/75dpi
FontPath/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
EndSection

Section Module
Load   i2c
Load   bitmap
Load   ddc
Load   extmod
Load   freetype
Load   glx
Load   int10
Load   type1
Load   vbe
EndSection

Section InputDevice
Identifier Generic Keyboard
Driver kbd
Option CoreKeyboard
Option XkbRules xorg
Option XkbModel pc104
Option XkbLayout us
EndSection

Section InputDevice
Identifier Configured Mouse
Driver mouse
Option CorePointer
Option Device /dev/input/mice
Option Protocol ExplorerPS/2
Option Emulate3Buttons true
EndSection

Section Monitor

# 1280x1024 @ 60Hz (VESA) hsync: 64.0kHz
Identifier Generic Monitor
ModeLine   1280x1024-60 108.0 1280 1328 1440 1688 1024 1025 1028 1066 
+hsync +vsync
Option DPMS
EndSection

Section Device
Identifier GeForce 6600 GT
Driver nvidia
EndSection

Section Screen
Identifier Default Screen
Device GeForce 6600 GT
MonitorGeneric Monitor
DefaultDepth24
Option TwinView true
Option TwinViewOrientation CRT-0 Below DFP-0
Option SecondMonitorHorizSync 31-81
Option SecondMonitorVertRefresh 60-60
#Option Rotate CW
Option NvAGP 1
Option RandRRotation 1
SubSection Display
Depth   1
Modes  1280x1024 1024x768 800x600 640x480
EndSubSection
SubSection Display
Depth   4
Modes  1280x1024 1024x768 800x600 640x480
EndSubSection
SubSection Display
Depth   8
Modes  1280x1024 1024x768 800x600 640x480
EndSubSection
SubSection Display
Depth   15
Modes  1280x1024 1024x768 800x600 640x480
EndSubSection
SubSection Display
Depth   16
Modes  1280x1024 1024x768 800x600 640x480
EndSubSection
SubSection