@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17



Comments:

<0> hmmm ..
<1> I do know that we have a software that connects to the remote system - that works - I can see it working on the remote system
<0> Boredboy is helping me
<2> syncx: either that, or your going to have to cone up with extremly specific wuestions
<0> tnx a lot DaTa-MaN
<2> *questions
<1> it is supposed to bring up a GUI hosted by the remote system on the Suse 10.0 system
<0> hmm ..
<0> in the shared lib Boredboy
<3> syncx, can you tell me why you want to find out what the largest files on your system are?
<4> superkai: Why not run netstat on a working (i.e. RedHat) system to see how it connects?
<1> where it is supposed to initalize the gui, I get a message that says error connecting to ip address:0.0
<1> I tried that already
<5> superkai: what message, exactly?
<0> Boredboy im trying to make an experiment
<1> "Error connecting to 192.168.1.10:0.0



<4> Right, so it's trying to set up the connection via X, probably through TCP.
<1> most likely
<5> superkai: anything else?
<4> Likely, the X server is denying TCP connections.
<1> so, what would need to be set so X server would accept the connection?
<5> superkai: are you on the same LAN as that server?
<1> yes
<5> superkai: check if port 6000 is open in your computer
<6> depends on what you're trying to do. you might need to enable xdcmp
<5> how did you start X?
<3> syncx, I can't think of a obvious/easy way to do it. I'd probably write a script/app to do it
<0> hmm ..
<4> X may have been started with the "-nolisten tcp" option.
<0> Boredboy what script?
<5> syncx: you can use find and sort
<1> where would I change that option?
<1> thiago - it's Suse 10.0 - you tell me
<5> superkai: no, you tell me. You're using SUSE 10.0, not me :-)
<1> where would I change the -nolisten tcp option?
<6> superkai: here's a question: do you need to display a remote session on that machine or do you simply need to run a remote application on that machine?
<5> superkai: so, is it listening? Just check it.
<3> syncx, just a sec, testing
<0> okey
<0> ill hold
<4> It depends exactly how your X server got started. If you run ps auxf, then you should be able to see which script started X, and whether it was called with that option.
<1> I need to get a remote display - the gui runs on the remote system - I just need it displayed to the Suse system
<7> need hgelp
<7> i can;t connected to chatrooo ms in clientss
<5> superkai: you know you can run individual, graphical applications from remote systems, right?
<4> superkai: Is it a single application, or a the whole desktop that's supposed to run remotely?
<5> superkai: so, I reiterate dp2's question: do you really need the WHOLE desktop, or just an application or two?
<1> just a single aplication
<8> thun You mean, you can't connect to the Yahoo Messenger chat rooms and you are on client?
<6> ok. then you can use ssh with port forwarding to run that remote application
<5> superkai: ok, then here's an easier way:
<5> superkai: open an X11 desktop session on your own machine as you would normally. Then ssh -X to the remote machine.
<8> thun Did you configure Transparent Proxy? Say, Yes/ No. And do you know you have to config iptables before config Transparent Proxy?
<6> for example: ssh -X user@remote "xterm"
<7> yaaa id ont know iptablees
<5> superkai: you should then be able to run the app and see its display
<8> thun Then you better use hosts.allow and hosts.deny is better for you. Or use KissFirewall.
<7> i wanant iptabless if u c an helpo me tha nsk
<0> Boredboy is already done?
<3> syncx, this command should work, but be warned it isn't quick!
<0> sure
<1> is there any way to just set the xserver to accept a tcp connection?
<5> superkai: well, first you have to find out how it was configured to not accept one
<8> thun Here you are http://pastebin.ca/122776 Copy/ Paste it, and simple run it. After that service iptables save, add rules and enjoy!
<5> superkai: also, you'll have to make sure that access-control has been properly configured
<3> syncx, also, I haven't tested it fully so it might be wrong. Somebody here can probably correct it if I'm wrong
<1> seems easier said than done
<5> superkai: so, in the end, the easiest way is to use ssh -X
<4> superkai: First, use ps auxf to see how X was called, i.e. whether it has -nolisten tcp, and what called it.
<1> that unfortunately is not an option
<0> Boredboy okey
<0> paste now
<3> syncx, find . -ls | sort -n | tail -n 1
<7> thankss DataCable
<8> You're Welcome thun.
<3> syncx, that will search your current directory and any sub directories, sort it by number and then only show the last one (which should be the biggest one)
<9> elow



<0> hmm ..
<0> okey Boredboy
<1> what am I looking for on the ps auxf ? I got a long list of stuff
<5> Boredboy: that will show the largest inode number, not the largest file
<4> superkai: A line whose program on the right starts with the single letter X
<3> thiago, *doh* your right. I really need to go home to bed
<9> elow every body
<9> im job at medan
<3> syncx, see, told you I was probably wrong ;)
<9> so my english is no good
<1> just xinit
<9> so i want know linux
<5> syncx: find / -size +1M -printf '%b %p\n' | sort -n | tail -n1
<6> superkai, there are several things that you'll need to do. for example, if you only intend to run X without any desktop, then you'll need to check /etc/inittab, /etc/X11/XFree86Config (and maybe a few other files) to see how they're configured
<5> syncx: you may want to increase the -n1 at the tail to 3 or more. Some of the largest files may be false positives (like /proc/kcore)
<3> ahhh.., that's how you use the printf bit with find
<6> for vanilla X, you're looking for the xdm stuff in /etc/inittab
<4> superkai: What's below xinit?
<6> this can also be further complicated if you're doing any funky stuff with PAM
<4> superkai: If the nolisten tcp is there, you probably need to find and edit the xinitrc.
<6> on the other hand, if you're trying to display X runnning GNOME or KDE, then you'll need to check to see (and enable if not enabled) how gdm or kdm are configured respectively.
<1> whythehell - I am looking at the xinitrc right now
<6> you also need to check via netstat -l if your system is listening on the ports 6000 or whatever you configured
<1> for the RedHat system (that works) it did not show the port in question even when it was working
<6> you also need to check your various ACLs to make sure that your current machine isn't being restricted by the remote one.
<6> well, RH 7.3 runs with an older variant of X. I believe it ran with XFree86 4.3.something and Suse 10 runs with Xorg.
<1> I've noticed
<6> the way both variants of X are configured considerably different out-of-the-box.
<6> is there a reason why you can't/won't run the X apps via a ssh session?
<10> #help
<1> dp2 - yes - it has to use a specific software - if the remote is shutdown, the software will continue to poll for the remote system and re-initalize the gui
<1> once it reconnects
<6> if the application runs on that remote machine, then its running instance will terminate when that remote machine goes down
<1> yes
<1> it does
<6> are you saying that the application should restart itself?
<1> yes - it will restart itself
<6> ok. so, what's the problem with accessing it via ssh?
<1> cant
<1> I have to use the software
<6> and you can do that via ssh. all ssh will do is proxy the connection for you
<6> it will be transparent to the running application
<1> I cannot ssh into the remote system
<1> it will not allow it
<6> so, how do you plan to connect to it to reconfigure X if you need to?
<1> reconfigure X?
<6> will you access it remotely via a serial console session (ie via digicm or something similar)?
<1> no - ethernet
<6> ok. ethernet alone is not enough. you need to access that box somehow via TCP or UDP
<1> I believe it is TCP
<6> most likely, you'll access it either via telnet or ssh
<6> (if via TCP)
<1> I cant be certain as to which it may be
<1> it is embeded in the software
<6> ok. show me the command you used in RH 7.3 to access that remote box
<5> turn ssh on
<5> it isn't that hard and you really need it
<1> ssh is on as well as telnet
<5> then ssh in and run the application
<5> what's the difficulty?
<1> I can establish a connection to the remote system - just cant get the gui from the remote system to show up on the Suse system
<5> did you start it with ssh -X?
<1> no
<6> as long as sshd is running or enabled via inetd (or xinetd), then you should be able to use ssh to access the box (***uming that you or someone created the ssh keys)
<1> ./launchGUI
<5> superkai: did it work?
<6> is launchGUI a script?
<1> it is a program
<6> binary or script?
<1> binary
<5> did it work after you reconnected with ssh -X?
<1> no
<5> what was the *exact* error message?
<6> does launchGUI run locally or remotely?


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #linux
or
Go to some related logs:

#allnitecafe
#chat-world
audit0r @ dalnet
$_REQUEST['gimme']
#kl
#india
GAME4ALL.BIZ
#photoshop
#allnitecafe
terratec aureon 7.1 jumpers



Home  |  disclaimer  |  contact  |  submit quotes