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-796532

Nicholas Bourbaki's questions

Martin Hope
Nicholas Bourbaki
Asked: 2021-01-11 15:24:27 +0800 CST

如何在 Ubuntu 20.0.4 LTS 上安装 XFCE 并删除 gnome [重复]

  • 2
这个问题在这里已经有了答案:
如何从 Ubuntu 20.04 LTS 中删除 GNOME Shell 以从头开始安装其他桌面环境? (2 个回答)
去年关闭。

正在运行 xUbuntu 18.0.4 LTS 并升级(通过 DVD 重新安装)到 Ubuntu 20.0.4。我想回到 XFCE 桌面,因为它发现 gnome 无法用于我的应用程序。特别是我对 Nautilus 有很多问题,但我真的很喜欢 Thunar。这些是文件管理器程序。

我尝试按照 Linuxconfig.org 上的一篇文章安装它(xfce),该文章给出了以下过程:

sudo apt install tasksel

sudo tasksel 安装 xubuntu-desktop

这可能安装了也可能没有安装 xfce,但它提到有一些步骤可以选择要使用的桌面。不幸的是,我在任何地方都找不到选择器,也不希望每次重新启动时都通过选择过程。我仍在将“文件”(又名 Nautilus)作为应用程序运行。

有什么方法可以安装 XFCE 使我的系统成为 xUbuntu 并删除 gnome 或尽可能多的 gnome?当然,这与 Focal Fossa 相关:即 Ubuntu 20.0.4。如果必须,我可以进行新安装,前提是我可以找到 xUbuntu 20.0.4 版本。

unity
  • 1 个回答
  • 7002 Views
Martin Hope
Nicholas Bourbaki
Asked: 2020-11-06 08:28:54 +0800 CST

Samba 客户端无法在 Ubuntu 18.04 上运行,需要帮助

  • 0

我正在使用 Samba 客户端尝试从 Linux 查看驻留在 Windows-10 64 位计算机上的共享目录。samba 安装在我的 xUbuntu 18.04 64 位笔记本电脑上。XUbuntu 就像普通的 Ubuntu 一样,只是它使用了我喜欢的 XFCE 桌面。我对我的 /etc/samba/smb.conf 做了一些更改,但不清楚具体需要做什么。

两台计算机都是“FSI”工作组的一部分。我启动服务 smbd 和 nmbd。然后,通过 Linux 笔记本电脑上的文件浏览器,我可以转到 FSI 工作组并查看 Windows 机器 {名为“TIBERIUS”} 以及名为 {“XENOBA-LIN”} 的 Linux 笔记本电脑。但是我不能去查看共享目录或 TIBERIUS 上的任何目录。当两台机器都重新启动到 Windows 时,我可以。

我不希望 Linux 笔记本电脑成为服务器,因为它只是间歇性地在网络上。windows 机器应该是主要的名称服务器和服务器。这是我在 Linux 机器上的 smb.conf 的缩写副本。

/etc/samba/smb.conf

#======================= Global Settings =======================
[global]
## Browsing/Identification ###
# Change this to the workgroup/NT-domain name your Samba server will part of
   workgroup = FSI

# server string is the equivalent of the NT Description field
    server string = %h server (Samba, Ubuntu)

# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server
   wins support = yes

# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
#   wins server = w.x.y.z

# This will prevent nmbd to search for NetBIOS names through DNS.
   dns proxy = no

#### Networking ####
### note IP 192.168.1.72 is for Tiberius: the remote Windows machine  ####
### anyhow it's commented out I think  ###
;   interfaces = 192.168.1.72/8 eth0

# Only bind to the named interfaces and/or networks; you must use the
;   bind interfaces only = yes
####### Authentication #######

# Server role. Defines in which mode Samba will operate. Possible
# values are "standalone server", "member server", "classic primary
# domain controller", "classic backup domain controller", "active
# directory domain controller". 
#
# Most people will want "standalone sever" or "member server".
# Running as "active directory domain controller" will require first
# running "samba-tool domain provision" to wipe databases and create a
# new domain.
   server role = standalone server

# If you are using encrypted passwords, Samba will need to know what
# password database type you are using.  
   passdb backend = tdbsam

   obey pam restrictions = yes

# This boolean parameter controls whether Samba attempts to sync the Unix
# password with the SMB password when the encrypted SMB password in the
# passdb is changed.
   unix password sync = yes

# For Unix password sync to work on a Debian GNU/Linux system, the following
# parameters must be set (thanks to Ian Kahan <<[email protected]> for
# sending the correct chat script for the passwd program in Debian Sarge).
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .

# This boolean controls whether PAM will be used for password changes
# when requested by an SMB client instead of the program listed in
# 'passwd program'. The default is 'no'.
   pam password change = yes

# This option controls how unsuccessful authentication attempts are mapped
# to anonymous connections
   map to guest = bad user

########## Domains ###########

############ Misc ############
# all the usual defaults here except when listed

# Maximum number of usershare. 0 (default) means that usershare is disabled.
;   usershare max shares = 100

# Allow users who've been granted usershare privileges to create
# public shares, not just authenticated ones
   usershare allow guests = yes

我还要附上截图

工作组发现这就是我所能得到的

networking samba client file-sharing
  • 2 个回答
  • 1822 Views
Martin Hope
Nicholas Bourbaki
Asked: 2018-03-10 14:37:30 +0800 CST

如何设置目录的读写权限

  • 7

我刚刚使用 Nautilus 将一个 2.8 Gb 的文件夹复制到了我的 usr/home 目录。它包含许多文件夹和文件,但我无权阅读它们。如何为自己全局设置读写和执行权限。

我的计算机上有一个用户帐户和 root 帐户。但是我不想以root身份做所有事情。

permissions
  • 2 个回答
  • 93552 Views

Sidebar

Stats

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

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

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

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve