Page 1 of 1

[Partly solved] Second X session

PostPosted: Jul 18th, '15, 19:33
by xxblx
Hello.
With Mageia 4 I was able to start new X for gaming on :1 with
Code: Select all
xinit `which pekwm` -- :1

and from pekwm's menu I started games, soft, etc. That was very comfortable. Games works on :1, desktop shell, browser, IM, etc, works on :0. Switching with Ctrl + Alt + F1/2 :)

But in Mageia 5 I cannot to do same action.
xinit output
Spoiler:
Code: Select all
[xxblx@localhost ~]$ xinit `which pekwm` -- :1                                 
X.Org X Server 1.16.4
Release Date: 2014-12-20
X Protocol Version 11, Revision 0
Build Operating System: Linux_3.14.27-server-1.mga4 Mageia
Current Operating System: Linux localhost.localdomain 3.19.8-desktop-3.mga5 #1 SMP Sat Jun 13 17:05:48 UTC 2015 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-desktop root=UUID=578d794b-d973-4190-87da-90e5b6a91430 ro nokmsboot splash quiet resume=UUID=1c524a68-9237-44b5-bdf3-5b80173f0bd2
Build Date: 21 February 2015  05:46:52PM
 
Current version of pixman: 0.32.6
        Before reporting problems, check http://bugs.mageia.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: Sat Jul 18 20:23:34 2015
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
         at http://bugs.mageia.org
 for help.
(EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.


/etc/X11/xorg.conf (generated with nvidia-settings)
http://pastebin.com/1JTZGAYR

/var/log/Xorg.1.log
http://pastebin.com/aaes7ksC

glxinfo
http://pastebin.com/m4NSYP2A

Mageia 5, x86_64
Code: Select all
[xxblx@localhost ~]$ uname -a
Linux localhost.localdomain 3.19.8-desktop-3.mga5 #1 SMP Sat Jun 13 17:05:48 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux


Video: nVidia GT 240 with nvidia blob
Code: Select all
[xxblx@localhost ~]$ glxinfo | grep -i 'opengl version'
OpenGL version string: 3.3.0 NVIDIA 340.76

and two monitors (1st [16:9 - 1920x1080] connected via DVI, 2nd [4:3 - 1280x1024] connected via VGA)

x11-server
Code: Select all
[xxblx@localhost ~]$ rpm -qa | grep xorg
x11-server-xorg-1.16.4-2.mga5
xorg-x11-75dpi-fonts-7.7-6.mga5


May be someone have any ideas about it.
Thanks.

Re: Second X session

PostPosted: Aug 22nd, '15, 23:24
by xxblx
I have not found a solution like "one-click start via script how that was in Mageia 4".
But here is manual way:
Ctrl + Alt + Fn
Code: Select all
startx -- :n

where 'n' is tty's num

For example
Ctrl + Alt + F2
Code: Select all
startx -- :2


If I try to do
Code: Select all
xinit

on new tty, system just freezes :)

Problem still exists, but it's also possible to work with startx.
Partly solved.

Re: [Partly solved] Second X session

PostPosted: Jan 10th, '18, 19:10
by zeebra
hmm, it would interest me too if someone solved this

Re: [Solved] Second X session

PostPosted: Jul 2nd, '19, 22:40
by hduff
Try this:

Install xsudo.
Code: Select all
$ sudo urpmi xsudo


Code: Select all
$ xsudo xinit `which pekwm` -- :1


I used icewm, but that worked for me.