xmanager

xmanager使用小结=======================================================================

如果使用的是gnome 1。vi /etc/inittab 添加 x:5:respawn:/usr/bin/gdm 2.修改/etc/X11/gdm/gdm.conf,找到下面的信息: [xdmcp] Enable=0 或Enable=false 修改为: [xdmcp] Enable=1 或Enable=true 并确保以下信息存在: Port=177 3.重启机器 ok

如果使用的是kde

1。vi /etc/X11/xdm/xdm-config . 更改 DisplayManager.requestPort: 0 ==>; !DisplayManager.requestPort: 0 vi /etc/X11/xdm/Xaccess  2。更改: #* #any host can get a login window ==>; * #any host can get a login window 3。vi /etc/X11/xdm/kdmrc, /usr/share/config/kdm/kdmrc or /etc/opt/kde2/share/config/kdm/kdmrc . 更改enable设置为true。 重启机器

===========================================================================================

I'm far from an expert but the following worked for me,

Create a user account with the least amount of privalages needed (in my case "videorecorder") allow that user to have network shares create a directory to be shared (/var/spool/recordings) set up the sbmpasswd for that user

put the shared folder details into your smb.conf

[linux_video] comment = Shared Video valid users = videorecorder public = yes writable = yes browseable = yes path = /var/spool/Recordings/

then restart the server (>service smb restart)

you might need to put "encrypt passwords = yes" in as well

On the windows machine(s)

Windows Explorer > Tools > map network drive and then browse the network and find a shared folder called 'linux_video' then tick the connect at login box, and then click the connect using a different user name and enter the username and password. ( user=videorecorder in my case and their password) The shared folder should then just appear as another drive letter under Windows.

# service network restart # service smb restart # service iptables restart

smb.conf sudo mbpasswd -a root 删除samba用户密码 smbpasswd -a root 添加samba用户密码

[diska] comment = Shared Folder valid users = root public = yes writable = yes browseable = yes path = /diska encrypt passwords = yes security = share guest ok = yes

[diskb] comment = Shared Folder valid users = root public = yes writable = yes browseable = yes path = /diskb encrypt passwords = yes security = share guest ok = yes

[diskc] comment = Shared Folder valid users = root public = yes writable = yes browseable = yes path = /diskc encrypt passwords = yes security = share guest ok = yes

 

 

 

 

ssh root@**.**.**.** scp -r root@**.**.**.**:/abc/abcd /cygdrive/d

 

 

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值