Skip to content

Trying to start a second X session on vt8, keeps failing

I've tried all sorts of different methods found via google:

  • One on linuxquestions.org
  • A couple on Stack Exchange and Super User 1 2
  • Various distro forums (Arch 1 2 Ubuntu 1 2)
  • And several wikis (Arch 1 2 and Xorg 1)
  • And referenced man page: Xfree86

I have created a simple script containing the following to launch a virtualbox container on a separate tty:
virtualbox --startvm Arch-tect --fullscreen

I've seen 3 different results, however this is the latest:

I use xinit ./start.sh -- :1 -nolisten tcp vt8 and it produces this:
http://pastebin.com/8JTPYUm4
complete with error log: http://pastebin.com/Q7sPG6v8

One of the other methods (I can't remember exactly but I think it was startx virtualbox -- :1 vt8) started the second session with virtualbox, but on the current tty instead of tty8.

Another attempt today produced a non-error. I don't recall the command used, but when ran it was it running successfully, then it flipped over to a blank black screen for a few hundred milliseconds, then back to the tty I was on, and showed it completed successfully. The xorg log from that attempt can be seen here: http://pastebin.com/ZqCj1uEH

Can anyone point me in the right direction here? I've been hung up on this all day. Thanks

6 points1 comments
Open on Reddit
About this post
Posted
Archived
Score
6 · 100% up
Kind
Text
ID
4b50ns

Author

37
posts
169
comments
7
media
View profile

1 comment

for me i needed to execute in on the vt i am on, e.g. on tty2

startx /bin/firefox -- :1 vt2

and also with full path.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.