Como posso iniciar uma sessão X diferente no tty8?


14

Digamos, por exemplo, que eu queira executar um aplicativo opengl de tela cheia no tty8 e ter meu desktop GNOME padrão no tty7. Como posso configurar o Ubuntu para atender aos meus requisitos?

Respostas:


7

Para iniciar uma nova sessão X no tty8, vá para tty1 (ou 2-6) e digite

startx -- :1

Isso funciona, mas o som e o teclado ainda estão conectados ao antigo. Quando mudo para o outro terminal, não consigo usar o teclado e o som não aparece. Mas mouse funciona embora
balki

0

Você pode tentar isso

Portanto, no arquivo: /etc/X11/gdm/gdm.conf

mencione que você gostará de ambos: 0 e: 1 Isso deve ser indicado da seguinte forma:

   ...
   [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.
   #
   ...

Extraído de http://ubuntuforums.org/showthread.php?t=86451 . Isso é de 2005, mas deve funcionar.


Este arquivo de configuração: /etc/X11/gdm/gdm.conf não está no local indicado na resposta.
bambuntu
Ao utilizar nosso site, você reconhece que leu e compreendeu nossa Política de Cookies e nossa Política de Privacidade.
Licensed under cc by-sa 3.0 with attribution required.