Manjaro XFCE Edition
   2462

Как запустить Urban terror в отдельной х-сессии?

установлена среда xfce.Игрушку хотелось бы запускать в менее прожорливой среде, в openbox с рабочей среды xfce.
На убунту для этого дела работает прога fsgamer.Возможно ли проделать такое в manjaro? Буду благодарен за реальный совет без отсылание в вики.Читал, как-то не получилось :).Сама игрушка запускается командой urbanterror.Заранее благодарю!

8 комментариев

avatar
startx /путь/к/запукскаемой/проге --:3
?
Отправка специалистом технической поддержки ссылки на руководство по эксплуатации и другую документацию, не является отказом в предоставлении поддержки.
bash.org
+1
avatar
спасибо, но как добавить выход с xfce и запуск игры в сессии openbox?
ну и при запуске выдает выхлоп:
startx /opt/urbanterror/urbanterror --:3

/usr/lib/xorg-server/Xorg.wrap: Only console users are allowed to run the X server
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Couldn't get a file descriptor referring to the console
как исправить?
Здесь нет команды sudo dpkg-reconfigure xserver-xorg или вручную в /etc/X11/Xwrapper.config меняем строчку allowed_users=console на allowed_users=anybody и все ок.
А как проделать это здесь? Нет файла /etc/X11/Xwrapper.config.
Последний раз редактировалось
0
avatar
спасибо, но как добавить выход с xfce и запуск игры в сессии openbox?
То есть вы хотите завершить сессию xfce и запустить сессию openbox? Или все же запустить UT в отдельных иксах? Для последнего openbox не требуется.
Нет файла /etc/X11/Xwrapper.config.
Так создайте его. Содержание нижеследующее.
allowed_users = anybody
needs_root_rights = yes

Последний раз редактировалось
+1
avatar
Спасибо, ясно
Хочу завершить сесию xfce и автоматически запустить игру в опенбох.
После завершения игры завершить сесию опенбох и автоматически вернутся в xfce.
Последний раз редактировалось
0
avatar
Создал /etc/X11/Xwrapper.config
с
allowed_users = anybody
needs_root_rights = yes
При запуске игры в отдельной хсессии, не говоря уже о зпуске в опенбоксе, выдает выхлоп:
startx /opt/urbanterror/urbanterror --:3

X.Org X Server 1.19.6
Release Date: 2017-12-20
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.14.12-1-ARCH x86_64
Current Operating System: Linux fjs 4.14.19-1-MANJARO 1 SMP PREEMPT Tue Feb 13 16:36:24 UTC 2018 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.14-x86_64 root=UUID=10a64de1-33b4-4354-b4fd-33835a12d97f rw quiet
Build Date: 26 January 2018 10:25:18AM
Current version of pixman: 0.34.0
Before reporting problems, check wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Sun Feb 18 21:58:25 2018
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
ioQ3 1.35 urt 4.3.2-hotfix linux-x86_64 Jan 6 2018
— FS_Startup — Current search path:
/home/lynx/.q3a/q3ut4
/home/lynx/.q3a/q3ut4/download
/opt/urbanterror/q3ut4/zUrT43_qvm.pk3 (4 files)
/opt/urbanterror/q3ut4/zUrT43_021.pk3 (85 files)
/opt/urbanterror/q3ut4/zUrT43_020.pk3 (148 files)
/opt/urbanterror/q3ut4/zUrT43_019.pk3 (342 files)
/opt/urbanterror/q3ut4/zUrT43_018.pk3 (801 files)
/opt/urbanterror/q3ut4/zUrT43_017.pk3 (734 files)
/opt/urbanterror/q3ut4/zUrT43_016.pk3 (487 files)
/opt/urbanterror/q3ut4/zUrT43_015.pk3 (60 files)
/opt/urbanterror/q3ut4/zUrT43_014.pk3 (510 files)
/opt/urbanterror/q3ut4/zUrT43_013.pk3 (353 files)
/opt/urbanterror/q3ut4/zUrT43_012.pk3 (271 files)
/opt/urbanterror/q3ut4/zUrT43_011.pk3 (478 files)
/opt/urbanterror/q3ut4/zUrT43_010.pk3 (1423 files)
/opt/urbanterror/q3ut4/zUrT43_009.pk3 (476 files)
/opt/urbanterror/q3ut4/zUrT43_008.pk3 (962 files)
/opt/urbanterror/q3ut4/zUrT43_007.pk3 (368 files)
/opt/urbanterror/q3ut4/zUrT43_006.pk3 (553 files)
/opt/urbanterror/q3ut4/zUrT43_005.pk3 (898 files)
/opt/urbanterror/q3ut4/zUrT43_004.pk3 (558 files)
/opt/urbanterror/q3ut4/zUrT43_003.pk3 (53 files)
/opt/urbanterror/q3ut4/zUrT43_002.pk3 (100 files)
/opt/urbanterror/q3ut4/zUrT43_001.pk3 (759 files)
/opt/urbanterror/q3ut4/ut4_jumpents.pk3 (8 files)
/opt/urbanterror/q3ut4
/opt/urbanterror/q3ut4/download

