har-kuun / oneclickdesktop Goto Github PK
View Code? Open in Web Editor NEWA one-click script that installs a remote desktop environment on a Linux server with browser/RDP/VNC access.
A one-click script that installs a remote desktop environment on a Linux server with browser/RDP/VNC access.
rt
还有一个问题:域名是ssh连接到的域名还是hostname?
完毕!
Created symlink from /etc/systemd/system/multi-user.target.wants/tomcat9.service to /etc/systemd/system/tomcat9.service.
--2023-07-31 16:06:33-- https://mirrors.ocf.berkeley.edu/apache/guacamole/1.2.0/source/guacamole-server-1.2.0.tar.gz
正在解析主机 mirrors.ocf.berkeley.edu (mirrors.ocf.berkeley.edu)... 169.229.200.70, 2607:f140:0:32::70
正在连接 mirrors.ocf.berkeley.edu (mirrors.ocf.berkeley.edu)|169.229.200.70|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 404 Not Found
2023-07-31 16:06:34 错误 404:Not Found。
tar (child): guacamole-server-1.2.0.tar.gz:无法 open: 没有那个文件或目录
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
OneClickDesktop.sh: 第 305 行:cd: /root/guacamole-server-1.2.0: 没有那个文件或目录
Start building Guacamole Server from source...
OneClickDesktop.sh:行307: ./configure: 没有那个文件或目录
Missing dependencies.
Please check log, install required dependencies, and run this script again.
Please also consider to report your log here https://github.com/Har-Kuun/OneClickDesktop/issues so that I can fix this issue.
Thank you!
[root@VM-0-11-centos ~]# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
`--2021-09-27 01:24:56-- https://mirrors.ocf.berkeley.edu/apache/guacamole/1.2.0/source/guacamole-server-1.2.0.tar.gz
Resolving mirrors.ocf.berkeley.edu (mirrors.ocf.berkeley.edu)... 169.229.226.30, 2607:f140:8801::1:30
Connecting to mirrors.ocf.berkeley.edu (mirrors.ocf.berkeley.edu)|169.229.226.30|:443... failed: Connection refused.
Connecting to mirrors.ocf.berkeley.edu (mirrors.ocf.berkeley.edu)|2607:f140:8801::1:30|:443... failed: Network is unreachable.
tar (child): guacamole-server-1.2.0.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
OneClickDesktop_zh-CN.sh: line 239: cd: /root/guacamole-server-1.2.0: No such file or directory
开始安装Guacamole服务器...
OneClickDesktop_zh-CN.sh: line 241: ./configure: No such file or directory
依赖环境缺失。`
一键脚本里面下载的版本是 guacamole-server-1.2.0,https://mirrors.ocf.berkeley.edu/apache/guacamole/ 已经更新到 1.5 了,没有1.2的下载链接。Guacamole安装失败,需要修复。
It would be cool to ask the user questions at the start of the script e.g. user name, passwords, domain, email, IP confirmation etc.
After I installed it, I found that the vps became very laggy, and I want to uninstall this feature, how should I do it? Thank you!
桌面没有顶上那个栏,于是想重启一次,重启完就重定向次数过多。
If after install w/audio enabled they still can't play say a youtube music video in Firefox
$ rm -R ~/.config/pulse
$ pulseaudio -k
NOTE:
The "pulseaudo -k" command will recreate the ~/.config/pulse file automatically and restart pulseaudio automatically too with just that one command.
系统版本:CentOS SELinux 8 x64
可不可以直接检测环境自动安装呢
大佬请看一下以下报错,谢谢。
编译条件已满足!
开始编译源码...
make all-recursive
make[1]: Entering directory /home/opc/xrdp' Making all in common make[2]: Entering directory
/home/opc/xrdp/common'
CC base64.lo
CC fifo.lo
CC file.lo
CC guid.lo
guid.c: In function 'guid_new':
guid.c:36:12: error: missing braces around initializer [-Werror=missing-braces]
struct guid guid = {0};
^
guid.c:36:12: error: (near initialization for 'guid.g') [-Werror=missing-braces]
cc1: all warnings being treated as errors
make[2]: *** [guid.lo] Error 1
make[2]: Leaving directory /home/opc/xrdp/common' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/home/opc/xrdp'
make: *** [all] Error 2
Making install in common
make[1]: Entering directory /home/opc/xrdp/common' CC guid.lo guid.c: In function 'guid_new': guid.c:36:12: error: missing braces around initializer [-Werror=missing-braces] struct guid guid = {0}; ^ guid.c:36:12: error: (near initialization for 'guid.g') [-Werror=missing-braces] cc1: all warnings being treated as errors make[1]: *** [guid.lo] Error 1 make[1]: Leaving directory
/home/opc/xrdp/common'
make: *** [install-recursive] Error 1
Failed to start xrdp.service: Unit not found.
XRDP安装失败!
请检查上面的日志。
编译条件已满足!
开始编译源码...
make all-recursive
make[1]: 进入目录“/root/xrdp”
Making all in common
make[2]: 进入目录“/root/xrdp/common”
CC base64.lo
CC fifo.lo
CC file.lo
CC guid.lo
guid.c: In function 'guid_new':
guid.c:36:12: error: missing braces around initializer [-Werror=missing-braces]
struct guid guid = {0};
^
guid.c:36:12: error: (near initialization for 'guid.g') [-Werror=missing-braces]
cc1: all warnings being treated as errors
make[2]: *** [guid.lo] 错误 1
make[2]: 离开目录“/root/xrdp/common”
make[1]: *** [all-recursive] 错误 1
make[1]: 离开目录“/root/xrdp”
make: *** [all] 错误 2
Making install in common
make[1]: 进入目录“/root/xrdp/common”
CC guid.lo
guid.c: In function 'guid_new':
guid.c:36:12: error: missing braces around initializer [-Werror=missing-braces]
struct guid guid = {0};
^
guid.c:36:12: error: (near initialization for 'guid.g') [-Werror=missing-braces]
cc1: all warnings being treated as errors
make[1]: *** [guid.lo] 错误 1
make[1]: 离开目录“/root/xrdp/common”
make: *** [install-recursive] 错误 1
Failed to start xrdp.service: Unit not found.
I've hit this error on a debian 10 machine on Hetzner in the browser...
Unable to contact settings server
/usr/bin/dbus-launch terminated abnormally without any error message
There is a second error message shown...
Unable to load a failsafe session
I wonder if this is because the Hetzner image is missing something?
我需要手动开启SSL证书但是检查了NGINX里面没有对应的配置
先把日志贴上来,没有时间继续看了。
`Fetched 146 MB in 16s (9,404 kB/s)
E: Failed to fetch http://mirrors.cloud.aliyuncs.com/ubuntu/pool/main/x/xorg-server/xserver-xorg-core_1.19.6-1ubuntu4.4_amd64.deb Undetermined Error [IP: 100.100.2.148 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
�[32m�[1m桌面环境,浏览器,以及VNC服务器安装成功。�(B�[0m
开始配置VNC服务器...
spawn /usr/bin/vncpasswd
couldn't execute "/usr/bin/vncpasswd": no such file or directory
while executing
"spawn "/usr/bin/vncpasswd""
1.sh: line 288: vncserver: command not found
1.sh: line 290: vncserver: command not found
Job for [email protected] failed because the control process exited with error code.
See "systemctl status [email protected]" and "journalctl -xe" for details.
Created symlink /etc/systemd/system/multi-user.target.wants/[email protected] → /etc/systemd/system/[email protected].
1.sh: line 294: /root/Desktop/EnableCopyPaste.sh: No such file or directory
1.sh: line 293: /usr/bin/vncconfig: No such file or directory
chmod: cannot access '/root/Desktop/EnableCopyPaste.sh': No such file or directory`
环境 :ubuntu 18.04
安装过程顺利完成(没有安装ssl 所以选择了N)
安装完成后没有错误报错。但打开域名,提示的是Ningx默认安装完成后的欢迎使用页面,没有看到桌面!
重新安装的系统,选择的20.04 然后更新了系统。
运行脚本安装。也报错了。
Fetched 109 MB in 37s (2,972 kB/s)
E: Failed to fetch http://mirrors.cloud.aliyuncs.com/ubuntu/pool/universe/e/exo/libexo-1-0_0.12.11-1ubuntu1_amd64.deb Undetermined Error [IP: 100.100.2.148 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
�[32m�[1mDesktop, browser, and VNC server successfully installed.�(B�[0m
Starting to configure VNC server...
spawn /usr/bin/vncpasswd
couldn't execute "/usr/bin/vncpasswd": no such file or directory
while executing
"spawn "/usr/bin/vncpasswd""
1.sh: line 288: vncserver: command not found
1.sh: line 290: vncserver: command not found
Job for [email protected] failed because the control process exited with error code.
See "systemctl status [email protected]" and "journalctl -xe" for details.
Created symlink /etc/systemd/system/multi-user.target.wants/[email protected] → /etc/systemd/system/[email protected].
1.sh: line 294: /root/Desktop/EnableCopyPaste.sh: No such file or directory
1.sh: line 293: /usr/bin/vncconfig: No such file or directory
chmod: cannot access '/root/Desktop/EnableCopyPaste.sh': No such file or directory
�[31mVNC installation failed!�(B�[0m
�[33m�[1mPlease check the above log for reasons.�(B�[0m
Please also consider to report your log here https://github.com/Har-Kuun/OneClickDesktop/issues so that I can fix this issue.
Thank you!
这个我也不知道算不算问题。
checking pngstruct.h usability... no
checking pngstruct.h presence... no
checking for pngstruct.h... no
checking for cos in -lm... yes
checking for png_write_png in -lpng... no
configure: error: "libpng is required for writing png messages"
�[31m依赖环境缺失。�(B�[0m
请核查日志,安装必要的依赖环境,并再次运行此脚本。
欢迎您在https://github.com/Har-Kuun/OneClickDesktop/issues这里提交错误报告,以便我修复脚本。
谢谢!
先提一个Issues了。
登录后就是一片蓝屏
建议把nginx反代变为可选项,可以通过ip:8080/guacamole访问,同时建议增加修改8080为其它端口的功能。
第一次安装域名输错了,就开始重新装,第二次装完后打开是nginx的首页,用ip加8080端口访问是tomcat的首页,添加/guacamole路径的话就是404
�[33m�[1mPlease input your 8-character VNC password:�(B�[0m
Please note that VNC password is NOT needed for browser access.
mkdir: cannot create directory ‘/etc/guacamole/’: File exists
�[32m�[1mGuacamole successfully configured!�(B�[0m
Starting to install desktop, browser, and VNC server...
�[33m�[1mPlease note that if you are asked to configure LightDM during this step, simply press Enter.�(B�[0m
Press Enter to continue.
Reading package lists...
Building dependency tree...
Reading state information...
tigervnc-standalone-server is already the newest version (1.7.0+dfsg-8ubuntu2).
xfce4 is already the newest version (4.12.4).
xfce4-goodies is already the newest version (4.12.4).
firefox is already the newest version (79.0+build1-0ubuntu0.18.04.1).
The following package was automatically installed and is no longer required:
linux-modules-4.15.0-29-generic
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
�[32m�[1mDesktop, browser, and VNC server successfully installed.�(B�[0m
Starting to configure VNC server...
mkdir: cannot create directory ‘/root/.vnc’: File exists
spawn /usr/bin/vncpasswd
Password:
Verify:
Would you like to enter a view-only password (y/n)? n
New 'localhost.localdomain:2 (root)' desktop at :2 on machine localhost.localdomain
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/localhost.localdomain:2.log
Use xtigervncviewer -SecurityTypes VncAuth -passwd /root/.vnc/passwd :2 to connect to the VNC server.
Killing Xtigervnc process ID 24324... success!
Warning: The unit file, source configuration file or drop-ins of [email protected] changed on disk. Run 'systemctl daemon-reload' to reload units.
/usr/bin/vncconfig: unable to open display ":1"
�[32m�[1mVNC and desktop successfully configured!�(B�[0m
�[33m�[1mSetting up Nginx reverse proxy...�(B�[0m
Reading package lists...
Building dependency tree...
Reading state information...
python3-certbot-nginx is already the newest version (0.23.0-1).
nginx is already the newest version (1.14.0-0ubuntu1.7).
certbot is already the newest version (0.27.0-1~ubuntu18.04.1).
The following package was automatically installed and is no longer required:
linux-modules-4.15.0-29-generic
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
�[32m�[1mNginx successfully installed!�(B�[0m
Please tell me your domain name (e.g., desktop.qing.su):
nginx.service is not active, cannot reload.
Would you like to install a free Let's Encrypt certificate for domain name desktop.oldzhg.com? [Y/N]
�[33m�[1mPlease point your domain name to this server IP BEFORE continuing!�(B�[0m
Type Y if you are sure that your domain is now pointing to this server IP.
Please input an e-mail address:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator nginx, Installer nginx
Cert not yet due for renewal
You have an existing certificate that has exactly the same domains or certificate name you requested and isn't close to expiry.
(ref: /etc/letsencrypt/renewal/desktop.oldzhg.com.conf)
What would you like to do?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: Attempt to reinstall this existing certificate
2: Renew & replace the cert (limit ~5 per 7 days)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Select the appropriate number [1-2] then [enter] (press 'c' to cancel): Keeping the existing certificate
Deploying Certificate to VirtualHost /etc/nginx/sites-enabled/default
nginx: [warn] conflicting server name "desktop.oldzhg.com" on 0.0.0.0:80, ignored
nginx: [warn] conflicting server name "desktop.oldzhg.com" on [::]:80, ignored
Enhancement Strict-Transport-Security was already set.
Redirecting all traffic on port 80 to ssl in /etc/nginx/conf.d/guacamole.conf
nginx: [warn] conflicting server name "desktop.oldzhg.com" on 0.0.0.0:80, ignored
nginx: [warn] conflicting server name "desktop.oldzhg.com" on [::]:80, ignored
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Congratulations! You have successfully enabled https://desktop.oldzhg.com
Tomcat Centos下载源404
原命令
https://github.com/Har-Kuun/OneClickDesktop/blob/master/OneClickDesktop_zh-CN.sh#L345
curl -s https://mirrors.ocf.berkeley.edu/apache/tomcat/tomcat-9/v9.0.38/bin/apache-tomcat-9.0.38.tar.gz
其中
https://mirrors.ocf.berkeley.edu/apache/tomcat/tomcat-9/v9.0.38/bin/apache-tomcat-9.0.38.tar.gz
404了,tomcat目录只有9.0.41和9.0.43版本的。
比如树莓派4的ubuntu系统
Currently only Firefox is preinstalled. Maybe add an option to install chrome in the future.
支持centos7吗?
Use xtigervncviewer -SecurityTypes VncAuth -passwd /home/chou/.vnc/passwd :1 to connect to the VNC server.
Killing Xtigervnc process ID 3355... success!
Warning: The unit file, source configuration file or drop-ins of [email protected] changed on disk. Run 'systemctl daemon-reload' to reload units.
Job for [email protected] failed because the control process exited with error code.
See "systemctl status [email protected]" and "journalctl -xe" for details.
/usr/bin/vncconfig: unable to open display ":1"
VNC安装失败!
如题
不支持或不允许使用文件传输。请联系您的系统管理员,或检查您的系统日志。
如题,多次重复提示缺失依赖:
`2020-08-17 22:31:21 (160 KB/s) - ‘guacamole-server-1.2.0.tar.gz’ saved [1048759/1048759]
Start building Guacamole Server from source...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... no
checking whether make supports nested variables... no
checking whether make supports nested variables... (cached) no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for style of include used by make... none
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in /root/guacamole-server-1.2.0': configure: error: no acceptable C compiler found in $PATH See
config.log' for more details
Missing dependencies.
Please check log, install required dependencies, and run this script again.
Please also consider to report your log here https://github.com/Har-Kuun/OneClickDesktop/issues so that I can fix this issue.
Thank you!`
log中看到有这几个错误:
E: Failed to fetch http://mirrors.aliyun.com/debian/pool/main/f/fcitx/libfcitx-config4_4.2.9.6-5_amd64.deb Undetermined Error [IP: 124.227.187.244 80] E: Failed to fetch http://mirrors.aliyun.com/debian/pool/main/f/fonts-noto/fonts-noto-unhinted_20181227-1_all.deb Undetermined Error [IP: 124.227.187.244 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
重定向次数太多,无法打开,关闭cloudflare的强制https什么的都没用。
请问是否可以在docker里安装
I just realized/noticed that OneClickDesktop doesn't provide way to utilize the guacamole admin web service to add new users, connections only view active connections and be able to "kill" them?
https://guacamole.apache.org/doc/gug/administration.html
Any thought to adding the mysql/mariadb & configuration to use Guacamole's advanced Admin capabilities?
thanks
大佬,看一下吧
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: error: cannot find input file: `common/Makefile.in'
编译条件已满足!
开始编译源码...
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
Failed to start xrdp.service: Unit not found.
XRDP安装失败!
请检查上面的日志。
欢迎您在https://github.com/Har-Kuun/OneClickDesktop/issues这里提交错误报告,以便我修复脚本。
谢谢!
4月 13 09:40:20 ws xrdp[733]: (733)(140079463110464)[INFO ] Socket 12: AF_INET6 connection received from ::ffff:172.24.105.185 port 59932
4月 13 09:40:20 ws xrdp[733]: (733)(140079463110464)[DEBUG] Closed socket 12 (AF_INET6 ::ffff:172.24.105.189 port 3389)
4月 13 09:40:20 ws xrdp[4399]: (4399)(140079463110464)[DEBUG] Closed socket 11 (AF_INET6 :: port 3389)
4月 13 09:40:20 ws xrdp[4399]: (4399)(140079463110464)[INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
4月 13 09:40:20 ws xrdp[4399]: (4399)(140079463110464)[INFO ] Using default X.509 key file: /etc/xrdp/key.pem
4月 13 09:40:20 ws xrdp[4399]: (4399)(140079463110464)[DEBUG] TLSv1.2 enabled
4月 13 09:40:20 ws xrdp[4399]: (4399)(140079463110464)[DEBUG] TLSv1.1 enabled
4月 13 09:40:20 ws xrdp[4399]: (4399)(140079463110464)[DEBUG] TLSv1 enabled
4月 13 09:40:20 ws xrdp[4399]: (4399)(140079463110464)[DEBUG] Closed socket 12 (AF_INET6 ::ffff:172.24.105.189 port 3389)
4月 13 09:40:20 ws xrdp[733]: (733)(140079463110464)[INFO ] Socket 12: AF_INET6 connection received from ::ffff:172.24.105.185 port 59934
4月 13 09:40:20 ws xrdp[733]: (733)(140079463110464)[DEBUG] Closed socket 12 (AF_INET6 ::ffff:172.24.105.189 port 3389)
4月 13 09:40:20 ws xrdp[4400]: (4400)(140079463110464)[DEBUG] Closed socket 11 (AF_INET6 :: port 3389)
4月 13 09:40:20 ws xrdp[4400]: (4400)(140079463110464)[INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
4月 13 09:40:20 ws xrdp[4400]: (4400)(140079463110464)[INFO ] Using default X.509 key file: /etc/xrdp/key.pem
4月 13 09:40:20 ws xrdp[4400]: (4400)(140079463110464)[DEBUG] TLSv1.2 enabled
4月 13 09:40:20 ws xrdp[4400]: (4400)(140079463110464)[DEBUG] TLSv1.1 enabled
4月 13 09:40:20 ws xrdp[4400]: (4400)(140079463110464)[DEBUG] TLSv1 enabled
4月 13 09:40:20 ws xrdp[4400]: (4400)(140079463110464)[DEBUG] Security layer: requested 1, selected 1
4月 13 09:40:20 ws xrdp[4400]: (4400)(140079463110464)[INFO ] connected client computer name: Guacamole RDP
4月 13 09:40:20 ws xrdp[4400]: (4400)(140079463110464)[INFO ] TLS connection established from ::ffff:172.24.105.185 port 59934: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384
4月 13 09:40:21 ws xrdp[4400]: (4400)(140079463110464)[DEBUG] xrdp_00001130_wm_login_mode_event_00000001
4月 13 09:40:21 ws xrdp[4400]: (4400)(140079463110464)[INFO ] Loading keymap file /etc/xrdp/km-00000409.ini
4月 13 09:40:21 ws xrdp[4400]: (4400)(140079463110464)[WARN ] local keymap file for 0x00000409 found and doesn't match built in keymap, using local keymap file
4月 13 09:40:21 ws xrdp[4400]: (4400)(140079463110464)[DEBUG] xrdp_wm_log_msg: connecting to sesman ip 127.0.0.1 port 3350
4月 13 09:40:21 ws xrdp[4400]: (4400)(140079463110464)[INFO ] xrdp_wm_log_msg: sesman connect ok
4月 13 09:40:21 ws xrdp[4400]: (4400)(140079463110464)[DEBUG] xrdp_wm_log_msg: sending login info to session manager, please wait...
4月 13 09:40:21 ws xrdp[4400]: (4400)(140079463110464)[DEBUG] return value from xrdp_mm_connect 0
4月 13 09:40:21 ws xrdp[4400]: (4400)(140079463110464)[INFO ] xrdp_wm_log_msg: login successful for display 11
4月 13 09:40:21 ws xrdp[4400]: (4400)(140079463110464)[DEBUG] xrdp_wm_log_msg: started connecting
4月 13 09:40:21 ws xrdp[4400]: (4400)(140079463110464)[INFO ] lib_mod_log_peer: xrdp_pid=4400 connected to X11rdp_pid=1359 X11rdp_uid=1000 X11rdp_gid=1000 client_ip=::ffff:172.24.105.185 client_port=59934
4月 13 09:40:21 ws xrdp[4400]: (4400)(140079463110464)[DEBUG] xrdp_wm_log_msg: connected ok
4月 13 09:40:21 ws xrdp[4400]: (4400)(140079463110464)[DEBUG] xrdp_mm_connect_chansrv: chansrv connect successful
4月 13 09:40:21 ws xrdp[4400]: (4400)(140079463110464)[DEBUG] Closed socket 20 (AF_INET6 ::1 port 45470)
4月 13 09:40:22 ws xrdp[4400]: (4400)(140079463110464)[INFO ] The following channel is allowed: cliprdr (0)
4月 13 09:40:22 ws xrdp[4400]: (4400)(140079463110464)[INFO ] The following channel is allowed: rdpdr (1)
4月 13 09:40:22 ws xrdp[4400]: (4400)(140079463110464)[INFO ] The following channel is allowed: rdpsnd (2)
4月 13 09:40:22 ws xrdp[4400]: (4400)(140079463110464)[DEBUG] The allow channel list now initialized for this session
4月 13 09:40:22 ws xrdp[4400]: (4400)(140079463110464)[DEBUG] Closed socket 12 (AF_INET6 ::ffff:172.24.105.189 port 3389)
4月 13 09:40:22 ws xrdp[4400]: (4400)(140079463110464)[DEBUG] xrdp_mm_module_cleanup
4月 13 09:40:22 ws xrdp[4400]: (4400)(140079463110464)[DEBUG] Closed socket 21 (AF_UNIX)
4月 13 09:40:22 ws xrdp[4400]: (4400)(140079463110464)[DEBUG] Closed socket 22 (AF_UNIX)
guacd使用xrdp连接ubuntu闪退,但是使用mstsc连接没有任何问题,查看连接机器日志如上,mstsc连接上之后会在“The allow channel list now initialized for this session”语句之后阻塞,但是使用guacd会在这条语句后直接关闭连接,猜测是不是某些配置的问题,guacd使用的是centos,已经关闭selinux。
打开桌面出现/bin/dbus-launch terminated abnormally without any error message
然后无法进入桌面
安装dbus-x11并重启会话后解决
apt install dbus-x11
vncserver -kill :1
systemctl restart [email protected]
As per current settings, Chinese characters, Japanese characters, etc., cannot be correctly displayed.
see title.
It can be valuable for Guacamole remote desktop installs to offer Installer choice of using LetsEncrypt Cert or just a Self-Signed Cert.
For testing or just internal use only... a Self-Signed Cert works fine. Later the Installer could change to a LetsEncrypt Cert
Brian
比如类似nextcloud之类的教程,这样文件方面同步就很快了,而且多个终端可以通过浏览器访问主机,非常方便吧
--2023-03-30 09:03:32-- https://mirrors.ocf.berkeley.edu/apache/guacamole/1.2.0/source/guacamole-server-1.2.0.tar.gz
Resolving mirrors.ocf.berkeley.edu (mirrors.ocf.berkeley.edu)... 169.229.200.70, 2607:f140:0:32::70
Connecting to mirrors.ocf.berkeley.edu (mirrors.ocf.berkeley.edu)|169.229.200.70|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-03-30 09:03:33 ERROR 404: Not Found.
tar (child): guacamole-server-1.2.0.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
OneClickDesktop.sh: line 239: cd: /root/guacamole-server-1.2.0: No such file or directory
Start building Guacamole Server from source...
OneClickDesktop.sh: line 241: ./configure: No such file or directory
在WSL Ubuntu18.04上运行报错如下:
Type "make" to compile guacamole-server.
编译条件已满足!
开始编译源码...
make all-recursive
make[1]: Entering directory '/home/ihid/guacamole-server-1.2.0'
Making all in src/libguac
make[2]: Entering directory '/home/ihid/guacamole-server-1.2.0/src/libguac'
Making all in .
make[3]: Entering directory '/home/ihid/guacamole-server-1.2.0/src/libguac'
CC libguac_la-audio.lo
CC libguac_la-client.lo
CC libguac_la-encode-jpeg.lo
CC libguac_la-encode-png.lo
CC libguac_la-error.lo
CC libguac_la-hash.lo
CC libguac_la-id.lo
CC libguac_la-palette.lo
CC libguac_la-parser.lo
CC libguac_la-pool.lo
CC libguac_la-protocol.lo
CC libguac_la-raw_encoder.lo
CC libguac_la-socket.lo
CC libguac_la-socket-broadcast.lo
CC libguac_la-socket-fd.lo
CC libguac_la-socket-nest.lo
CC libguac_la-socket-tee.lo
CC libguac_la-string.lo
CC libguac_la-timestamp.lo
CC libguac_la-unicode.lo
CC libguac_la-user.lo
CC libguac_la-user-handlers.lo
CC libguac_la-user-handshake.lo
CC libguac_la-wait-fd.lo
CC libguac_la-wol.lo
CC libguac_la-encode-webp.lo
CC libguac_la-socket-ssl.lo
CCLD libguac.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[3]: Leaving directory '/home/ihid/guacamole-server-1.2.0/src/libguac'
Making all in tests
make[3]: Entering directory '/home/ihid/guacamole-server-1.2.0/src/libguac/tests'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/ihid/guacamole-server-1.2.0/src/libguac/tests'
make[2]: Leaving directory '/home/ihid/guacamole-server-1.2.0/src/libguac'
Making all in src/common
make[2]: Entering directory '/home/ihid/guacamole-server-1.2.0/src/common'
Making all in .
make[3]: Entering directory '/home/ihid/guacamole-server-1.2.0/src/common'
CC libguac_common_la-io.lo
CC libguac_common_la-blank_cursor.lo
CC libguac_common_la-clipboard.lo
CC libguac_common_la-cursor.lo
CC libguac_common_la-display.lo
CC libguac_common_la-dot_cursor.lo
CC libguac_common_la-ibar_cursor.lo
CC libguac_common_la-iconv.lo
CC libguac_common_la-json.lo
CC libguac_common_la-list.lo
CC libguac_common_la-pointer_cursor.lo
CC libguac_common_la-recording.lo
CC libguac_common_la-rect.lo
CC libguac_common_la-string.lo
CC libguac_common_la-surface.lo
CCLD libguac_common.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[3]: Leaving directory '/home/ihid/guacamole-server-1.2.0/src/common'
Making all in tests
make[3]: Entering directory '/home/ihid/guacamole-server-1.2.0/src/common/tests'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/ihid/guacamole-server-1.2.0/src/common/tests'
make[2]: Leaving directory '/home/ihid/guacamole-server-1.2.0/src/common'
Making all in src/common-ssh
make[2]: Entering directory '/home/ihid/guacamole-server-1.2.0/src/common-ssh'
Making all in .
make[3]: Entering directory '/home/ihid/guacamole-server-1.2.0/src/common-ssh'
CC libguac_common_ssh_la-buffer.lo
CC libguac_common_ssh_la-dsa-compat.lo
CC libguac_common_ssh_la-rsa-compat.lo
CC libguac_common_ssh_la-sftp.lo
CC libguac_common_ssh_la-ssh.lo
CC libguac_common_ssh_la-key.lo
key.c: In function ‘guac_common_ssh_key_sign’:
key.c:202:13: error: ‘RSA_sign’ is deprecated [-Werror=deprecated-declarations]
if (RSA_sign(NID_sha1, digest, dlen, sig, &len, key->rsa) == 1)
^~
In file included from /usr/local/include/openssl/opensslv.h:109:0,
from /usr/local/include/openssl/macros.h:11,
from /usr/local/include/openssl/opensslconf.h:14,
from /usr/local/include/openssl/macros.h:10,
from /usr/local/include/openssl/bn.h:15,
from common-ssh/buffer.h:25,
from key.c:22:
/usr/local/include/openssl/rsa.h:332:1: note: declared here
DEPRECATEDIN_3_0(int RSA_sign(int type, const unsigned char *m,
^
key.c:208:13: error: ‘DSA_do_sign’ is deprecated [-Werror=deprecated-declarations]
DSA_SIG* dsa_sig = DSA_do_sign(digest, dlen, key->dsa);
^~~~~~~
In file included from /usr/local/include/openssl/opensslv.h:109:0,
from /usr/local/include/openssl/macros.h:11,
from /usr/local/include/openssl/opensslconf.h:14,
from /usr/local/include/openssl/macros.h:10,
from /usr/local/include/openssl/bn.h:15,
from common-ssh/buffer.h:25,
from key.c:22:
/usr/local/include/openssl/dsa.h:99:1: note: declared here
DEPRECATEDIN_3_0(DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen,
^
cc1: all warnings being treated as errors
Makefile:574: recipe for target 'libguac_common_ssh_la-key.lo' failed
make[3]: *** [libguac_common_ssh_la-key.lo] Error 1
make[3]: Leaving directory '/home/ihid/guacamole-server-1.2.0/src/common-ssh'
Makefile:600: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/ihid/guacamole-server-1.2.0/src/common-ssh'
Makefile:533: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/ihid/guacamole-server-1.2.0'
Makefile:455: recipe for target 'all' failed
make: *** [all] Error 2
Making install in src/libguac
make[1]: Entering directory '/home/ihid/guacamole-server-1.2.0/src/libguac'
Making install in .
make[2]: Entering directory '/home/ihid/guacamole-server-1.2.0/src/libguac'
make[3]: Entering directory '/home/ihid/guacamole-server-1.2.0/src/libguac'
/bin/mkdir -p '/usr/local/lib'
/bin/bash ../../libtool --mode=install /usr/bin/install -c libguac.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libguac.so.17.1.0 /usr/local/lib/libguac.so.17.1.0
libtool: install: (cd /usr/local/lib && { ln -s -f libguac.so.17.1.0 libguac.so.17 || { rm -f libguac.so.17 && ln -s libguac.so.17.1.0 libguac.so.17; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libguac.so.17.1.0 libguac.so || { rm -f libguac.so && ln -s libguac.so.17.1.0 libguac.so; }; })
libtool: install: /usr/bin/install -c .libs/libguac.lai /usr/local/lib/libguac.la
libtool: install: /usr/bin/install -c .libs/libguac.a /usr/local/lib/libguac.a
libtool: install: chmod 644 /usr/local/lib/libguac.a
libtool: install: ranlib /usr/local/lib/libguac.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/mkdir -p '/usr/local/include/guacamole'
/usr/bin/install -c -m 644 guacamole/audio.h guacamole/audio-fntypes.h guacamole/audio-types.h guacamole/client-constants.h guacamole/client.h guacamole/client-fntypes.h guacamole/client-types.h guacamole/error.h guacamole/error-types.h guacamole/hash.h guacamole/layer.h guacamole/layer-types.h guacamole/object.h guacamole/object-types.h guacamole/parser-constants.h guacamole/parser.h guacamole/parser-types.h guacamole/plugin-constants.h guacamole/plugin.h guacamole/pool.h guacamole/pool-types.h guacamole/protocol.h guacamole/protocol-constants.h guacamole/protocol-types.h guacamole/socket-constants.h guacamole/socket.h guacamole/socket-fntypes.h guacamole/socket-types.h guacamole/stream.h guacamole/stream-types.h guacamole/string.h guacamole/timestamp.h guacamole/timestamp-types.h guacamole/unicode.h guacamole/user.h guacamole/user-constants.h guacamole/user-fntypes.h guacamole/user-types.h guacamole/wol.h guacamole/wol-constants.h '/usr/local/include/guacamole'
/usr/bin/install -c -m 644 guacamole/socket-ssl.h '/usr/local/include/guacamole'
make[3]: Leaving directory '/home/ihid/guacamole-server-1.2.0/src/libguac'
make[2]: Leaving directory '/home/ihid/guacamole-server-1.2.0/src/libguac'
Making install in tests
make[2]: Entering directory '/home/ihid/guacamole-server-1.2.0/src/libguac/tests'
make[3]: Entering directory '/home/ihid/guacamole-server-1.2.0/src/libguac/tests'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/ihid/guacamole-server-1.2.0/src/libguac/tests'
make[2]: Leaving directory '/home/ihid/guacamole-server-1.2.0/src/libguac/tests'
make[1]: Leaving directory '/home/ihid/guacamole-server-1.2.0/src/libguac'
Making install in src/common
make[1]: Entering directory '/home/ihid/guacamole-server-1.2.0/src/common'
Making install in .
make[2]: Entering directory '/home/ihid/guacamole-server-1.2.0/src/common'
make[3]: Entering directory '/home/ihid/guacamole-server-1.2.0/src/common'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/ihid/guacamole-server-1.2.0/src/common'
make[2]: Leaving directory '/home/ihid/guacamole-server-1.2.0/src/common'
Making install in tests
make[2]: Entering directory '/home/ihid/guacamole-server-1.2.0/src/common/tests'
make[3]: Entering directory '/home/ihid/guacamole-server-1.2.0/src/common/tests'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/ihid/guacamole-server-1.2.0/src/common/tests'
make[2]: Leaving directory '/home/ihid/guacamole-server-1.2.0/src/common/tests'
make[1]: Leaving directory '/home/ihid/guacamole-server-1.2.0/src/common'
Making install in src/common-ssh
make[1]: Entering directory '/home/ihid/guacamole-server-1.2.0/src/common-ssh'
Making install in .
make[2]: Entering directory '/home/ihid/guacamole-server-1.2.0/src/common-ssh'
CC libguac_common_ssh_la-key.lo
key.c: In function ‘guac_common_ssh_key_sign’:
key.c:202:13: error: ‘RSA_sign’ is deprecated [-Werror=deprecated-declarations]
if (RSA_sign(NID_sha1, digest, dlen, sig, &len, key->rsa) == 1)
^~
In file included from /usr/local/include/openssl/opensslv.h:109:0,
from /usr/local/include/openssl/macros.h:11,
from /usr/local/include/openssl/opensslconf.h:14,
from /usr/local/include/openssl/macros.h:10,
from /usr/local/include/openssl/bn.h:15,
from common-ssh/buffer.h:25,
from key.c:22:
/usr/local/include/openssl/rsa.h:332:1: note: declared here
DEPRECATEDIN_3_0(int RSA_sign(int type, const unsigned char *m,
^
key.c:208:13: error: ‘DSA_do_sign’ is deprecated [-Werror=deprecated-declarations]
DSA_SIG* dsa_sig = DSA_do_sign(digest, dlen, key->dsa);
^~~~~~~
In file included from /usr/local/include/openssl/opensslv.h:109:0,
from /usr/local/include/openssl/macros.h:11,
from /usr/local/include/openssl/opensslconf.h:14,
from /usr/local/include/openssl/macros.h:10,
from /usr/local/include/openssl/bn.h:15,
from common-ssh/buffer.h:25,
from key.c:22:
/usr/local/include/openssl/dsa.h:99:1: note: declared here
DEPRECATEDIN_3_0(DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen,
^
cc1: all warnings being treated as errors
Makefile:574: recipe for target 'libguac_common_ssh_la-key.lo' failed
make[2]: *** [libguac_common_ssh_la-key.lo] Error 1
make[2]: Leaving directory '/home/ihid/guacamole-server-1.2.0/src/common-ssh'
Makefile:600: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/home/ihid/guacamole-server-1.2.0/src/common-ssh'
Makefile:533: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
第一次启动Guacamole服务器可能需要较长时间...
请耐心等待...
System has not been booted with systemd as init system (PID 1). Can't operate.
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to enable unit, unit guacd.service does not exist.
Guacamole服务器安装失败。
说明尚未支持非Systemd系统
您好,我在執行腳本AudioRedirectionSetup.sh時,發生如log文檔錯誤,是否是因為pulseaudio版次更新了而無法對應這個腳本?
OneClickDesktop_AudioRedirection.log
When I ran the install script I selected to use RDP.
After install I could log into the XFCE desktop ok.
I attempted to use the Browser to play a Youtube Music Video
The Youtube Music video would play ok but there was no audio.
pavucontrol only showed "dummy" devices where I would have expected to xrdp-pulseaudio,,,,,,
Here is a site that develops install scripts for XRDP which enables Audio/Pulseaudio
https://c-nergy.be/blog/?p=16817
** NOTE ** the section on the above web page that talks about....
Standard Installation with Parameters
The script can be used to perform a standard installation and still passes some parameters to get the most of the xRDP packages and their features. For all the Ubuntu versions, we could use the following combination of parameters
**./xrdp-installer-1.2.3.sh -s (this would enable the sound redirection)** ./xrdp-installer-1.2.3.sh -l (this would customize the xrdp login screen -see here)
Obviously, you can combine the switches (any order) to have more features enabled
./xrdp-installer-1.2.3.sh -s -l (this would enable the sound redirection and customizing the login screen)
It is possible to copy-paste within the server, but as per current configuration, it is not possible to copy at the client side and paste at the server side, or vice versa.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.