Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Starting a new X display for a game...

  1. #1
    Join Date
    Mar 2006
    Beans
    222

    Starting a new X display for a game...

    Hello all. I was wondering if anyone new how to launch a game with a new display so that while in game you could switch back to your other display. I remember reading something about it a while back but now I can't seem to locate the source.

    Just want a separate display running Wolf:ET while I play.

    Thanks.

  2. #2
    Join Date
    Aug 2006
    Location
    USA, MI
    Beans
    232
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Starting a new X display for a game...

    https://help.ubuntu.com/community/WorldofWarcraft

    The script there can be adapted for that purpose.

  3. #3
    Join Date
    Mar 2006
    Beans
    222

    Re: Starting a new X display for a game...

    Many thanks.

  4. #4
    Join Date
    Mar 2006
    Beans
    222

    Re: Starting a new X display for a game...

    When attempting to start a new x session for games I receive the following errors:

    Code:
    xauth:  error in locking authority file /home/oblivion/.Xauthority
    xauth:  error in locking authority file /home/oblivion/.Xauthority
    xauth:  error in locking authority file /home/oblivion/.Xauthority
    xauth:  error in locking authority file /home/oblivion/.Xauthority
    X: user not authorized to run the X server, aborting.
    xinit:  Server error.
    xauth:  error in locking authority file /home/oblivion/.Xauthority
    Couldnt get a file descriptor referring to the console
    Could anyone shed some light on this?

  5. #5
    Join Date
    Aug 2006
    Location
    tuesday
    Beans
    6,502
    Distro
    Kubuntu Development Release

    Re: Starting a new X display for a game...

    Use sudo. gksudo. or kdesu to launch the new X session?

  6. #6
    Join Date
    Mar 2006
    Beans
    222

    Re: Starting a new X display for a game...

    This one's a real bugger.

    Not that I'm opposed to starting a new session with root, but you should be able to do it as a normal user. Take vncserver for example, run it as a user, and a new display is created on :1.

    Meh.

  7. #7
    Join Date
    Aug 2006
    Location
    tuesday
    Beans
    6,502
    Distro
    Kubuntu Development Release

    Re: Starting a new X display for a game...

    I can't remember where, but somewhere there is a setting to allow X to be started by a normal user. >.<

    I just never worried enough to find out.

  8. #8
    Join Date
    Mar 2006
    Beans
    222

    Re: Starting a new X display for a game...

    Well, if you change the line
    Code:
    allowed_users=console
    in the /etc/X11/Xwrapper.config file to
    Code:
    allowed_users=anybody
    you can launch another X session.

    Only problem I'm having now is once the second X session is launched, when I switch back to display :0 via Alt+Ctrl+F7 my session is foobarred. Just a black screen with a moving cursor. Then if I try and go back to screen :1 after that via Alt+Ctrl+F8 that too is a black screen with a moving cursor. Have to restart gdm to fix it.

  9. #9
    Join Date
    Aug 2006
    Location
    tuesday
    Beans
    6,502
    Distro
    Kubuntu Development Release

    Re: Starting a new X display for a game...

    Hmm... i've never had that problem. Maybe try disablling your screensaver?

    Atleast it will rule that out as a possibility, unless it is right after launching, then I'm not really sure what it could be.

    -

    btw are using the "DISPLAY=:3"? because for me that's ctrl+alt+f9 O.o
    Last edited by hikaricore; March 27th, 2007 at 08:25 AM.

  10. #10
    Join Date
    Mar 2006
    Beans
    222

    Re: Starting a new X display for a game...

    No, I'm using :1. And the screen going black is happening right after I lanuch the new session and attempt to switch back.

    Wonder if my vid card could somehow be behind it. Hope not.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •