You are not logged in.
I'm trying to run a second x server following this wiki suggestion:
https://wiki.archlinux.org/index.php/ga … e_X_server
which worked before, but now after I did a fresh installation doesn't work any more.
I first get error about "cannot start x server connection refuse". Then I found in wiki a solution for nvidia proprietary driver here:
https://wiki.archlinux.org/index.php/xo … _Xorg_1.16
and now I get this error:
X server already running on display 1
xfce4-manager: another session manager already running
xinit: connection to X server lost
Last edited by zaxdan69 (2016-10-23 06:56:31)
Offline
And your Xorg config look like ... what?
Offline
I don't have anything else in /etc/X11 except the 20-nvidia file I created.
Offline
Offline
I think that this is for multiple monitors setup.
Offline
So, you simply want to run an X server on VT2 and one on VT3?
The error message says you're running a Server on display :1, so you're rather looking for a third one on :2, but I suggest to check the running processes for running X11 servers and record here *exactly* what you're doing (not "trying to follow a wiki")
And also print every error message you get completely (not "something about") - you can start an X11 server from within another one, so "cannot copy and paste" is no excuse ;-P
Offline
Yes,
As I said that worked (with display 1) before the fresh arch installation. I did tried with other displays but I also get error(both now and in previous arch installation in which all worked fine for display 1 but not for other displays, which I think are for different monitors). I didn't say "I'm trying to follow wiki" but "I'm trying to run a second x server following this wiki". I did post the exactly error message I get now. I didn't post the previous message exactly because was fixed after I created the 20-nvidia file. And it' s not a simple copy and paste because the erros are in a virtual console mode not in X and I don't think is possible to copy/paste text there.
Offline
Move the nvidia conf out of the way (or delete it if you can easily recreate it)
From within your running X11 session, try
dmesg | grep NVRM
ps ax | grep X
And post the output.
Ensure that there's only an X server on :0 left from "ps ax | grep X" and you should be able to move to VT1, run
X :1 > XonDisplay1.log 2>&1
and post the contents of XonDisplay1.log.
As explicitly mentioned, it's also possible to launch an X11 server from within another X11 server - what would allow easy copy and paste, but I think I better do not try getting you there.
Offline
dmesg output:
[ 4.637603] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 370.28 Thu Sep 1 19:45:04 PDT 2016
[ 6.299658] NVRM: Your system is not currently configured to drive a VGA console
[ 6.299659] NVRM: on the primary VGA device. The NVIDIA Linux graphics driver
[ 6.299660] NVRM: requires the use of a text-mode VGA console. Use of other console
[ 6.299661] NVRM: drivers including, but not limited to, vesafb, may result in
[ 6.299662] NVRM: corruption and stability problems, and is not supported.
ps output:
527 tty7 Rs+ 17:28 /usr/lib/xorg-server/Xorg :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
557 ? Ss 0:00 /bin/sh /etc/xdg/xfce4/xinitrc -- /etc/X11/xinit/xserverrc
682 ? S 0:00 /usr/lib/xfce4/panel/wrapper-1.0 /usr/lib/xfce4/panel/plugins/libdockbarx.so 8 10485790 dockbarx DockbarX Dock-style taskbar with grouping and group manipulation.
7150 pts/0 S+ 0:00 grep X
I couldn't create the file XonDisplay1.log(I get no such file or directory error entering the command), but I ran " X :1" which started fine and it didn't output any error. So maybe the problem is when running xinit. I' m using the same user dircetory from previous arch installation though, so all configuration files are the same.
Offline
contents of ~/.xinitrc and ~/.xserverrc ?
Offline
.xinit rc:
exec startxfce4
I don't have .xserverrc file.
Offline
Assuming you're doing this for the reasons shown in the wiki you linked: bad idea.
Are you using "some" DM, XDM or startx to login?
In any case, move ~/.xinitrc out of the way before calling xinit to launch the game (and back right afterwards)
About the NVRM warning, see https://wiki.archlinux.org/index.php/GR … ramebuffer
It's not causing this problem, but maybe other - notably if you want to run xfce on one server and EPICMEGASHOOTER on the other.
In case you really want to start a second xfce session for the same user, I assume that's not supported, but would start by opening a naked X server, launch an xterm there and run "startxfce4" from there. Then see which step causes the various errors and which in particular.
Offline
I changed the .xinitrc contents following wiki instructions for xinit and I've managed to run a game with this.
I also tried using wine but I had problems until I tried this way:
xinit /usr/bin/env WINEPREFIX="/home/serrano/.wine" /usr/bin/wine "/home/serrano/.wine/drive_c/Program Files/Activision/Call of Duty 4 - Modern Warfare/iw3sp.exe" -- :1
I tried without setting wineprefix by just writing the full path but didn't work(worked fine in previous installation though).
So, seems that my problem is solved.
Offline