— 10431 files in pk3 files
execing default.cfg
«MINUS» isn't a valid key
«PLUS» isn't a valid key
execing q3config.cfg
execing autoexec.cfg
Hunk_Clear: reset the hunk ok
— Client Initialization — Couldn't read q3history.
— Initializing Renderer — -------------------------------
QKEY found.
— Client Initialization Complete — ----- R_Init — ...loading libGL.so.1:
Calling SDL_Init(SDL_INIT_VIDEO)…
SDL_Init(SDL_INIT_VIDEO) passed.
Initializing OpenGL display
...setting mode -1: 1920 1200
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 155 (NV-GLX)
Minor opcode of failed request: 4 ()
Resource id in failed request: 0x40000f
Serial number of failed request: 35
Current serial number in output stream: 35
xinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.

Couldn't get a file descriptor referring to the console

Посоветуйте что не так? Не работает.
Заранее благодарю!
Последний раз редактировалось
0
avatar
Решилось forums.fedoraforum.org/showthread.php?286558-Nvidia-driver-no-glx
В терминале
cd /usr/lib64/xorg/modules/extensions
mv libglx.so libglx.so-xorg
ln -s ../../../nvidia/xorg/libglx.so
Перепробовал практически на всех ядрах, пишу с последнего установленого
Выхлоп терминала:
startx /opt/urbanterror/urbanterror --:1

X.Org X Server 1.19.6
Release Date: 2017-12-20
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.14.12-1-ARCH x86_64
Current Operating System: Linux fjs 4.1.49-1-MANJARO #1 SMP PREEMPT Mon Feb 12 18:34:17 UTC 2018 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.1-x86_64 root=UUID=10a64de1-33b4-4354-b4fd-33835a12d97f rw quiet
Build Date: 26 January 2018 10:25:18AM
Current version of pixman: 0.34.0
Before reporting problems, check wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Mon Feb 19 08:29:20 2018
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
ioQ3 1.35 urt 4.3.2-hotfix linux-x86_64 Jan 6 2018
— FS_Startup — Current search path:
/home/lynx/.q3a/q3ut4
/home/lynx/.q3a/q3ut4/download
/opt/urbanterror/q3ut4/zUrT43_qvm.pk3 (4 files)
/opt/urbanterror/q3ut4/zUrT43_021.pk3 (85 files)
/opt/urbanterror/q3ut4/zUrT43_020.pk3 (148 files)
/opt/urbanterror/q3ut4/zUrT43_019.pk3 (342 files)
/opt/urbanterror/q3ut4/zUrT43_018.pk3 (801 files)
/opt/urbanterror/q3ut4/zUrT43_017.pk3 (734 files)
/opt/urbanterror/q3ut4/zUrT43_016.pk3 (487 files)
/opt/urbanterror/q3ut4/zUrT43_015.pk3 (60 files)
/opt/urbanterror/q3ut4/zUrT43_014.pk3 (510 files)
/opt/urbanterror/q3ut4/zUrT43_013.pk3 (353 files)
/opt/urbanterror/q3ut4/zUrT43_012.pk3 (271 files)
/opt/urbanterror/q3ut4/zUrT43_011.pk3 (478 files)
/opt/urbanterror/q3ut4/zUrT43_010.pk3 (1423 files)
/opt/urbanterror/q3ut4/zUrT43_009.pk3 (476 files)
/opt/urbanterror/q3ut4/zUrT43_008.pk3 (962 files)
/opt/urbanterror/q3ut4/zUrT43_007.pk3 (368 files)
/opt/urbanterror/q3ut4/zUrT43_006.pk3 (553 files)
/opt/urbanterror/q3ut4/zUrT43_005.pk3 (898 files)
/opt/urbanterror/q3ut4/zUrT43_004.pk3 (558 files)
/opt/urbanterror/q3ut4/zUrT43_003.pk3 (53 files)
/opt/urbanterror/q3ut4/zUrT43_002.pk3 (100 files)
/opt/urbanterror/q3ut4/zUrT43_001.pk3 (759 files)
/opt/urbanterror/q3ut4/ut4_jumpents.pk3 (8 files)
/opt/urbanterror/q3ut4
/opt/urbanterror/q3ut4/download

— 10431 files in pk3 files
execing default.cfg
«MINUS» isn't a valid key
«PLUS» isn't a valid key
execing q3config.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
— Client Initialization — Couldn't read q3history.
— Initializing Renderer — -------------------------------
QKEY found.
— Client Initialization Complete — ----- R_Init — ...loading libGL.so.1:
Calling SDL_Init(SDL_INIT_VIDEO)…
SDL_Init(SDL_INIT_VIDEO) passed.
Initializing OpenGL display
...setting mode -1: 1920 1200
Using 4/4/4 Color bits, 24 depth, 0 stencil display.
GL_RENDERER: GeForce 9400 GT/PCIe/SSE2
Initializing OpenGL extensions
...ignoring GL_S3_s3tc
...ignoring GL_EXT_texture_env_add
...using GL_ARB_multitexture
...using GL_EXT_compiled_vertex_array
...ignoring GL_EXT_texture_filter_anisotropic

GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce 9400 GT/PCIe/SSE2
GL_VERSION: 3.3.0 NVIDIA 340.106
GL_MAX_TEXTURE_SIZE: 8192
GL_MAX_ACTIVE_TEXTURES_ARB: 4

PIXELFORMAT: color(16-bits) Z(24-bit) stencil(0-bits)
MODE: -1, 1920 x 1200 fullscreen hz:N/A
GAMMA: hardware w/ 0 overbright bits
CPU:
rendering primitives: single glDrawElements
texturemode: GL_LINEAR_MIPMAP_NEAREST
picmip: 2
texture bits: 16
multitexture: enabled
compiled vertex arrays: enabled
texenv add: disabled
compressed textures: disabled
XF86VidModeSetGamma: 2.167, 2.167, 2.167.
Initializing Shaders
— finished R_Init — ------ Initializing Sound — Initializing SDL audio driver…
SDL audio driver is «pulse».
SDL_AudioSpec:
Format: AUDIO_S16LSB
Freq: 22050
Samples: 256
Channels: 2
Starting SDL audio callback…
SDL audio initialized.

dmaHD 3D software sound engine by p5yc0runn3r
dmaHD full 3D sound mixer [10]
2 ch / 22050 Hz / 16 bps
No sounds loaded yet.

Sound initialization successful.
— Sound memory manager started
Loading vm file vm/ui.qvm…
total 0, hsize 1021, zero 1021, min 0, max 0
total 9881, hsize 1021, zero 1, min 0, max 26
VM file ui compiled to 3290147 bytes of code (0x7fdecc383000 — 0x7fdecc6a6423)
compilation took 2.438543 seconds
ui loaded in 17191776 bytes on the hunk
— Common Initialization Complete — Opening IP socket: localhost:27960
Hostname: fjs
IP: 127.0.1.1
Started tty console (use +set ttycon 0 to disable)
XF86VidModeSetGamma: 2.167, 2.167, 2.167.
— Urban Terror Auth System — The key file «authkey» doesn't exist.
— — CL_Shutdown — Closing SDL audio device…
(II) Server terminated successfully (0). Closing log file.
xinit: connection to X server lost
Received signal 1, exiting…
— CL_Shutdown — recursive shutdown
Shutdown tty console
Couldn't get a file descriptor referring to the console

С игры выйти не возможно, помогает только ctrl+alt+del
Как добить это?
Последний раз редактировалось
0
avatar
Вроде бы все встало на свои места-ни с того ни с чего выход с игры нормальным стал.
Теперь прошу помощи проделать тоже самое но с запуском игры в среде openbox.Может что посоветуете?
Нашел вот такое wiki.archlinux.org/index.php/Gaming
Но как переделать под свое никак не пойму, в скриптах ни бум-бум.
Последний раз редактировалось
0
Только зарегистрированные и авторизованные пользователи могут оставлять комментарии.