Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: przemasRat on April 08, 2014, 07:29:25 AM

Title: Open second Virtual terminal
Post by: przemasRat on April 08, 2014, 07:29:25 AM
Hi!

I have configured Xorg 7.7 for one VT. What can I run/modify when I want to run/open second virtual desktop (Xorg).
First virtual desktop/terminal(Xorg) I have on CTRL+ATL+F7 screen. What do I do, when I want second terminal on CTRL+ALT+F8 ?
Title: Re: Open second Virtual terminal
Post by: Rich on April 08, 2014, 07:45:30 AM
Hi przemasRat
If you right click on the desktop, don't you get a pop up menu that contains the option  NewDesktop ?
Title: Re: Open second Virtual terminal
Post by: przemasRat on April 08, 2014, 07:54:16 AM
Yes, if I right clik on the desktop i get pop-up menu that contans "New Desktop", but if I create "New Desktop" that way, the new desktop is not a virtual desktop, which i want (new desktop is not under CTLR+ALT+Fx). I want new terminal... :-(.
Title: Re: Open second Virtual terminal
Post by: przemasRat on April 08, 2014, 07:59:41 AM
I run the another Xorg by issuing:

Code: [Select]
Xorg :2

but I only get black screen :-(.
Title: Re: Open second Virtual terminal
Post by: gerald_clark on April 08, 2014, 08:29:43 AM
Copy .xsession to .xsession1
At the top:
export DISPLAY=":1.0"
export DESKTOP=whatever

Adjust the *PID* assignments
Change the xorg to xorg :1
shell the script.
Title: Re: Open second Virtual terminal
Post by: Misalf on April 08, 2014, 08:32:01 AM
This won't help?
See FAQ http://tinycorelinux.net/faq.html#bootcodes
bootcode multivt
Title: Re: Open second Virtual terminal
Post by: przemasRat on April 08, 2014, 08:53:56 AM
Copy .xsession to .xsession1
At the top:
export DISPLAY=":1.0"
export DESKTOP=whatever

Adjust the *PID* assignments
Change the xorg to xorg :1
shell the script.

YES - it's WORKING !!! - thank's
Title: Re: Open second Virtual terminal
Post by: przemasRat on April 08, 2014, 08:54:57 AM
This won't help?
See FAQ http://tinycorelinux.net/faq.html#bootcodes
bootcode multivt

Yes i have "multivt" but this is not enough.
Title: Re: Open second Virtual terminal
Post by: przemasRat on April 09, 2014, 11:34:52 PM
Copy .xsession to .xsession1
At the top:
export DISPLAY=":1.0"
export DESKTOP=whatever

Adjust the *PID* assignments
Change the xorg to xorg :1
shell the script.

YES - it's WORKING !!! - thank's

How do I should start this new script (".xsession1") ? I want to start second virtual terminal automatically after TinyCore boot.
Title: Re: Open second Virtual terminal
Post by: gerald_clark on April 09, 2014, 11:37:58 PM
Then you need to add it to /home/tc/.profile.
Title: Re: Open second Virtual terminal
Post by: przemasRat on April 09, 2014, 11:48:13 PM
Then you need to add it to /home/tc/.profile.

What should I modify/add in this file ?