How to disable -nolisten?
I just installed ubuntu 11.10. I want to run an x-app from another system.
I updated ./xinit/xserverrc
and removed the -nolisten
option. I rebooted.
I can see that X is started with the nolisten option.
I don't have /etc/gdm
subdir.
xorg
add a comment |
I just installed ubuntu 11.10. I want to run an x-app from another system.
I updated ./xinit/xserverrc
and removed the -nolisten
option. I rebooted.
I can see that X is started with the nolisten option.
I don't have /etc/gdm
subdir.
xorg
What purpose you need /etc/gdm dir? 11.10 uses LightDM instead of GDM thats way there is not such folder.
– Guria
Oct 27 '11 at 14:10
Note: "I want to run an x-app from another system." While I'm all in favor of modifying your nolisten parameter, for 99% of the use cases, simply ssh'ing to the remote host (possibly with the "-X" parameter, and definitely with "xauth" installed on the remote system) is by far the easiest way to fire up a remote X application. ssh even compresses the transaction, so you might see a slight speed boost.
– user995746
May 21 '13 at 18:15
add a comment |
I just installed ubuntu 11.10. I want to run an x-app from another system.
I updated ./xinit/xserverrc
and removed the -nolisten
option. I rebooted.
I can see that X is started with the nolisten option.
I don't have /etc/gdm
subdir.
xorg
I just installed ubuntu 11.10. I want to run an x-app from another system.
I updated ./xinit/xserverrc
and removed the -nolisten
option. I rebooted.
I can see that X is started with the nolisten option.
I don't have /etc/gdm
subdir.
xorg
xorg
edited Oct 27 '11 at 13:19
Kris Harper
9,649114771
9,649114771
asked Oct 27 '11 at 13:13
bartbart
56113
56113
What purpose you need /etc/gdm dir? 11.10 uses LightDM instead of GDM thats way there is not such folder.
– Guria
Oct 27 '11 at 14:10
Note: "I want to run an x-app from another system." While I'm all in favor of modifying your nolisten parameter, for 99% of the use cases, simply ssh'ing to the remote host (possibly with the "-X" parameter, and definitely with "xauth" installed on the remote system) is by far the easiest way to fire up a remote X application. ssh even compresses the transaction, so you might see a slight speed boost.
– user995746
May 21 '13 at 18:15
add a comment |
What purpose you need /etc/gdm dir? 11.10 uses LightDM instead of GDM thats way there is not such folder.
– Guria
Oct 27 '11 at 14:10
Note: "I want to run an x-app from another system." While I'm all in favor of modifying your nolisten parameter, for 99% of the use cases, simply ssh'ing to the remote host (possibly with the "-X" parameter, and definitely with "xauth" installed on the remote system) is by far the easiest way to fire up a remote X application. ssh even compresses the transaction, so you might see a slight speed boost.
– user995746
May 21 '13 at 18:15
What purpose you need /etc/gdm dir? 11.10 uses LightDM instead of GDM thats way there is not such folder.
– Guria
Oct 27 '11 at 14:10
What purpose you need /etc/gdm dir? 11.10 uses LightDM instead of GDM thats way there is not such folder.
– Guria
Oct 27 '11 at 14:10
Note: "I want to run an x-app from another system." While I'm all in favor of modifying your nolisten parameter, for 99% of the use cases, simply ssh'ing to the remote host (possibly with the "-X" parameter, and definitely with "xauth" installed on the remote system) is by far the easiest way to fire up a remote X application. ssh even compresses the transaction, so you might see a slight speed boost.
– user995746
May 21 '13 at 18:15
Note: "I want to run an x-app from another system." While I'm all in favor of modifying your nolisten parameter, for 99% of the use cases, simply ssh'ing to the remote host (possibly with the "-X" parameter, and definitely with "xauth" installed on the remote system) is by far the easiest way to fire up a remote X application. ssh even compresses the transaction, so you might see a slight speed boost.
– user995746
May 21 '13 at 18:15
add a comment |
3 Answers
3
active
oldest
votes
You need to edit /etc/lightdm/lightdm.conf
and add xserver-allow-tcp=true
to it. Here's what mine looks like:
[SeatDefaults]
greeter-session=unity-greeter
user-session=ubuntu
xserver-allow-tcp=true
[XDMCPServer]
enabled=true
After that, run this:
sudo restart lightdm
If you have problems restarting, just 'ps ax | grep lightdm' and kill all the associated processes, then:
sudo start lightdm
I haven't researched yet, but I'm sure there are lots of configuration options for lightdm, I'm just not certain that they all work at the moment. But this one does. Here's what my X server process looks like now:
2981 tty7 Ss+ 0:00 /usr/bin/X :1 -auth /var/run/lightdm/root/:1 vt7 -novtswitch
add a comment |
As of Ubuntu 16.04, it seems to be /usr/share/lightdm/lightdm.conf.d/100-custom.conf
, or if that does not work: /etc/lightdm/lightdm.conf.d/100-custom.conf
and it wants to contain:
[SeatDefaults]
xserver-allow-tcp=true
add a comment |
edit /usr/share/gdm/gdm.schemas
, setting the key security/DisallowTCP
to false
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f72812%2fhow-to-disable-nolisten%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
You need to edit /etc/lightdm/lightdm.conf
and add xserver-allow-tcp=true
to it. Here's what mine looks like:
[SeatDefaults]
greeter-session=unity-greeter
user-session=ubuntu
xserver-allow-tcp=true
[XDMCPServer]
enabled=true
After that, run this:
sudo restart lightdm
If you have problems restarting, just 'ps ax | grep lightdm' and kill all the associated processes, then:
sudo start lightdm
I haven't researched yet, but I'm sure there are lots of configuration options for lightdm, I'm just not certain that they all work at the moment. But this one does. Here's what my X server process looks like now:
2981 tty7 Ss+ 0:00 /usr/bin/X :1 -auth /var/run/lightdm/root/:1 vt7 -novtswitch
add a comment |
You need to edit /etc/lightdm/lightdm.conf
and add xserver-allow-tcp=true
to it. Here's what mine looks like:
[SeatDefaults]
greeter-session=unity-greeter
user-session=ubuntu
xserver-allow-tcp=true
[XDMCPServer]
enabled=true
After that, run this:
sudo restart lightdm
If you have problems restarting, just 'ps ax | grep lightdm' and kill all the associated processes, then:
sudo start lightdm
I haven't researched yet, but I'm sure there are lots of configuration options for lightdm, I'm just not certain that they all work at the moment. But this one does. Here's what my X server process looks like now:
2981 tty7 Ss+ 0:00 /usr/bin/X :1 -auth /var/run/lightdm/root/:1 vt7 -novtswitch
add a comment |
You need to edit /etc/lightdm/lightdm.conf
and add xserver-allow-tcp=true
to it. Here's what mine looks like:
[SeatDefaults]
greeter-session=unity-greeter
user-session=ubuntu
xserver-allow-tcp=true
[XDMCPServer]
enabled=true
After that, run this:
sudo restart lightdm
If you have problems restarting, just 'ps ax | grep lightdm' and kill all the associated processes, then:
sudo start lightdm
I haven't researched yet, but I'm sure there are lots of configuration options for lightdm, I'm just not certain that they all work at the moment. But this one does. Here's what my X server process looks like now:
2981 tty7 Ss+ 0:00 /usr/bin/X :1 -auth /var/run/lightdm/root/:1 vt7 -novtswitch
You need to edit /etc/lightdm/lightdm.conf
and add xserver-allow-tcp=true
to it. Here's what mine looks like:
[SeatDefaults]
greeter-session=unity-greeter
user-session=ubuntu
xserver-allow-tcp=true
[XDMCPServer]
enabled=true
After that, run this:
sudo restart lightdm
If you have problems restarting, just 'ps ax | grep lightdm' and kill all the associated processes, then:
sudo start lightdm
I haven't researched yet, but I'm sure there are lots of configuration options for lightdm, I'm just not certain that they all work at the moment. But this one does. Here's what my X server process looks like now:
2981 tty7 Ss+ 0:00 /usr/bin/X :1 -auth /var/run/lightdm/root/:1 vt7 -novtswitch
edited Nov 10 '11 at 19:48
Kris Harper
9,649114771
9,649114771
answered Nov 8 '11 at 20:52
George H. LenzerGeorge H. Lenzer
1712
1712
add a comment |
add a comment |
As of Ubuntu 16.04, it seems to be /usr/share/lightdm/lightdm.conf.d/100-custom.conf
, or if that does not work: /etc/lightdm/lightdm.conf.d/100-custom.conf
and it wants to contain:
[SeatDefaults]
xserver-allow-tcp=true
add a comment |
As of Ubuntu 16.04, it seems to be /usr/share/lightdm/lightdm.conf.d/100-custom.conf
, or if that does not work: /etc/lightdm/lightdm.conf.d/100-custom.conf
and it wants to contain:
[SeatDefaults]
xserver-allow-tcp=true
add a comment |
As of Ubuntu 16.04, it seems to be /usr/share/lightdm/lightdm.conf.d/100-custom.conf
, or if that does not work: /etc/lightdm/lightdm.conf.d/100-custom.conf
and it wants to contain:
[SeatDefaults]
xserver-allow-tcp=true
As of Ubuntu 16.04, it seems to be /usr/share/lightdm/lightdm.conf.d/100-custom.conf
, or if that does not work: /etc/lightdm/lightdm.conf.d/100-custom.conf
and it wants to contain:
[SeatDefaults]
xserver-allow-tcp=true
edited 8 hours ago
Community♦
1
1
answered Jul 6 '16 at 11:01
BryanBryan
1234
1234
add a comment |
add a comment |
edit /usr/share/gdm/gdm.schemas
, setting the key security/DisallowTCP
to false
add a comment |
edit /usr/share/gdm/gdm.schemas
, setting the key security/DisallowTCP
to false
add a comment |
edit /usr/share/gdm/gdm.schemas
, setting the key security/DisallowTCP
to false
edit /usr/share/gdm/gdm.schemas
, setting the key security/DisallowTCP
to false
edited Jun 14 '16 at 2:23
amc
4,70962746
4,70962746
answered Jun 14 '16 at 1:37
Marc WilliamsMarc Williams
111
111
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f72812%2fhow-to-disable-nolisten%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
What purpose you need /etc/gdm dir? 11.10 uses LightDM instead of GDM thats way there is not such folder.
– Guria
Oct 27 '11 at 14:10
Note: "I want to run an x-app from another system." While I'm all in favor of modifying your nolisten parameter, for 99% of the use cases, simply ssh'ing to the remote host (possibly with the "-X" parameter, and definitely with "xauth" installed on the remote system) is by far the easiest way to fire up a remote X application. ssh even compresses the transaction, so you might see a slight speed boost.
– user995746
May 21 '13 at 18:15