Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Let's say, for an example, I want to run a full-screen opengl application on tty8 and have my standard GNOME desktop on tty7. How can I configure Ubuntu to meet my requirements?

share|improve this question
add comment

2 Answers 2

up vote 5 down vote accepted

To start a new X session on tty8, drop to tty1 (or 2-6) and type

startx -- :1
share|improve this answer
    
This works but sound and keyboard is still connected to the old one. When I switch to the other terminal, I am not able to use keyboard and sound doesn't appear. But mouse works though –  balki Apr 2 '13 at 18:17
add comment

You can try this

So, in the file : /etc/X11/gdm/gdm.conf

please mention that u'll like it in both :0 and :1 That should be indicated as follows :

   ...
   [servers]
   # These are the standard servers. You can add as many you want here
   # and they will always be started. Each line must start with a unique
   # number and that will be the display number of that server. Usually just
   # the 0 server is used.
   0=Standard
   1=Standard
   # Note the VTAllocation and FirstVT keys on linux and freebsd.
   # Don't add any vt<number> arguments if VTAllocation is on, and set FirstVT to
   # be the first vt available that your gettys don't grab (gettys are usually
   # dumb and grab even a vt that has already been taken). Using 7 will work
   # pretty much for all linux distributions. VTAllocation is not currently
   # implemented on anything but linux and freebsd. Feel free to send patches.
   # X servers will just not get any extra arguments then.
   #
   ...

Extracted from http://ubuntuforums.org/showthread.php?t=86451. This is from 2005 but it should work.

share|improve this answer
    
This config file: /etc/X11/gdm/gdm.conf is not in the location stated in the answer. –  bambuntu Mar 6 '12 at 9:50
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.