Как я могу начать другой сеанс X на tty8?

Например, я хочу запустить полноэкранное приложение opengl на tty8 и иметь свой стандартный рабочий стол GNOME на tty7. Как я могу настроить Ubuntu для удовлетворения моих требований?

14
задан 9 January 2017 в 18:20

2 ответа

Чтобы начать новый сеанс X на tty8, перейдите на tty1 (или 2-6) и введите

startx -- :1
0
ответ дан 9 January 2017 в 18:20

Вы можете попробовать это

Итак, в файле: /etc/X11/gdm/gdm.conf

, пожалуйста, отметьте, что вам понравится в обоих: 0 и: 1 это следует указать следующим образом:

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

Извлечено из http://ubuntuforums.org/showthread.php?t=86451 . Это с 2005 года, но оно должно работать.

0
ответ дан 9 January 2017 в 18:20

Другие вопросы по тегам:

Похожие вопросы: