Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 43

Thread: How-to run Multiple (Virtual) X sessions

  1. #21
    Join Date
    Jun 2007
    Location
    UK
    Beans
    1,386
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: How-to run Multiple (Virtual) X sessions

    fbsetbg is no longer in the repos... what do I do?
    fbsetbg is in the fluxbox package.

  2. #22
    Join Date
    Apr 2008
    Beans
    9

    Cool Re: How-to run Multiple (Virtual) X sessions

    doh
    ty

  3. #23
    Join Date
    Apr 2008
    Beans
    9

    Exclamation Re: How-to run Multiple (Virtual) X sessions

    I get the following error when trying to start now:
    -e \E[32mbodhi.zazen
    what's wrong?

  4. #24
    Join Date
    Apr 2008
    Beans
    9

    Lightbulb Re: How-to run Multiple (Virtual) X sessions

    nvmnd... problem fixed. thank you for the excellent script

    GS

  5. #25
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: How-to run Multiple (Virtual) X sessions

    Quote Originally Posted by mon^rch View Post
    nvmnd... problem fixed. thank you for the excellent script

    GS
    You are most welcome, glad you enjoyed it. I am sure you can adapt it for a variety of needs ...

    ssh -X comes to mind.
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  6. #26
    Join Date
    Apr 2008
    Beans
    9

    Lightbulb Re: How-to run Multiple (Virtual) X sessions

    no doubt, eh?!?!?!?! you rock brother!

    Greg Starr

  7. #27
    Join Date
    Apr 2008
    Beans
    9

    Question Re: How-to run Multiple (Virtual) X sessions

    hey, is it possible to edit the script to add like (if I wanted) 15 different X sessions? ie: KDE4, blackbox etc...

    and if so, how?

  8. #28
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: How-to run Multiple (Virtual) X sessions

    Quote Originally Posted by mon^rch View Post
    hey, is it possible to edit the script to add like (if I wanted) 15 different X sessions? ie: KDE4, blackbox etc...

    and if so, how?
    15

    well, first you are limited to 6 by the default settings.

    Other then that go for it

    X sessions are numbered starting with 0

    startx -- :0

    then comes 1 , 2 , 3 ... up to 14

    so

    startx /path/window_mananger_1 -- :0
    startx /path/window_manager_2 -- :1
    ...
    startx /path/window_manager_15 -- :14

    Now you can number your x sessions any way you wish (yo do not need to start with 0 and go to 14), up to 99
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  9. #29
    Join Date
    Apr 2008
    Beans
    9

    Thumbs up Re: How-to run Multiple (Virtual) X sessions

    thanks, much appreciated

  10. #30
    Join Date
    Mar 2008
    Beans
    4,714
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: How-to run Multiple (Virtual) X sessions

    bodhi.zazen, thanks for the VirtualX script!
    I'm running into a problem, however.

    When I run it from the gnome session (and select gnome), the screen goes black for a moment, and then I'm popped back to the gnome session.

    When I run it from tty1 (and select gnome), I get the grey mosaic pattern and the X cursor. No usual gnome session. None of the mouse buttons do anything. I pressed Ctrl-Alt-Backspace, and was sent back to tty1.

    Okay, confession #1: I use fvwm as my window manager instead of metacity.

    Confession #2: I don't have xscreensaver or numlockx installed, so I commented out those lines.

    Here is the slight change I made to the script:
    Code:
    % diff ~/bin/virtualX-orig /usr/local/bin/virtualX
    64,65c64,65
    < 		DISPLAY=:2.0 /usr/bin/xscreensaver &
    < 		DISPLAY=:2.0 /usr/bin/numlockx on &
    ---
    > #		DISPLAY=:2.0 /usr/bin/xscreensaver &
    > #		DISPLAY=:2.0 /usr/bin/numlockx on &
    73c73
    < 		/usr/bin/startx /usr/bin/gnome-session -- :2 2> /dev/null &
    ---
    > 		/usr/bin/startx /usr/bin/gnome-session -- :2 2> $HOME/.virtualX-errors &
    And here is what I found in .virtualX-errors:
    Code:
    xauth:  creating new authority file /home/shark/.serverauth.8154
    xauth:  error in locking authority file /home/shark/.Xauthority
    xauth:  error in locking authority file /home/shark/.Xauthority
    xauth:  error in locking authority file /home/shark/.Xauthority
    xauth:  error in locking authority file /home/shark/.Xauthority
    
    X Window System Version 1.3.0
    Release Date: 19 April 2007
    X Protocol Version 11, Revision 0, Release 1.3
    Build Operating System: Linux Ubuntu (xorg-server 2:1.3.0.0.dfsg-12ubuntu8.3)
    Current Operating System: Linux tack 2.6.22-14-generic #1 SMP Tue Feb 12 UTC 2008 i686
    Build Date: 18 January 2008
    	Before reporting problems, check http://wiki.x.org
    	to make sure that you have the latest version.
    Module Loader present
    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.2.log", Time: Fri Aug 22 2008
    (==) Using config file: "/etc/X11/xorg.conf"
    
    (II) Module already built-in
    AUDIT: Fri Aug 22 2008: 8172 X: client 1 rejected from local host (uid 1000)
    Xlib: connection to ":2.0" refused by server
    
    Xlib: No protocol specified
    
    
    
    
    ...
    The same error repeated every two seconds
    ...
    
    
    ..
    AUDIT: Fri Aug 22 2008: 8172 X: client 1 rejected from local host (uid 1000)
    Xlib: connection to ":2.0" refused by server
    
    Xlib: No protocol specified
    
    
    .FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, should be 1; fixing.
    
    giving up.
    
    xinit:  unable to connect to X server
    
    xinit:  No such process (errno 3):  unexpected signal 15.
    xauth:  error in locking authority file /home/shark/.Xauthority
    I have installed dialog, and have edited /etc/X11/Xwrapper.config per your instructions.
    Any idea where I'm going wrong?
    Last edited by unutbu; August 23rd, 2008 at 03:03 AM.

Page 3 of 5 FirstFirst 12345 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
  •