BodhiThis forum is for the discussion of Bodhi Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The default Bodhi Xserver starts with -nolisten tcp - and while I get that this is more secure, I need to let the Xserver listen for TCP connections for a couple of work-related apps that simply are old-school X, and won't be changed. Ssh port-forwarding does not work here. These apps take the value of $DISPLAY and open X clients on the local server - but based on passing this variable on to another host. Thus, it requires $DISPLAY to be in the form nnn.nnn.nnn.nnn:nn
So, I have looked, but cannot get the Xserver to start without "-nolisten tcp". How does this get configured?
Well, thank you for the admonishment. It is *so* much help when someone tells you to read the man pages.
But I was looking for some bodhi linux expert, not a crackpot.
I have modified the file /etc/X11/xinit/xserverrc - the line in that file is
exec /usr/bin/X -nolisten tcp "$@"
I took out the "-nolisten tcp", and restarted X, rebooted. No change. So, is the Xserver compiled with this hardcoded?
I must add that in ubuntu, you can change a variable in /etc/gdm/gdm.conf which changes the behavior. Same with other window managers. In bodhi, I am perplexed because there is lxdm and enlightenment and I have been unable to discover which one changes the X server behavior.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,631
Rep:
Quote:
Originally Posted by bill54
...
I have modified the file /etc/X11/xinit/xserverrc - the line in that file is exec /usr/bin/X -nolisten tcp "$@"
I took out the "-nolisten tcp", and restarted X, rebooted. No change. So, is the Xserver compiled with this hardcoded?
No need to get touchy. You didn't write that you did that already.
I can't prove it but I doubt that the Xserver was compiled with this hardcoded. From my limited experience with x I'd guess that it is a side effect from some other option (which I can't pinpoint in the man page). I guess you'll have to wait anyhow for the expert you hoped for .
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,631
Rep:
Quote:
Originally Posted by bill54
... change a variable in /etc/gdm/gdm.conf which changes the behavior. In bodhi, I am perplexed because there is lxdm and enlightenment and I have been unable to discover which one changes the X server behavior.
Sorry to touch on the man pages again . I found
Quote:
-authauthorization-file specifies a file which contains a collection of authorization records used to authenticate access. See also the xdm(1) and xsecurity(7) manual pages.
I have isolated the problem a bit more. I installed xdm and made it the default login manager. When I logged in, the X process was not running with "-nolisten tcp" - so I know that the Xserver on my machine can be started the way I need it to be.
So, the issue is with lxdm. I really like the way the bodhi linux developers integrated everything with E17 and I don't want to give that up. There has to be a way to configure lxdm with Xserver arguments. I just do not know what file to edit, and in what form the variable gets set.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.