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

LoukMouk's questions

Martin Hope
LoukMouk
Asked: 2019-03-27 22:46:21 +0800 CST

为什么不能切换用户?

  • 0

我在 VMware 工作站上有一个 ubuntu 桌面虚拟机。

我可以与我的一位用户连接到它。在这里LoukMouk。

当我尝试使用位于 GUI 右上角的选项切换用户时,它不会将我发送到页面以选择我想要连接的用户......它就像它只会锁定我的会话等待我输入我的密码。

在此处输入图像描述

我不知道为什么......这并不总是发生,有时,当我尝试第二次/第三次时,它最终向我展示了选择......

我有限的内存是否有可能阻止我打开第二个会话?我的意思是……它有时会起作用……我很困惑。

只有我一个人有这个问题吗?(:

gui desktop-environments
  • 1 个回答
  • 674 Views
Martin Hope
LoukMouk
Asked: 2019-03-16 11:31:16 +0800 CST

编译 gst-rtsp-server 示例时出错

  • 0

我目前正在尝试设置一个 Ubuntu 服务器来重新分发来自网络摄像机的 rtsp 提要。

我看到 gstreamer 的gst-rtsp-server 库可以帮助我解决这个问题。

我安装了以下软件包:

sudo apt-get install libgstrtspserver-1.0-dev
sudo apt-get install gstreamer1.0-rtsp
sudo apt-get install libglib2.0-dev

然后我在我的桌面上克隆了 gst-rtsp-server 库 repo:

git clone https://github.com/GStreamer/gst-rtsp-server.git

但是,当我尝试编译gst-rtsp-server/examples/test-launch.c作为如何使用 gcc 使用库的示例给出的 C 文件 () 时:

gcc test-launch.c -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include

我收到以下错误:

/tmp/ccM7e45N.o: In function `main':
test-launch.c:(.text+0x2e): undefined reference to `g_option_context_new'
test-launch.c:(.text+0x4a): undefined reference to `g_option_context_add_main_entries'
test-launch.c:(.text+0x4f): undefined reference to `gst_init_get_option_group'
test-launch.c:(.text+0x61): undefined reference to `g_option_context_add_group'
test-launch.c:(.text+0x79): undefined reference to `g_option_context_parse'
test-launch.c:(.text+0x99): undefined reference to `g_printerr'
test-launch.c:(.text+0xa5): undefined reference to `g_option_context_free'
test-launch.c:(.text+0xb1): undefined reference to `g_clear_error'
test-launch.c:(.text+0xc7): undefined reference to `g_option_context_free'
test-launch.c:(.text+0xd6): undefined reference to `g_main_loop_new'
test-launch.c:(.text+0xdf): undefined reference to `gst_rtsp_server_new'
test-launch.c:(.text+0x107): undefined reference to `g_object_set'
test-launch.c:(.text+0x113): undefined reference to `gst_rtsp_server_get_mount_points'
test-launch.c:(.text+0x11c): undefined reference to `gst_rtsp_media_factory_new'
test-launch.c:(.text+0x13a): undefined reference to `gst_rtsp_media_factory_set_launch'
test-launch.c:(.text+0x14b): undefined reference to `gst_rtsp_media_factory_set_shared'
test-launch.c:(.text+0x162): undefined reference to `gst_rtsp_mount_points_add_factory'
test-launch.c:(.text+0x16e): undefined reference to `g_object_unref'
test-launch.c:(.text+0x17f): undefined reference to `gst_rtsp_server_attach'
test-launch.c:(.text+0x19a): undefined reference to `g_print'
test-launch.c:(.text+0x1a6): undefined reference to `g_main_loop_run'
collect2: error: ld returned 1 exit status

有些东西我错过了,但我不知道是什么...><'

该错误显然来自缺少的标头,但是我在哪里可以得到它?

一如既往,感谢您的帮助/提示!

gcc gstreamer rtsp
  • 1 个回答
  • 3778 Views
Martin Hope
LoukMouk
Asked: 2018-12-15 05:18:59 +0800 CST

无法在 ubuntu 18.04.1 LTS 上安装 wireshark

  • 5

我创建了一个带有海狸 GUI 的全新 Ubuntu vm,但无法在其上安装 wireshark。

我使用this answer中提供的步骤从ppa获取wireshark,但我收到依赖错误或其他错误......

脚步:

$ sudo add-apt-repository ppa:wireshark-dev/stable
$ sudo apt-get update
$ sudo apt-get install wireshark

错误: 在此处输入图像描述

编辑1: 我尝试安装wireshark-qt,但我得到相同类型的错误...... 在此处输入图像描述

编辑 2: 我尝试了这篇文章的解决方案,但似乎没有一个对我的案子有帮助。

$ sudo apt-get autoremove
$ sudo apt-get update
ppa apt wireshark
  • 2 个回答
  • 8644 Views
Martin Hope
LoukMouk
Asked: 2018-11-24 14:50:58 +0800 CST

无法构建 gst-rtsp-server

  • 6

我正在尝试制作一个 rtsp 服务器,它可以从 onvif 相机捕获 rtsp 提要,然后将此流重新分发给连接到我的服务器的每个人。

我使用这个 iso 在 VMware Workstation 上创建了一个新的 Ubuntu 64 位虚拟机: https ://www.ubuntu.com/download/desktop/thank-you?version=18.04.1&architecture=amd64

然后我安装了 ubuntu-desktop:

$ sudo apt-get update
$ sudo apt-get install ubuntu-desktop
$ reboot

我将 gst-rtsp-server 从其 github 存储库克隆到我桌面上的文件夹:

$ cd Desktop
$ mkdir camSrv
$ cd camSrv
$ git clone https://github.com/GStreamer/gst-rtsp-server.git

然后我安装了这篇文章引用的依赖项:

$ sudo apt-get install autoconf -y
$ sudo apt-get install automake -y
$ sudo apt-get install autopoint -y
$ sudo apt-get install libtool -y

但是当我尝试构建 gst-rtsp-server 项目时,我不断收到错误...

我安装了一堆其他依赖项,但现在我遇到了错误:

configure: No package 'gstreamer-1.0' found
configure: error: no gstreamer-1.0 >= 1.15.0.1 (GSTreamer) found

我找不到我缺少的东西......我只想让这篇文章中提到的例子对我有用......

gstreamer rtsp
  • 1 个回答
  • 13696 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