Reply To: Multi-users on multi TTY behavior ?

Forum › Forums › New users › New Users and General Questions › Multi-users on multi TTY behavior ? › Reply To: Multi-users on multi TTY behavior ?

#21054
Dave
Forum Admin

    I have not done so in a while so my memory is fuzzy. At the least this may give some ideas for poking around.
    From my memory having multiple x sessions in different vt (7(default)+8+9) could be done in a couple of different ways.

    One way was to have several sessions opened as different users during init. I think this was done with getty and inittab… and having a session started as a specified user then immediately running startx. (which would at them moment be startx /usr/local/bin/desktop-session)

    Another way was to have a script that made one call per X session, but passed different vt options to the X server. IIRC the commands went something like (with addition of desktop-session)
    startx /usr/local/bin/desktop-session rox-icewm :1 -vt7
    startx /usr/local/bin/desktop-session space-fluxbox :2 -vt8
    startx /usr/local/bin/desktop-session jwm :3 -vt9
    This script was run manually after logging into a text session. It also used the same user account which I seem to remember some programs having a fit about multiple instances running.

    There is also something in my memory about mucking with /etc/init.d/slim, and adding a second start / stop line. In between the second and first line was a mv/cp (or was it rm / ln ?)command to move the /etc/slim.conf around between multiple versions. Each version of the slim.conf had a different xserver_arguments line specifying a different vt. I cannot recall if this ever worked or not but the idea was to have slim started on 3 different spaces (Control + Alt + 7/8/9).

    This was quite a while ago before I added multiple graphics cards and running with an actual multiseat sytem.
    http://antixlinux.com/forum-archive/making-a-multiuser-multiseat-antix-t2729.html

    Oh wow; posted in 2010! Has it really been that long?!? No wonder my memory is a little fuzzy about this LOL

    Edit:
    I seem to recall user BitJam also runs X in multiple vt sessions for testing. Perhaps he will chime in about it.

    • This reply was modified 7 years, 4 months ago by Dave.

    Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown