AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-869740

lampShadesDrifter's questions

Martin Hope
lampShadesDrifter
Asked: 2021-02-18 22:22:50 +0800 CST

有没有更好的方法来组织 Windows 的计算机管理控制台中的共享(相对于它们的本地层次结构)?备择方案?

  • 6

有没有办法在 Windows 的计算机管理控制台中自定义组织共享(或者更好的是根据它们在本地服务器上存在的层次结构进行组织(我知道计算机管理控制台至少知道这种结构,因为它列出了UI 中共享的“文件夹路径”))?其他一些可用于以尊重层次结构的方式查看和管理共享的常用工具?

我们在使用ADS 安全性的 CentOS7 文件服务器上有 Samba 共享。他们共享各种本地结构的文件夹,例如...

share1
    share11
        datafolder111
            <datafiles>
        datafolder112
            <datafiles>
        datafolder113
            <datafiles>
        ...
    share12
        ...
    share13
        ...
    ...
share2
    share21
        ...
    share22
        ...
    share13
        ...
    ...
...

我们通过单独的 Windows Server 2012 R2 机器上的计算机管理控制台连接到文件服务器来管理各个共享文件夹的安全/访问(例如,哪些 AD 组具有哪些类型的安全权限)。(我们单独管理 shareX 和 shareXX 文件夹,因为我们存在团队可能“拥有”shareX,但只有某些成员被允许访问 shareX[AB] 的情况)。

在此处输入图像描述

问题在于,对于大量共享(我们拥有),Computer Mgmt UI 中呈现的这种扁平列表结构非常混乱,使得共享更难管理。能够以与它们在文件服务器上的存在方式相似的结构查看共享将使事情变得更容易。

shared-folders network-shares
  • 1 个回答
  • 53 Views
Martin Hope
lampShadesDrifter
Asked: 2019-12-31 13:51:56 +0800 CST

可以在centos7上安装“members”命令吗?

  • 6

尝试安装members命令以列出组成员,但看到系统上不存在该命令且无法从任何位置安装的错误(尽管链接到的文章中有暗示):

[airflow@airflowetl dlnfs]$ members
bash: members: command not found


[airflow@airflowetl dlnfs]$ yum info members
Loaded plugins: fastestmirror
Determining fastest mirrors
 * base: mirror.grid.uchicago.edu
 * epel: mirror.sjc02.svwh.net
 * extras: mirror.oss.ou.edu
 * updates: mirror.siena.edu
maprecosystem                                                                   45/45
maprtech                                                                        23/23
Error: No matching Packages to list


[airflow@airflowetl dlnfs]$ yum search members
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.grid.uchicago.edu
 * epel: mirror.sjc02.svwh.net
 * extras: mirror.oss.ou.edu
 * updates: mirror.siena.edu
================================ N/S matched: members ================================
python-ordered-set.noarch : A Custom MutableSet that remembers its order
voms.x86_64 : Virtual Organization Membership Service
voms-api-java.noarch : Virtual Organization Membership Service Java API
voms-api-java-javadoc.noarch : Virtual Organization Membership Service Java API
                             : Documentation
voms-clients-cpp.x86_64 : Virtual Organization Membership Service Clients
voms-clients-java.noarch : Virtual Organization Membership Service Java clients
voms-devel.x86_64 : Virtual Organization Membership Service Development Files
voms-doc.noarch : Virtual Organization Membership Service Documentation
voms-server.x86_64 : Virtual Organization Membership Service Server

  Name and summary matches only, use "search all" for everything.

我知道该getent groups <group name>命令,但只是好奇成员命令在 centos7 上是否真的可用,如果可以,如何获得它(同样,文章暗示可以yum install编辑该命令)。

centos-7
  • 1 个回答
  • 341 Views
Martin Hope
lampShadesDrifter
Asked: 2019-09-19 12:40:53 +0800 CST

如何在 Windows 10 上录制整个屏幕?

  • 7

有没有办法在 Windows 10 中记录整个屏幕?

尝试使用Windows游戏栏录制(见https://www.laptopmag.com/articles/how-to-video-screen-capture-windows-10),发现只记录最近点击的窗口在点击游戏栏热键之前(也许我使用的功能不正确)。

我的实际用例是我有双显示器:一个很大,我想记录几个窗口来演示某些东西,还有一个笔记本电脑屏幕,我需要从中读取脚本(因此也需要捕获音频)。然后我在照片视频编辑器中编辑这些视频。我想记录大显示器的整个屏幕。如何在 Windows 10 中执行此操作?

windows-10 recording
  • 4 个回答
  • 2470 Views
Martin Hope
lampShadesDrifter
Asked: 2019-07-20 18:13:11 +0800 CST

TigerVNC 服务器服务启动失败

  • 7

根据这篇文章,尝试在 centos7 机器上安装 TigerVNC 以进行远程 dektop 访问(作为 root)。有以下配置

[root@HW01 ~]# cat /etc/systemd/system/vncserver@:1.service
# The vncserver service unit file
#
# Quick HowTo:
# 1. Copy this file to /etc/systemd/system/[email protected]
# 2. Replace <USER> with the actual user name and edit vncserver
#    parameters appropriately
#    (ExecStart=/usr/sbin/runuser -l <USER> -c "/usr/bin/vncserver %i"
#     PIDFile=/home/<USER>/.vnc/%H%i.pid)
# 3. Run `systemctl daemon-reload`
# 4. Run `systemctl enable vncserver@:<display>.service`
#
# DO NOT RUN THIS SERVICE if your local area network is
# untrusted!  For a secure way of using VNC, you should
# limit connections to the local host and then tunnel from
# the machine you want to view VNC on (host A) to the machine
# whose VNC output you want to view (host B)
#
# [user@hostA ~]$ ssh -v -C -L 590N:localhost:590M hostB
#
# this will open a connection on port 590N of your hostA to hostB's port 590M
# (in fact, it ssh-connects to hostB and then connects to localhost (on hostB).
# See the ssh man page for details on port forwarding)
#
# You can then point a VNC client on hostA at vncdisplay N of localhost and with
# the help of ssh, you end up seeing what hostB makes available on port 590M
#
# Use "-nolisten tcp" to prevent X connections to your VNC server via TCP.
#
# Use "-localhost" to prevent remote VNC clients connecting except when
# doing so through a secure tunnel.  See the "-via" option in the
# `man vncviewer' manual page.


[Unit]
Description=Remote desktop service (VNC)
After=syslog.target network.target

[Service]
Type=forking

# Clean any existing files in /tmp/.X11-unix environment
ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'
ExecStart=/usr/sbin/runuser -l root -c "/usr/bin/vncserver %i"
PIDFile=/root/.vnc/%H%i.pid
ExecStop=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'

[Install]
WantedBy=multi-user.target

做过...

[root@HW01 ~]# vncpasswd
Password:
Password not changed
[root@HW01 ~]#

确认 root 没有密码,但出现以下错误...

[root@HW01 ~]# systemctl start vncserver@:1.service
Job for vncserver@:1.service failed because the control process exited with error code. See "systemctl status vncserver@:1.service" and "journalctl -xe" for details.
[root@HW01 ~]# systemctl status vncserver@:1.service
● vncserver@:1.service - Remote desktop service (VNC)
   Loaded: loaded (/etc/systemd/system/vncserver@:1.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Fri 2019-07-19 16:03:11 HST; 14s ago
  Process: 72135 ExecStart=/usr/sbin/runuser -l root -c /usr/bin/vncserver %i (code=exited, status=1/FAILURE)
  Process: 72129 ExecStartPre=/bin/sh -c /usr/bin/vncserver -kill %i > /dev/null 2>&1 || : (code=exited, status=0/SUCCESS)

Jul 19 16:03:11 HW01.ucera.local systemd[1]: Starting Remote desktop service (VNC)...
Jul 19 16:03:11 HW01.co.local runuser[72135]: Password:
Jul 19 16:03:11 HW01.co.local systemd[1]: vncserver@:1.service: control process exited, cod...s=1
Jul 19 16:03:11 HW01.co.local systemd[1]: Failed to start Remote desktop service (VNC).
Jul 19 16:03:11 HW01.co.local systemd[1]: Unit vncserver@:1.service entered failed state.
Jul 19 16:03:11 HW01.co.local systemd[1]: vncserver@:1.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

任何人都知道这里可能出了什么问题?任何调试建议?

centos-7 vnc
  • 1 个回答
  • 22723 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何减少“vmmem”进程的消耗?

    • 11 个回答
  • Marko Smith

    从 Microsoft Stream 下载视频

    • 4 个回答
  • Marko Smith

    Google Chrome DevTools 无法解析 SourceMap:chrome-extension

    • 6 个回答
  • Marko Smith

    Windows 照片查看器因为内存不足而无法运行?

    • 5 个回答
  • Marko Smith

    支持结束后如何激活 WindowsXP?

    • 6 个回答
  • Marko Smith

    远程桌面间歇性冻结

    • 7 个回答
  • Marko Smith

    子网掩码 /32 是什么意思?

    • 6 个回答
  • Marko Smith

    鼠标指针在 Windows 中按下的箭头键上移动?

    • 1 个回答
  • Marko Smith

    VirtualBox 无法以 VERR_NEM_VM_CREATE_FAILED 启动

    • 8 个回答
  • Marko Smith

    应用程序不会出现在 MacBook 的摄像头和麦克风隐私设置中

    • 5 个回答
  • Martin Hope
    Vickel Firefox 不再允许粘贴到 WhatsApp 网页中? 2023-08-18 05:04:35 +0800 CST
  • Martin Hope
    Saaru Lindestøkke 为什么使用 Python 的 tar 库时 tar.xz 文件比 macOS tar 小 15 倍? 2021-03-14 09:37:48 +0800 CST
  • Martin Hope
    CiaranWelsh 如何减少“vmmem”进程的消耗? 2020-06-10 02:06:58 +0800 CST
  • Martin Hope
    Jim Windows 10 搜索未加载,显示空白窗口 2020-02-06 03:28:26 +0800 CST
  • Martin Hope
    andre_ss6 远程桌面间歇性冻结 2019-09-11 12:56:40 +0800 CST
  • Martin Hope
    Riley Carney 为什么在 URL 后面加一个点会删除登录信息? 2019-08-06 10:59:24 +0800 CST
  • Martin Hope
    zdimension 鼠标指针在 Windows 中按下的箭头键上移动? 2019-08-04 06:39:57 +0800 CST
  • Martin Hope
    jonsca 我所有的 Firefox 附加组件突然被禁用了,我该如何重新启用它们? 2019-05-04 17:58:52 +0800 CST
  • Martin Hope
    MCK 是否可以使用文本创建二维码? 2019-04-02 06:32:14 +0800 CST
  • Martin Hope
    SoniEx2 更改 git init 默认分支名称 2019-04-01 06:16:56 +0800 CST

热门标签

windows-10 linux windows microsoft-excel networking ubuntu worksheet-function bash command-line hard-drive

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve