X11 logout on display :0 messes the behaviour of other X11 displays running at the same timeHow to run two X sessions at the same time?lubuntu won't display on both monitors at the same timeShift running X window (display environment) on SSH X11 forwardingx11vnc server with Xubuntu show black screen in clientX11 lets me change to other resolutions, but only the first time the system startsvncserver remote session grey screen ubuntu 16.04what are the remote sharing servers available for x11 display in ubuntu 16.04Ubuntu 16 behaves in different way whith two displays at the same timeX11: How to disable the combined display desktop, so screens can be adressed with DISPLAY=:0.x(ZaphodHeads) X11 display does not work from the beginning

Why is it that I can sometimes guess the next note?

US tourist/student visa

Why should universal income be universal?

How to get directions in deep space?

Why does Carol not get rid of the Kree symbol on her suit when she changes its colours?

What is Cash Advance APR?

Does an advisor owe his/her student anything? Will an advisor keep a PhD student only out of pity?

How much of a Devil Fruit must be consumed to gain the power?

Review your own paper in Mathematics

Does Doodling or Improvising on the Piano Have Any Benefits?

How to draw a matrix with arrows in limited space

Does "he squandered his car on drink" sound natural?

What's the name of the logical fallacy where a debater extends a statement far beyond the original statement to make it true?

What features enable the Su-25 Frogfoot to operate with such a wide variety of fuels?

Permission on Database

Giving feedback to someone without sounding prejudiced

Why does this expression simplify as such?

Multiplicative persistence

What is the highest possible scrabble score for placing a single tile

Why is the "ls" command showing permissions of files in a FAT32 partition?

Why Shazam when there is already Superman?

15% tax on $7.5k earnings. Is that right?

Doesn't the system of the Supreme Court oppose justice?

Shouldn’t conservatives embrace universal basic income?



X11 logout on display :0 messes the behaviour of other X11 displays running at the same time


How to run two X sessions at the same time?lubuntu won't display on both monitors at the same timeShift running X window (display environment) on SSH X11 forwardingx11vnc server with Xubuntu show black screen in clientX11 lets me change to other resolutions, but only the first time the system startsvncserver remote session grey screen ubuntu 16.04what are the remote sharing servers available for x11 display in ubuntu 16.04Ubuntu 16 behaves in different way whith two displays at the same timeX11: How to disable the combined display desktop, so screens can be adressed with DISPLAY=:0.x(ZaphodHeads) X11 display does not work from the beginning













0















Working on any of the conventional desktop environments (KDE, mate, cinnamon, etc, wich usually run on the display :0 ), I am able to successfully launch a vnc xserver on display :1, and connect to it using a vncclient. As the vncserver works in the background, it continues to work even if I log out the (ie. KDE) session on display :0 .



After such a log out, :1 is still running, and I can connect to it again. However this time, trying to launch any graphical program inside the vncsession is not possible, and every application complains saying that they cannot connect to the :1 display:



$ xterm
No protocol specified
xterm: Xt error: Can't open display: :1

$ terminator
No protocol specified
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
You need to run terminator in an X environment. Make sure $DISPLAY is properly set


Albeit they say that the $DISPLAY envvar is not set, it is correctly set indeed:



echo $DISPLAY
:1


I especulate that the logout procedure on :0 messed something (perhaps the X11 sockets for :1) in the vncserver, preventing newer applications to connect to :1, however, but I have not been able to figure it out.



This happens regardless the vncserver implementation (vncserver, vnc4server, tightvncserver.. etc).



Similarly, other remote display solutions as xpra get messed after logout, for instance display :100 get inaccessible, and xpra attach cannot connect, despite it still continues running in background.



Any ideas of what is causing this?










share|improve this question






















  • In each environment, run (echo "=== set ===";set;echo "===env ==="; env | sort;echo "=== alias ===";alias), redirecting the output to diferent files. Inspect these files with less, compare them with diff. I have at.environment batch.environment cron.environment interactive.environment interactive.ssh.environment non-gui.environment ssh.environment term.environment files that help.

    – waltinator
    1 hour ago















0















Working on any of the conventional desktop environments (KDE, mate, cinnamon, etc, wich usually run on the display :0 ), I am able to successfully launch a vnc xserver on display :1, and connect to it using a vncclient. As the vncserver works in the background, it continues to work even if I log out the (ie. KDE) session on display :0 .



After such a log out, :1 is still running, and I can connect to it again. However this time, trying to launch any graphical program inside the vncsession is not possible, and every application complains saying that they cannot connect to the :1 display:



$ xterm
No protocol specified
xterm: Xt error: Can't open display: :1

$ terminator
No protocol specified
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
You need to run terminator in an X environment. Make sure $DISPLAY is properly set


Albeit they say that the $DISPLAY envvar is not set, it is correctly set indeed:



echo $DISPLAY
:1


I especulate that the logout procedure on :0 messed something (perhaps the X11 sockets for :1) in the vncserver, preventing newer applications to connect to :1, however, but I have not been able to figure it out.



This happens regardless the vncserver implementation (vncserver, vnc4server, tightvncserver.. etc).



Similarly, other remote display solutions as xpra get messed after logout, for instance display :100 get inaccessible, and xpra attach cannot connect, despite it still continues running in background.



Any ideas of what is causing this?










share|improve this question






















  • In each environment, run (echo "=== set ===";set;echo "===env ==="; env | sort;echo "=== alias ===";alias), redirecting the output to diferent files. Inspect these files with less, compare them with diff. I have at.environment batch.environment cron.environment interactive.environment interactive.ssh.environment non-gui.environment ssh.environment term.environment files that help.

    – waltinator
    1 hour ago













0












0








0








Working on any of the conventional desktop environments (KDE, mate, cinnamon, etc, wich usually run on the display :0 ), I am able to successfully launch a vnc xserver on display :1, and connect to it using a vncclient. As the vncserver works in the background, it continues to work even if I log out the (ie. KDE) session on display :0 .



After such a log out, :1 is still running, and I can connect to it again. However this time, trying to launch any graphical program inside the vncsession is not possible, and every application complains saying that they cannot connect to the :1 display:



$ xterm
No protocol specified
xterm: Xt error: Can't open display: :1

$ terminator
No protocol specified
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
You need to run terminator in an X environment. Make sure $DISPLAY is properly set


Albeit they say that the $DISPLAY envvar is not set, it is correctly set indeed:



echo $DISPLAY
:1


I especulate that the logout procedure on :0 messed something (perhaps the X11 sockets for :1) in the vncserver, preventing newer applications to connect to :1, however, but I have not been able to figure it out.



This happens regardless the vncserver implementation (vncserver, vnc4server, tightvncserver.. etc).



Similarly, other remote display solutions as xpra get messed after logout, for instance display :100 get inaccessible, and xpra attach cannot connect, despite it still continues running in background.



Any ideas of what is causing this?










share|improve this question














Working on any of the conventional desktop environments (KDE, mate, cinnamon, etc, wich usually run on the display :0 ), I am able to successfully launch a vnc xserver on display :1, and connect to it using a vncclient. As the vncserver works in the background, it continues to work even if I log out the (ie. KDE) session on display :0 .



After such a log out, :1 is still running, and I can connect to it again. However this time, trying to launch any graphical program inside the vncsession is not possible, and every application complains saying that they cannot connect to the :1 display:



$ xterm
No protocol specified
xterm: Xt error: Can't open display: :1

$ terminator
No protocol specified
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
You need to run terminator in an X environment. Make sure $DISPLAY is properly set


Albeit they say that the $DISPLAY envvar is not set, it is correctly set indeed:



echo $DISPLAY
:1


I especulate that the logout procedure on :0 messed something (perhaps the X11 sockets for :1) in the vncserver, preventing newer applications to connect to :1, however, but I have not been able to figure it out.



This happens regardless the vncserver implementation (vncserver, vnc4server, tightvncserver.. etc).



Similarly, other remote display solutions as xpra get messed after logout, for instance display :100 get inaccessible, and xpra attach cannot connect, despite it still continues running in background.



Any ideas of what is causing this?







xorg display kde vnc xpra






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 2 hours ago









aizquieraizquier

1763




1763












  • In each environment, run (echo "=== set ===";set;echo "===env ==="; env | sort;echo "=== alias ===";alias), redirecting the output to diferent files. Inspect these files with less, compare them with diff. I have at.environment batch.environment cron.environment interactive.environment interactive.ssh.environment non-gui.environment ssh.environment term.environment files that help.

    – waltinator
    1 hour ago

















  • In each environment, run (echo "=== set ===";set;echo "===env ==="; env | sort;echo "=== alias ===";alias), redirecting the output to diferent files. Inspect these files with less, compare them with diff. I have at.environment batch.environment cron.environment interactive.environment interactive.ssh.environment non-gui.environment ssh.environment term.environment files that help.

    – waltinator
    1 hour ago
















In each environment, run (echo "=== set ===";set;echo "===env ==="; env | sort;echo "=== alias ===";alias), redirecting the output to diferent files. Inspect these files with less, compare them with diff. I have at.environment batch.environment cron.environment interactive.environment interactive.ssh.environment non-gui.environment ssh.environment term.environment files that help.

– waltinator
1 hour ago





In each environment, run (echo "=== set ===";set;echo "===env ==="; env | sort;echo "=== alias ===";alias), redirecting the output to diferent files. Inspect these files with less, compare them with diff. I have at.environment batch.environment cron.environment interactive.environment interactive.ssh.environment non-gui.environment ssh.environment term.environment files that help.

– waltinator
1 hour ago










0






active

oldest

votes











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1127689%2fx11-logout-on-display-0-messes-the-behaviour-of-other-x11-displays-running-at-t%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1127689%2fx11-logout-on-display-0-messes-the-behaviour-of-other-x11-displays-running-at-t%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

Torre de la Isleta Índice Véase también Referencias Bibliografía Enlaces externos Menú de navegación38°25′58″N 0°23′02″O / 38.43277778, -0.3838888938°25′58″N 0°23′02″O / 38.43277778, -0.38388889Torre de la Illeta de l’Horta o Torre Saleta. Base de datos de bienes inmuebles. Patrimonio Cultural. Secretaría de Estado de CulturaFicha BIC Torre de la Illeta de l’Horta. Dirección General de Patrimonio Cultural. Generalitat ValencianaLugares de interés. Ayuntamiento del CampelloTorre de la Isleta en CastillosNet.org