Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #13116

Re: Can different-users have different-X?

From Unknown <dog@gmail.com>
Newsgroups comp.os.linux.misc, alt.os.linux.slackware, alt.os.linux.debian
Subject Re: Can different-users have different-X?
Date 2014-12-28 06:04 +0000
Organization A noiseless patient Spider
Message-ID <pan.2014.12.28.06.11.15@gmail.com> (permalink)
References <m139f3$nlu$1@dont-email.me> <v6od2a2loyz.fsf@jjj.jjj>

Cross-posted to 3 groups.

Show all headers | View raw


On Wed, 08 Oct 2014 14:34:28 +0200, Øyvind Røtvold wrote:

> not.socialnetwork@gmail.com writes:
> 
> [ snip ]
>>
>> The error is <server already active on display 0>
>>
>> What am I doing wrong?
> 
> You're trying to start a server at display 0, the default, and there's
> already one running there.
> 
> This should work:
> 
> xinit -- :1 &
> DISPLAY=:1 xterm

My log syntax: -> what I input; == the resulting output; => observation
=> This log now in VT3

=> in VT4
-> xinit -- :1 & ==
drip under pressure.

~:xinit -- :1 &
[1] 5802
~:
entering d=X
 ? why did blok of: `cat << <EOX: saved as ??>` cause HANGING ?
ready to continue after intro-trace of d [now copied to X] ? =
/usr/local/sbin/X: line 5: read: read error: 0: Input/output error
numbered lines of Partns:-

waiting for X server to begin accepting connections .
..
..
.. ..... Needs Ctrl/D to: ..logout

=> in VT5
-> 1 xterm ==
Warning: This program is an suid-root program or is being run by the root 
user.
The full text of the error or warning message cannot be safely formatted
in this environment. You may get a more descriptive message by running the
program as a non-root user or by removing the suid bit on the executable.
xterm Xt error: Can't open display: %s

-> pstree | grep x ==
     |-bash---startx---xinit-+-X
     |                       `-blackbox-+-bbkeys
....
=> So the original X  seems to have survived. Yes, I'm now in X.
-------------------------------------------------
> 
>> Can I change the font-server settings, and still recover my work? Is it
>> possible that after the system boots, it's OK; but exercising various
>> programs, changes some font-setting, which then makes xpdf ...etc.
>> fuzzy?
> 
> You can do a 'xrdb -query' after startup, save the result and try to
> reset to that result later with eg. 'xrdb -remove', 'xrdb -merge'.

==> Save result NOW [in bad state]
-> xrdb -query ==xrdb: Can't open display <- OK ? try in X
=> Now in X
-> xrdb -query == no output
-> xrdb -h == <menu>
-> xrdb -query == no output
-> xrdb -screens == no *RETURN*
=> 10 minutes later need ^C to <exit/return xterm>
------------------- end of log of failed-tests -----------
Thanks.

PS. An excelent article by David Davidovic @ http://tutplus.com
points to <gamma correction> problems. But how it could start OK,
and later change to BAD is a mystery for me.

BTW there's 2 problems here:
1. xpdf ..etc BECOMES badly displayed after OK when initially run-X.
2. It would be interesting to keep the initial X, and experiment with
  others, at the same time.

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Can different-users have different-X? not.socialnetwork@gmail.com - 2014-10-08 12:08 +0000
  Re: Can different-users have different-X? Øyvind Røtvold <orotvold@gmail.com> - 2014-10-08 14:34 +0200
    Re: Can different-users have different-X? Unknown <dog@gmail.com> - 2014-12-28 06:04 +0000
  Re: Can different-users have different-X? Robert Heller <heller@deepsoft.com> - 2014-10-08 08:12 -0500
  Re: Can different-users have different-X? Balwinder S Dheeman <bdheeman.SANSPAM@outlook.com> - 2014-10-08 22:19 +0530

csiph-web