[Partly solved] Second X session

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

[Partly solved] Second X session

Postby xxblx » Jul 18th, '15, 19:33

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.
Last edited by xxblx on Aug 22nd, '15, 23:25, edited 1 time in total.
Mageia x86_64, E17, PekWM
Oleg (xxblx) | Mageia Russian Community
User avatar
xxblx
 
Posts: 70
Joined: May 23rd, '12, 21:32
Location: Russia, Vologda

Re: Second X session

Postby xxblx » Aug 22nd, '15, 23:24

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.
Mageia x86_64, E17, PekWM
Oleg (xxblx) | Mageia Russian Community
User avatar
xxblx
 
Posts: 70
Joined: May 23rd, '12, 21:32
Location: Russia, Vologda

Re: [Partly solved] Second X session

Postby zeebra » Jan 10th, '18, 19:10

hmm, it would interest me too if someone solved this
zeebra
 
Posts: 125
Joined: Sep 7th, '13, 21:20

Re: [Solved] Second X session

Postby hduff » Jul 2nd, '19, 22:40

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.
hduff
 
Posts: 13
Joined: May 30th, '13, 21:10


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest