how to change nolisten  in X config ?


Forum: Networking
Topic: how to change nolisten  in X config ?
started by: vkeswani

Posted by vkeswani on Oct. 05 2005,16:53
I've used dsl for a few days now. I want to use it as an X server to display stuff from other linux / solaris machines on the network.

I read some topics about removing the nolisten tcp from the xsetup config. I'm using dsl 1.5 and I don't see a xsetup.conf file in /etc/X11/ also I don't have permissions to edit the file xsetup. How do I get root permissions ? Is it by using the sudo command ? I'm running a live CD. Also how do I change it once I've booted up ?

I can kill X by ctrl-alt F1, but then from the prompt what do I do to get it back up ?

Thanks in advance.

Posted by cbagger01 on Oct. 05 2005,18:28
The config file is located at

/home/dsl/.xserverrc

and you can resume a (nonkilled) session by ctrl-alt-f2

or if already dead, by typing

startx

Posted by vkeswani on Oct. 05 2005,19:24
I did the following:

edited the .xserverrc file and removed the nolisten tcp.

Then I exited the Window Manager, by right clicking on the desktop. Which took me to the console prompt.

Then I ran startx which took me thru the xsetup again.
I think this re-writes the .xserverrc file and the nolisten re-appears.

How can I edit / re-start the X server without going through xsetup ?

Thanks for the information, though, at least I have some idea now where to poke around.

Posted by vkeswani on Oct. 05 2005,19:48
ok guys... I think I got it.

When I starting dsl... I was running:

dsl toram xsetup

Due to this, everytime I ran startx, it automatically ran xsetup.

Now I boot up:

dsl toram vga=normal

Then I exit, the window manager. Run xsetup.sh from the command prompt.

Then I edited the  .xserverrc file. Finally just run startx to get into the window manager.

I'm now able to display stuff back to my dsl laptop from other linux / solaris machines. Thanks.

Posted by sdelaye on Oct. 26 2005,21:45
How do you display stuFF back from your other machines ?

What are the commands you use to display stuff from another machine ?

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.