LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 04-07-2004, 12:25 PM   #1
LinuxSeeker
Member
 
Registered: Feb 2004
Location: Linuxland
Distribution: Ubuntu 5.10, KUbuntu 5.10, Mandrake 10.1 - Ubuntu 5.04 (Hoary)
Posts: 346

Rep: Reputation: 30
Exclamation Two X sessions?


I heard that it is possible to be using the X windows while being logged in as two or more users...
But I also heard that in order to do so, you have to edit a system file.

Which is the file I must edit and what modifications should I do?
 
Old 04-07-2004, 12:42 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
http://linuxguide.automatedshops.com...-multiple.html
 
Old 04-07-2004, 12:45 PM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
I can't think what configuration you would need to edit.

You can use the same X session by suing to another user and starting programs or by starting another X session (where 1 is the number of the next desktop - 0 is the first):
X :1

You can then start programs on that display. To allow access to a display by other users/hosts you may need to change the access control with "xhost" and to choose a display you cna change your users dispaly variable - ie:
export DISPLAY="127.0.0.1:0"
or for the second desktop:
export DISPLAY="127.0.0.1:1"
 
Old 04-07-2004, 03:39 PM   #4
sh1ft
Member
 
Registered: Feb 2004
Location: Ottawa, Ontario, Can
Distribution: Slackware, ubuntu
Posts: 391

Rep: Reputation: 32
you can also use a really simple program that is included with gnome called xnest.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple X sessions tw001_tw Slackware 9 05-31-2004 12:35 PM
Remote sessions narkelo Linux - Software 2 04-03-2004 10:33 PM
Two simulataneous X sessions Axion Linux - General 3 12-10-2003 05:20 AM
Sessions BajaNick Linux - General 0 07-30-2003 09:19 PM
CD-RW won't do multi sessions AlanH Linux - Hardware 0 03-11-2003 05:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration