LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-29-2003, 11:35 AM   #1
vexer
Member
 
Registered: Jan 2003
Location: Sudbury Ontario, Canada
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
X server + 2 users != work


I have 2 different users on 1 local pc. Now for some reason I get a Invalid MIT-MAGIC-COOKIE-1 when I have 1 user using X and the other trying to start using X with startx -- :1.

Could the tcp nolisten flag have this affect? is there a way around this?



-vexer
 
Old 07-29-2003, 12:09 PM   #2
vexer
Member
 
Registered: Jan 2003
Location: Sudbury Ontario, Canada
Distribution: Slackware
Posts: 388

Original Poster
Rep: Reputation: 30
Turns out it was tcp nolisten, but I would like to know if there is a way to still use tcp nolisten and have multiple WM's running.

-vexer
 
Old 07-29-2003, 08:15 PM   #3
Corin
Member
 
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446

Rep: Reputation: 30
In which configuration file is the tcp nolisten option located?

Last edited by Corin; 07-29-2003 at 08:16 PM.
 
Old 07-30-2003, 10:12 AM   #4
yitzhakbg
LQ Newbie
 
Registered: Jul 2003
Location: Beit El, ISRAEL
Distribution: Mandrake 2005 (10.2) LE
Posts: 25

Rep: Reputation: 15
Multi-user local X

Go to http://startx.times.lv and you will have true multi-user local X windows. I have three users working comfortably one one PC.
Yitzhak
 
Old 07-30-2003, 11:37 AM   #5
vexer
Member
 
Registered: Jan 2003
Location: Sudbury Ontario, Canada
Distribution: Slackware
Posts: 388

Original Poster
Rep: Reputation: 30
Corin, you edit the startx script (/usr/X11R6/bin/startx
) and add -tcp nolisten to the serverargs="" line.
 
Old 07-30-2003, 02:29 PM   #6
Corin
Member
 
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446

Rep: Reputation: 30
From

man XFree86


Local
On most platforms, the "Local" connection type is a UNIX-domain
socket. On some System V platforms, the "local" connection types
also include STREAMS pipes, named pipes, and some other mechanisms.

TCPIP
XFree86 listens on port 6000+n, where n is the display number.
This connection type can be disabled with the -nolisten option (see
the Xserver(1) man page for details).


So do you have two keyboards and two mice attached to the PC?
If so, I misunderstood what it was you were trying to do.
 
Old 07-30-2003, 03:15 PM   #7
yitzhakbg
LQ Newbie
 
Registered: Jul 2003
Location: Beit El, ISRAEL
Distribution: Mandrake 2005 (10.2) LE
Posts: 25

Rep: Reputation: 15
The site I referred you to, http://startx.times.lv is true multi-user. Every user (we have three) has his own X session running on his own screen, KB & mouse. All three work away merrily feeling entirely that they are alone on the machine. No networking, socket or other such complications. It's great.
Yitzhak
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How the DNS-server is connected to work of a web-server and a mail-server? ukrainet Linux - Newbie 2 01-10-2005 09:18 PM
startx doesn't work for all users kpachopoulos Linux - Newbie 1 09-19-2004 06:05 PM
SSH: PrinLastLog doesn't work for users.... pablovschby Linux - Networking 2 10-13-2003 07:08 AM
Making sound work for users Config Slackware 1 07-08-2002 01:17 PM
Linux at work, converting 30 users TravisB Linux - Distributions 9 04-06-2002 06:20 AM


All times are GMT -5. The time now is 04:38 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration