Difference between revisions of "User talk:Bossa nesta"
Bossa nesta (talk | contribs) (→Agenda) |
Bossa nesta (talk | contribs) (→Agenda) |
||
Line 36: | Line 36: | ||
LPT730 NAD710 SPR720 SYA710 XWN740 | LPT730 NAD710 SPR720 SYA710 XWN740 | ||
+ | </pre> | ||
+ | |||
+ | = temp = | ||
+ | <pre> | ||
+ | |||
+ | XWN740: Remote Access Lab #8 | ||
+ | |||
+ | |||
+ | |||
+ | Question #1: Describe what happened. Why do you think this happened? | ||
+ | |||
+ | Answer: It returned a error message (as below). I think it's because there is a security rule that blocks incoming connection to default display. | ||
+ | |||
+ | [joker@localhost ~]$ xterm -display 142.204.141.146:0 | ||
+ | xterm Xt error: Can't open display: 142.204.141.146:0 | ||
+ | |||
+ | |||
+ | Question #2: Describe what happened. | ||
+ | Does this work when issuing the above command to run the | ||
+ | xterm application in server2 (i.e. the other way around)? | ||
+ | |||
+ | Answer: Yes it works on both servers. | ||
+ | |||
+ | |||
+ | Question #3: Try to provide a useful example how using this remote access method | ||
+ | would be useful for yourself in the future... | ||
+ | |||
+ | Answer: One of the useful way to use remote access is for running application in thin client. Since the application running on the target client will use the resources from source server, the target client dose not require to install any heavy packages, libarary to the application. | ||
+ | |||
+ | |||
+ | Question #4: What happened? | ||
+ | |||
+ | Answer: It returned an error message says the server is already running. | ||
+ | |||
+ | |||
+ | |||
+ | Question #5: What happened? Did you notice any difference between the -query method used? | ||
+ | |||
+ | |||
+ | |||
+ | Question #6: What happened? Which server is this xeyes application running from? | ||
+ | If you are not certain, create some test files in each server's home | ||
+ | directory, and issue the same command, but with the xterm application | ||
+ | instead of the xeyes application.... | ||
+ | |||
+ | |||
+ | Question #7: Provide your own example how you would think this method of ssh | ||
+ | using tunneling would be useful for you in the future.... | ||
+ | |||
+ | |||
+ | |||
</pre> | </pre> | ||
Revision as of 15:50, 23 November 2008
Agenda
Nov 15: Sat: E: Seneca, labs 16: Sun: M: mNm, E: Rest 17: Mon: M: Rest, E: mid-term, 0.3 18: Tue: M: LUX Class, E: labs 19: Wed: M: work, E: work 20: Thu: LUX class, E: prepare for 0.2 presentations 21: Fri: 22: Sat: 23: Sun: 24: Mon: E: 0.3 25: Tue: Presentation for Release 0.2 12/05: Fri: Deadline of 0.3 LABS TO DO... XWN740 lab8 http://cs.senecac.on.ca/~murray.saul/XWN740/xwn740_lab8.html SYA710 lab07 http://zenit.senecac.on.ca/wiki/index.php/SYA710_Lab07 LPT Assg2 http://zenit.senecac.on.ca/wiki/index.php/Fall_2008_LPT730_Weekly_Schedule#Assignment_2_Work_.28Nov_25.29 = FINAL EXAM = 08: LPT730 09: NAD710 10: SPR720 11: SYA710 12: XWN740, E: Canoe LPT730 NAD710 SPR720 SYA710 XWN740
temp
XWN740: Remote Access Lab #8 Question #1: Describe what happened. Why do you think this happened? Answer: It returned a error message (as below). I think it's because there is a security rule that blocks incoming connection to default display. [joker@localhost ~]$ xterm -display 142.204.141.146:0 xterm Xt error: Can't open display: 142.204.141.146:0 Question #2: Describe what happened. Does this work when issuing the above command to run the xterm application in server2 (i.e. the other way around)? Answer: Yes it works on both servers. Question #3: Try to provide a useful example how using this remote access method would be useful for yourself in the future... Answer: One of the useful way to use remote access is for running application in thin client. Since the application running on the target client will use the resources from source server, the target client dose not require to install any heavy packages, libarary to the application. Question #4: What happened? Answer: It returned an error message says the server is already running. Question #5: What happened? Did you notice any difference between the -query method used? Question #6: What happened? Which server is this xeyes application running from? If you are not certain, create some test files in each server's home directory, and issue the same command, but with the xterm application instead of the xeyes application.... Question #7: Provide your own example how you would think this method of ssh using tunneling would be useful for you in the future....
Notes
SYA710 Note 2008/10/30 chkconfig --list xinetd chkconfig --list swat chkconfig swat on chkconfig --list swat service xinetd start netstat -antpu more /etc/services in web browser-> http://localhost:901/ = samba use SMB protocol smbd -> samba process nmbd -> NetBiod to IP process service smb start/stop/.... smbpasswd -a joker <-- to add the user and password smbclient -U% -L localhost <-- U stand for no user name smbclient -Ujoker //localhost/samba-share -->> connect to share dir locally with samba service, can be used on trouble shooting /var/run/nmdb.pid <-- process lock