敢闯 - 随手一记 http://www.gc24.cn/yiji.html 这是一个随手一记的合集,类似于收藏夹 Ubuntu安装GNOME桌面后,再次登录显示密码错误解决方法 http://www.gc24.cn/340.html 2025-07-02T16:13:00+08:00 在 Ubuntu 20.04 系统上安装了 GNOME 桌面环境并配置好 xRDP 服务后,尝试使用 Windows 自带的远程桌面连接工具进行访问。当直接使用  root  用户登录时,出现了以下现象:首次登录:能够成功连接桌面环境,但会弹出警告提示不推荐使用 root 用户。后续登录:尝试再次登录时,系统提示 “sorry that didn’t work please try again”,表面像是密码错误。密码验证:在 Ubuntu 终端的命令行界面下验证,确认  root  用户的密码输入完全正确。问题根源判断:根据现象(首次成功、后续失败、密码无误)分析,问题很可能源于 GNOME 桌面环境本身对  root  用户图形登录的安全限制机制。解决方法:vim /etc/pam.d/gdm-autologin注释掉:auth requied pam_succeed_if.so user ! = root quiet successvim /etc/pam.d/gdm-password注释掉:auth requied pam_succeed_if.so user != root quiet success 国内能用的免费ChatGTP http://www.gc24.cn/274.html 2024-04-01T20:16:00+08:00 openai官网:https://chat.openai.com/点开即用大佬公益站:https://chat.aifree.best/(手动切换模型s,且用且珍惜)伊莉思-构建多模态AGI生产力/学习助手 (ai.caifree.com) (26个plus/team)RawChat:https://sharedchat.cn/shared.html(很多3.5,4.0需要多换几个)chose-car:https://free.xyhelper.com.cn/list(海量3.5,4.0也很多,token区分不同用户,随便填写)Free01:http://free01.xyz(4.0量大管饱,广告较多)GPT-PLUS共享:https://aitopk.com/list(都较少,较为卡顿)神墨大佬的NextChat站,密码2311676378 https://chat.flss.world/(无法作图)有gpt-4, gemini-pro, gpt-3.5-turbo,速度很快,很好用!https://chat.gking.me/有gpt-4, gpt-3.5-turbo,速度快 https://chat.3211000.xyz/DWAI 5 密码:DaWu03220 https://web.dwai.life/共享站点 https://sharedchat.cn/shared.htmlgep大佬站点:https://312.gzcrtw.com/#/chat(密码:gep)需注册GPT God https://gptgod.online/1150积分一次plus,注册送1万吧好像是,点邀请链接你多5000我多8000邀请链接:https://gptgod.online/#/register?invite_code=7r9qcelpdqizi2cwxolirjpqaKKSJ公益站 https://allenyy.com/setting 请使用qq邮箱注册,注册就送20刀,邀请好友,各自全部获得20刀邀请链接https://allenyy.com/register?aff=ZBmVUU免费接口,只能邀请注册,超级好用 https://uu.ci/register/?aff_code=ixD8新”公益”站,有时间限制,但是是完整模型,https://openai.planetzero.cn,需要注册,欢迎填写邀请码为f2ebcf转自:https://dongdong741236.cn/gpt4/ Alist网盘V3版本美化常用代码 http://www.gc24.cn/254.html 2024-02-24T21:54:00+08:00 1. 自定义壁纸&文件列表透明30%<!-- 自定义壁纸&文件列表透明30% --> <style> .hope-ui-light{ background-image: url("自定义图片地址") !important; background-repeat:no-repeat;background-size:cover;background-attachment:fixed;background-position-x:center; } .obj-box.hope-stack.hope-c-dhzjXW.hope-c-PJLV.hope-c-PJLV-igScBhH-css { background-color: rgba(255, 255, 255, 0.3) !important; } .hope-c-PJLV.hope-c-PJLV-ikSuVsl-css{ background-color: rgba(255, 255, 255, 0.3) !important; } .hope-c-ivMHWx-hZistB-cv.hope-icon-button{ background-color: rgba(255, 255, 255, 0.3) !important; } .hope-c-PJLV-ijgzmFG-css{ background-color: rgba(255, 255, 255, 0.3) !important; }2.隐藏底部信息Alist&管理文字去除<!-- 隐藏底部信息Alist&管理文字去除 --> <style> .hope-c-PJLV-idrWMwW-css { display:none; } .hope-c-iHuheP { display:none; } .hope-c-PJLV-ihQbspH-css { display:none; }3.添加备案信息<!-- 添加备案信息 --> </style> <font color="#FFFFFF"> <link href="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/font-awesome/6.0.0/css/all.min.css" rel=" stylesheet "> <div id="customize" style="display:none; text-align:center; "> <br /> <div style="font-size:13px; "> <span class="nav-item"> <a class="nav-link" href="http://www.baidu.com/" target="_blank"> <i class="fa-solid fa-copyright" style="color:#9932CC" aria-hidden="true"></i> 百度一下 | </a> </span> <span class="nav-item"> <a class="nav-link" href="https://beian.miit.gov.cn/" target="_blank"> <i class="fa fa-balance-scale" style="color:#9932CC; " aria-hidden="true"></i> 鄂ICP备xxxxxx号-1 | </a> </span> <span class="nav-item"> <a class="nav-link" href="https://github.com/Xhofe/alist" target="_blank"> <i class="fa fa-heart" style="color:#9932CC; " aria-hidden="true"></i> 由Alist驱动 </a> </span> </div> <br /> </div> <script> let interval = setInterval(() => { if (document.querySelector(".footer")) { document.querySelector("#customize").style.display = ""; clearInterval(interval); } },200); </script> </font>4.隐藏登陆头像<!-- 隐藏登陆头像 --> <style> .hope-c-PJLV-ibwASZs-css { display:none; }5.右上角天气<!-- 右上角天气 --> <iframe allowtransparency="true" frameborder="0" width="290" height="96" scrolling="no" src="//tianqi.2345.com/plugin/widget/index.htm?s=1&z=1&t=0&v=0&d=2&bd=0&k=&f=&ltf=009944&htf=cc0000&q=1&e=1&a=1&c=54511&w=290&h=96&align=center"></iframe>6.强制日间模式<!-- 强制日间模式 --> <script>window.onload=function(){localStorage.setItem("hope-ui-color-mode","light")}</script>7.播放器<!--播放器​--> <script src="https://myhkw.cn/player/js/jquery.min.js" type="text/javascript"></script> <script src="https://myhkw.cn/api/player/165761088297" id="myhk" key="165761088297" m="1"></script> </style>8.看板娘-小黑猫 <!--看板娘 - 小黑猫--> <script src="https://eqcn.ajz.miesnfu.com/wp-content/plugins/wp-3d-pony/live2dw/lib/L2Dwidget.min.js"></script> <script> L2Dwidget.init({ "model": { jsonPath: "https://unpkg.com/live2d-widget-model-hijiki/assets/hijiki.model.json", <!--这里改模型,前面后面都要改--> "scale": 1 }, "display": { "position": "left", <!--设置看板娘的上下左右位置--> "width": 100, "height": 200, "hOffset": 0, "vOffset": 0 }, "mobile": { "show": true, "scale": 0.5 }, "react": { "opacityDefault": 0.7, <!--设置透明度--> "opacityOnHover": 0.2 } }); window.onload = function() { $("#live2dcanvas").attr("style", "position: fixed; opacity: 0.7; left: 70px; bottom: 0px; z-index: 1; pointer-events: none;") } </script> </div>9.看板娘-小白猫<!--看板娘 - 小白猫--> <script src=" https://eqcn.ajz.miesnfu.com/wp-content/plugins/wp-3d-pony/live2dw/lib/L2Dwidget.min.js"></script> <script src="https://eqcn.ajz.miesnfu.com/wp-content/plugins/wp-3d-pony/live2dw/lib/L2Dwidget.0.min.js"></script> <script> L2Dwidget.init({ "model": { jsonPath: " https://unpkg.com/live2d-widget-model-tororo@1.0.5/assets/tororo.model.json" , "scale": 1 }, "display": { "position": "right", "width": 100, "height": 200, "hOffset": -20, "vOffset": -20 }, "mobile": { "show": true, "scale": 0.5 }, "react": { "opacityDefault": 1, "opacityOnHover": 1 } }); </script>10.鼠标点击出现爱心<!--鼠标点击出随机颜色的爱心--> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> </head> <body> <!-- 网页鼠标点击特效(爱心) --> <script type="text/javascript"> ! function (e, t, a) { function r() { for (var e = 0; e < s.length; e++) s[e].alpha <= 0 ? (t.body.removeChild(s[e].el), s.splice(e, 1)) : (s[ e].y--, s[e].scale += .004, s[e].alpha -= .013, s[e].el.style.cssText = "left:" + s[e].x + "px;top:" + s[e].y + "px;opacity:" + s[e].alpha + ";transform:scale(" + s[e].scale + "," + s[e] .scale + ") rotate(45deg);background:" + s[e].color + ";z-index:99999"); requestAnimationFrame(r) } function n() { var t = "function" == typeof e.onclick && e.onclick; e.onclick = function (e) { t && t(), o(e) } } function o(e) { var a = t.createElement("div"); a.className = "heart", s.push({ el: a, x: e.clientX - 5, y: e.clientY - 5, scale: 1, alpha: 1, color: c() }), t.body.appendChild(a) } function i(e) { var a = t.createElement("style"); a.type = "text/css"; try { a.appendChild(t.createTextNode(e)) } catch (t) { a.styleSheet.cssText = e } t.getElementsByTagName("head")[0].appendChild(a) } function c() { return "rgb(" + ~~(255 * Math.random()) + "," + ~~(255 * Math.random()) + "," + ~~(255 * Math .random()) + ")" } var s = []; e.requestAnimationFrame = e.requestAnimationFrame || e.webkitRequestAnimationFrame || e .mozRequestAnimationFrame || e.oRequestAnimationFrame || e.msRequestAnimationFrame || function (e) { setTimeout(e, 1e3 / 60) }, i( ".heart{width: 10px;height: 10px;position: fixed;background: #f00;transform: rotate(45deg);-webkit-transform: rotate(45deg);-moz-transform: rotate(45deg);}.heart:after,.heart:before{content: '';width: inherit;height: inherit;background: inherit;border-radius: 50%;-webkit-border-radius: 50%;-moz-border-radius: 50%;position: fixed;}.heart:after{top: -5px;}.heart:before{left: -5px;}" ), n(), r() }(window, document); </script>11.网站运行时间<!--开站时间开始--> <center> <br /> </span> <span class="nav-item"> <span id="timeDate">载入天数...</span><span id="times">载入时分秒...</span> <script language="javascript"> var now = new Date(); function createtime(){ var grt= new Date("04/17/2022 00:00:00");/*---这里是网站的启用时间--*/ now.setTime(now.getTime()+250); days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} document.getElementById("timeDate").innerHTML = "⏱️本站已稳定运行"+dnum+"天"; document.getElementById("times").innerHTML = hnum + "小时" + mnum + "分" + snum + "秒"; } setInterval("createtime()",250); </script>收集自:https://blog.csdn.net/u012514495/article/details/129207266