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?
Answer: It seesm that this command dosen't work.
Question #6: What happened? Which server is this xeyes application running from?
Answer: It was using running from server 2, and server 1 was just for display purpose. In short, server is the client, server 2 is the server.
Question #7: Provide your own example how you would think this method of ssh
using tunneling would be useful for you in the future....
Answer: When I need to access a highly secured database from a server, I need to use ssh to connect to the database with oracle running on it. And for some reason, I need to use the GUI instead of command, then I'll use this method to do my task on the database server with my own laptop.
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