so i’ve upgraged to 11.2 and wanted to play good ol’ Tiberium Sun. since it’s only capable of low resolutions i’ve always used the script below to start a separate X-Server and run it through schedtool and ck-launch-session. however with 11.2 i’ve got 2 problems which weren’t there before:
no sound on the new X. the sound is only outputted on the main X (when i switch back)
can’t switch back to the new X with strg+alt+F8 (or any other combination). where did it go?
ideas anyone?
running openSuse 11.2
with kernel 3.7.1-1-desktop from factory
with NVIDIA drivers
on XFCE (with Gnome3 it’s the same)
#!/bin/sh
# run $1 in new x with wine
# if $2 given $1 is prefix
# run on one [specific] processor core
# /usr/sbin/schedtool -a 0x2
# https://wiki.archlinux.org/index.php/ConsoleKit#ck-launch-session
# initiate X session with ConsoleKit
# This starts $1 with proper environment variables so it and
# its children are able to use ConsoleKit.
# /usr/bin/ck-launch-session $1
if -n "$2" ]; then
WINEPREFIX=$1 xinit /usr/sbin/schedtool -a 0x2 -e /usr/bin/ck-launch-session /usr/bin/wine "$1$2" -- :1
else
xinit /usr/sbin/schedtool -a 0x2 -e /usr/bin/ck-launch-session /usr/bin/wine "$1" -- :1
fi
I hope you mean 12.2 (or you have acess to a Tardis perhaps :))
and wanted to play good ol’ Tiberium Sun. since it’s only capable of low resolutions i’ve always used the script below to start a separate X-Server and run it through schedtool and ck-launch-session. however with 11.2 i’ve got 2 problems which weren’t there before:
no sound on the new X. the sound is only outputted on the main X (when i switch back)
Running PulseAudio in system-wide mode has some limitations:
All users with access to the sound server cann kill/modify all sinks/sources and streams of all other connected clients
There is only a single namespace for cached sound samples, i.e. there can be only a single Gnome event sound profile active at the same time
It has some disadvantages:
Worse security, because the user can now command a server app running under another user name. He could even load/unload modules from that sound server
Settings like the stored volume levels managed by module-volume-restore are no longer per-user but system-wide