Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207
Rep:
You mean two monitors or one monitor but two X sessions.
For one monitor two X sessiion just start one session normally, switch to second VT (ctrl+alt+f2) and issue a startx -- :1 and this will starts a second X GUI on VT 8
For two monitors, search this site (dualhead, multiple monitors, two screens etc..) because there is plenty of info Acid_kewpie posted helping other (me, for example) to get dualhead working.
Hope that helps
-NSKL
I mean more than 1 X session. Actually, I need about 4 per box.
I've tried switching to alternate consoles and starting a new X but it normally returns with an error.
Don't recall the exact error. Will re-post with more info.
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207
Rep:
ok, easy.
Log in console, and start the first X session (startx)
then switch to VT 2 and login and start a second one (startx -- :1 )
then switch to VT 3 ans start another one (startx -- :2)
and so on, well at least it works for me this way.
Good luck. and i hope you have a beast of a computer to run for X sessions at the same time...
-NSKL
can i ask you try to ask more precise questions in future. firstly the post is far too brief, and doesn't describe your query at all properly, and secondly, it is wrong. a GUI is not the same thing as an X session.
No.
Becuz...
Ok. Well, as I was trying to keep it simple for the lesser informed, and as I also stated, "I" will post it when "I" figure it out.
I simply wanted to be "pointed" to the place best suited for doqs.
The thread was started because of another question by another member. I simply transfered it over to see who had to say what.
Thanks.
P.S. have you ever seen gui outside of X? *tik tik*
Distribution: Red Hat 8.0 (Home), Red Hat 8.0 (Work)
Posts: 388
Rep:
I tried the startx -:2 and i get an error saying that X is already active on 0:0 and to remove the lock file and yada yada yada.....
Why is it not working? It is a default RH 7.3 kernel.
What I've found so far is that alot of "A-typical" installs don't allow more than 1 X session. I haven't had time to play with this much, but I am working on it and will put up what I find when I figure it all out.
I'm trying a bunch of different flavors to see if it is as easy as a simple patch. Otherwise, at least I'll have info on 7 flavours.
As for me, it works in slack, gentoo, it worked in Mandy8.1 and RH7.2, I haven't really tried anything else, but on all my current distros and the previous ones I had no problem running
startx -- :1
startx -- :2
how very noble of you...
and well seeing as that clock is ticking, and masterc has already tackled the most fun bit, it's the things inside X - Anjuta, Gaim, Xchat, Mozilla, that also have GUI's...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.