{"id":3493,"date":"2026-02-08T15:47:21","date_gmt":"2026-02-08T06:47:21","guid":{"rendered":"https:\/\/blog.id774.net\/entry\/?p=3493"},"modified":"2026-05-04T01:53:20","modified_gmt":"2026-05-03T16:53:20","slug":"debian-xfce4-%e3%81%a7%e3%83%ad%e3%82%b0%e3%82%a4%e3%83%b3%e4%b8%ad%e3%81%ae-gui-%e3%82%bb%e3%83%83%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%92%e5%88%b6%e5%be%a1%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/harpuia.id774.net\/entry\/2026\/02\/08\/3493\/","title":{"rendered":"Debian + Xfce4 \u3067\u30ed\u30b0\u30a4\u30f3\u4e2d\u306e GUI \u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u5236\u5fa1\u3059\u308b"},"content":{"rendered":"<p><a href=\"https:\/\/blog.id774.net\/entry\/2025\/08\/31\/2974\/\">Debian<\/a>\u306e<a href=\"https:\/\/blog.id774.net\/entry\/2025\/09\/05\/2989\/\">Xfce4<\/a>\u3092\u666e\u6bb5\u306f\u30ed\u30fc\u30ab\u30eb\uff08<a href=\"https:\/\/blog.id774.net\/entry\/2026\/02\/06\/3470\/\">\u7269\u7406\u30de\u30b7\u30f3<\/a>\uff09\u3067\u4f7f\u3044\u3001\u5fc5\u8981\u306a\u3068\u304d\u3060\u3051\u5225\u306e\u30de\u30b7\u30f3\u304b\u3089 xrdp\uff08RDP\uff09\u3067<a href=\"https:\/\/blog.id774.net\/entry\/2025\/09\/09\/2999\/\">\u30ea\u30e2\u30fc\u30c8\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u63a5\u7d9a<\/a>\u3057\u305f\u3044\u3001\u3068\u3044\u3046\u904b\u7528\u306f\u5408\u7406\u7684\u3067\u3042\u308b\u3002\u3057\u304b\u3057\u73fe\u5b9f\u306b\u306f\u300c\u30ed\u30fc\u30ab\u30eb\u3067 GUI \u306b\u30ed\u30b0\u30a4\u30f3\u4e2d\u306e\u3068\u304d\u3001\u5225\u74b0\u5883\u304b\u3089 xrdp \u3067\u63a5\u7d9a\u3059\u308b\u3068\u8a8d\u8a3c\u306f\u6210\u529f\u3059\u308b\u306e\u306b\u30ed\u30b0\u30a4\u30f3\u5b8c\u4e86\u3057\u306a\u3044\u300d\u300c\u9ed2\u753b\u9762\u3067\u6b62\u307e\u308b\u300d\u300c\u30ed\u30b0\u30a4\u30f3\u753b\u9762\u306b\u623b\u3055\u308c\u308b\u300d\u3068\u3044\u3063\u305f\u75c7\u72b6\u304c\u51fa\u308b\u3053\u3068\u304c\u3042\u308b\u3002<\/p>\n<p>\u3053\u306e\u3068\u304d\u91cd\u8981\u306a\u306e\u306f\u3001\u539f\u56e0\u304c\u5358\u7d14\u306a\u30d1\u30b9\u30ef\u30fc\u30c9\u4e0d\u4e00\u81f4\u3084\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u4e0d\u8abf\u3067\u306f\u306a\u304f\u3001xrdp \u304c\u4e00\u822c\u306b\u63a1\u308b\u30bb\u30c3\u30b7\u30e7\u30f3\u8a2d\u8a08\uff08\u63a5\u7d9a\u3054\u3068\u306b\u5225\u306e GUI \u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u8d77\u52d5\u3059\u308b\uff09\u3068\u3001Linux \u306e\u30ed\u30b0\u30a4\u30f3\u30bb\u30c3\u30b7\u30e7\u30f3\u7ba1\u7406\uff08systemd-logind\uff09\u304a\u3088\u3073\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u74b0\u5883\u306e\u521d\u671f\u5316\uff08Xorg\u3001DBus\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u30de\u30cd\u30fc\u30b8\u30e3\u7b49\uff09\u304c\u565b\u307f\u5408\u308f\u306a\u3044\u3053\u3068\u3067\u767a\u751f\u3057\u5f97\u308b\u3001\u3068\u3044\u3046\u69cb\u9020\u3067\u3042\u308b\u3002<\/p>\n<p>\u3053\u3053\u3067\u306f\u3001\u307e\u305a\u300c\u306a\u305c\u8d77\u304d\u308b\u306e\u304b\u300d\u3092\u4ed5\u7d44\u307f\u304b\u3089\u4e01\u5be7\u306b\u8aac\u660e\u3057\u3001\u305d\u306e\u3046\u3048\u3067\u300c\u65e2\u5b58\u306e\u30ed\u30fc\u30ab\u30eb GUI \u30bb\u30c3\u30b7\u30e7\u30f3\u3092 SSH \u7d4c\u7531\u3067\u5b89\u5168\u306b\u30ed\u30b0\u30a2\u30a6\u30c8\u3055\u305b\u3066\u885d\u7a81\u3092\u89e3\u6d88\u3059\u308b\u300d\u65b9\u6cd5\u3092\u307e\u3068\u3081\u308b\u3002\u6b21\u306b\u3001\u30ed\u30b0\u30a2\u30a6\u30c8\u4ee5\u5916\u3082\u542b\u3081\u3066\u300cSSH \u304b\u3089 Xfce4 \u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u5236\u5fa1\u3059\u308b\u300d\u305f\u3081\u306e\u8a2d\u8a08\u56f3\uff08\u30bb\u30c3\u30b7\u30e7\u30f3\u5883\u754c\u306e\u5236\u5fa1\u3068 GUI \u5185\u90e8\u64cd\u4f5c\u306e\u5206\u96e2\u3001\u5bfe\u8c61\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u7279\u5b9a\u3001DISPLAY \u3068 DBus \u306e\u53d6\u308a\u6271\u3044\u3001\u4e8b\u6545\u3092\u907f\u3051\u308b\u305f\u3081\u306e\u904b\u7528\u624b\u9806\uff09\u3092\u3001\u77e5\u8b58\u304c\u306a\u3044\u4eba\u3067\u3082\u8ffd\u3048\u308b\u9806\u5e8f\u3067\u6574\u7406\u3059\u308b\u3002<\/p>\n<p>\u306a\u304a\u3001xrdp \u3068 Xfce4 \u306e\u5206\u96e2\u904b\u7528\uff08\u30ea\u30e2\u30fc\u30c8\u63a5\u7d9a\u6642\u306f ~\/.xsession \u3067 Xfce4 \u3092\u8d77\u52d5\u3057\u3001\u30ed\u30fc\u30ab\u30eb\u306f display manager \u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u9078\u629e\u306b\u4efb\u305b\u308b\uff09\u3084\u3001\u305d\u306e\u72d9\u3044\u306b\u3064\u3044\u3066\u306f<a href=\"https:\/\/blog.id774.net\/entry\/2025\/09\/09\/2999\/\">\u4ee5\u524d\u306e\u8a18\u4e8b<\/a>\u3067\u6574\u7406\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u3053\u3053\u3067\u306f\u305d\u3053\u3092\u8d77\u70b9\u3068\u3057\u3066\u8b70\u8ad6\u3092\u7a4d\u307f\u4e0a\u3052\u308b<a href=\"#ref1\">[1]<\/a>\u3002<\/p>\n<hr>\n<h2>1. \u80cc\u666f\uff1axrdp \u306f\u300c\u5225\u30bb\u30c3\u30b7\u30e7\u30f3\u306e GUI \u8d77\u52d5\u300d\u306b\u306a\u308a\u3084\u3059\u3044<\/h2>\n<p>\u591a\u304f\u306e\u4eba\u306f\u300c\u30ea\u30e2\u30fc\u30c8\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u300d\u3068\u805e\u304f\u3068\u3001\u30ed\u30fc\u30ab\u30eb\u3067\u898b\u3066\u3044\u308b\u753b\u9762\u3092\u305d\u306e\u307e\u307e\u5225\u7aef\u672b\u304b\u3089\u95b2\u89a7\u30fb\u64cd\u4f5c\u3059\u308b\u4ed5\u7d44\u307f\u3092\u9023\u60f3\u3059\u308b\u3002\u3057\u304b\u3057 xrdp \u306f\u3001\u4e00\u822c\u7684\u306a\u69cb\u6210\u3067\u306f\u305d\u306e\u76f4\u611f\u3068\u7570\u306a\u308a\u3001RDP \u63a5\u7d9a\u304c\u6765\u308b\u305f\u3073\u306b\u30b5\u30fc\u30d0\u5074\u3067\u65b0\u3057\u3044\u30ed\u30b0\u30a4\u30f3\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u4f5c\u308a\u3001\u305d\u306e\u4e0a\u3067 X \u30b5\u30fc\u30d0\uff08\u5178\u578b\u7684\u306b\u306f xorgxrdp \u3092\u4ecb\u3057\u3066 Xorg \u3092\u8d77\u52d5\uff09\u3068\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u74b0\u5883\uff08Xfce4 \u7b49\uff09\u3092\u8d77\u52d5\u3059\u308b\u3002\u3064\u307e\u308a\u300c\u30ed\u30fc\u30ab\u30eb\u306e Xfce4 \u306b\u5165\u308b\u300d\u306e\u3067\u306f\u306a\u304f\u300c\u30ea\u30e2\u30fc\u30c8\u7528\u306e\u5225\u306e Xfce4 \u3092\u8d77\u52d5\u3059\u308b\u300d\u30e2\u30c7\u30eb\u3067\u3042\u308b\u3002\u3053\u308c\u306f xrdp \u672c\u4f53\u3068 xorgxrdp \u306e\u8a2d\u8a08\u30fb\u5b9f\u88c5\u3001\u305d\u3057\u3066\u5229\u7528\u8005\u5411\u3051\u306e\u60c5\u5831\uff08Wiki \u3084\u914d\u5e03\u30d1\u30c3\u30b1\u30fc\u30b8\uff09\u304b\u3089\u8aad\u307f\u53d6\u308c\u308b<a href=\"#ref2\">[2]<\/a><a href=\"#ref3\">[3]<\/a><a href=\"#ref4\">[4]<\/a>\u3002<\/p>\n<p>\u3053\u306e\u30e2\u30c7\u30eb\u3067\u306f\u3001\u540c\u4e00\u30e6\u30fc\u30b6\u30fc\u304c\u3059\u3067\u306b\u30ed\u30fc\u30ab\u30eb\u3067 GUI \u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u3066\u3082\u3001\u7406\u5c48\u306e\u4e0a\u3067\u306f\u5225\u306e GUI \u30bb\u30c3\u30b7\u30e7\u30f3\uff08RDP \u5074\uff09\u3092\u8ffd\u52a0\u3067\u8d77\u52d5\u3067\u304d\u308b\u3002\u3057\u304b\u3057\u300c\u7406\u5c48\u306e\u4e0a\u3067\u306f\u53ef\u80fd\u300d\u3068\u300c\u5b9f\u969b\u306b\u58ca\u308c\u305a\u904b\u7528\u3067\u304d\u308b\u300d\u306f\u5225\u3067\u3042\u308a\u3001\u7279\u306b\u540c\u4e00\u30e6\u30fc\u30b6\u30fc\u306e\u4e8c\u91cd GUI \u30bb\u30c3\u30b7\u30e7\u30f3\u306f\u3001\u74b0\u5883\u4f9d\u5b58\u306e\u524d\u63d0\u306b\u5f15\u3063\u639b\u304b\u308a\u3084\u3059\u3044\u3002\u30e6\u30fc\u30b6\u30fc\u8996\u70b9\u306e\u75c7\u72b6\u306f\u5358\u7d14\u3067\u3001\u300c\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u306a\u3044\u300d\u300c\u9ed2\u753b\u9762\u300d\u300c\u30eb\u30fc\u30d7\u300d\u3060\u304c\u3001\u88cf\u5074\u3067\u306f\u6b21\u306e\u3088\u3046\u306a\u6bb5\u968e\u306e\u3069\u3053\u304b\u3067\u5931\u6557\u3057\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u9ad8\u3044\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u6bb5\u968e<\/th>\n<th>\u88cf\u5074\u3067\u8d77\u304d\u3066\u3044\u308b\u3053\u3068<\/th>\n<th>\u5931\u6557\u3059\u308b\u3068\u3069\u3046\u898b\u3048\u308b\u304b<\/th>\n<th>\u306a\u305c\u30ed\u30fc\u30ab\u30eb\u30ed\u30b0\u30a4\u30f3\u4e2d\u3060\u3068\u8d77\u304d\u3084\u3059\u3044\u304b<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u8a8d\u8a3c\u5f8c\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u751f\u6210<\/td>\n<td>PAM \u7b49\u3067\u8a8d\u8a3c\u5f8c\u3001\u30ed\u30b0\u30a4\u30f3\u30bb\u30c3\u30b7\u30e7\u30f3\uff08logind\uff09\u304c\u4f5c\u3089\u308c\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u74b0\u5883\u304c\u6e96\u5099\u3055\u308c\u308b<\/td>\n<td>\u8a8d\u8a3c\u5f8c\u3059\u3050\u623b\u3055\u308c\u308b<\/td>\n<td>\u65e2\u5b58\u30bb\u30c3\u30b7\u30e7\u30f3\u3068\u306e\u6574\u5408\uff08\u540c\u4e00\u30e6\u30fc\u30b6\u30fc\u306e\u65e2\u5b58 state\uff09\u3067\u60f3\u5b9a\u5916\u304c\u51fa\u308b<\/td>\n<\/tr>\n<tr>\n<td>X \u30b5\u30fc\u30d0\u8d77\u52d5<\/td>\n<td>xrdp \u304c Xorg\uff08xorgxrdp\uff09\u3092\u8d77\u52d5\u3057\u3001\u8868\u793a\u5148\uff08DISPLAY\uff09\u3084\u8a8d\u53ef\u60c5\u5831\u3092\u78ba\u7acb\u3059\u308b<\/td>\n<td>\u9ed2\u753b\u9762\u3067\u6b62\u307e\u308b\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u304c\u843d\u3061\u308b<\/td>\n<td>DISPLAY \u3084\u6a29\u9650\u3001\u30bd\u30b1\u30c3\u30c8\u3001cookie \u306e\u53d6\u308a\u6271\u3044\u304c\u74b0\u5883\u306b\u4f9d\u5b58\u3059\u308b<\/td>\n<\/tr>\n<tr>\n<td>\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u8d77\u52d5<\/td>\n<td>startwm.sh \u7b49\u304b\u3089 Xfce \u30bb\u30c3\u30b7\u30e7\u30f3\uff08xfce4-session\uff09\u304c\u8d77\u52d5\u3057\u3001\u5404\u7a2e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304c\u7acb\u3061\u4e0a\u304c\u308b<\/td>\n<td>\u4e00\u77ac\u8868\u793a\u3055\u308c\u3066\u843d\u3061\u308b\u3001\u307e\u305f\u306f\u9ed2\u753b\u9762<\/td>\n<td>\u65e2\u5b58\u306e\u8a2d\u5b9a\u3084\u8d77\u52d5\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u300c1 \u56de\u3057\u304b\u8d77\u52d5\u3057\u306a\u3044\u300d\u524d\u63d0\u3060\u3068\u58ca\u308c\u308b<\/td>\n<\/tr>\n<tr>\n<td>IPC \u3068\u30b5\u30fc\u30d3\u30b9\u9023\u643a<\/td>\n<td>DBus \u30bb\u30c3\u30b7\u30e7\u30f3\u3084\u901a\u77e5\u3001\u30b9\u30af\u30ea\u30fc\u30f3\u30ed\u30c3\u30af\u306a\u3069\u304c\u9023\u643a\u3057\u3001\u30e6\u30fc\u30b6\u30fc\u4f53\u9a13\u304c\u6210\u7acb\u3059\u308b<\/td>\n<td>\u753b\u9762\u306f\u51fa\u3066\u3082\u64cd\u4f5c\u304c\u58ca\u308c\u308b\u3001\u901a\u77e5\u304c\u51fa\u306a\u3044\u7b49<\/td>\n<td>DBus \u30bb\u30c3\u30b7\u30e7\u30f3\u304c\u8907\u6570\u306b\u306a\u308b\u3068\u3001\u3069\u306e\u30d0\u30b9\u306b\u8a71\u3057\u304b\u3051\u308b\u304b\u3092\u9593\u9055\u3048\u3084\u3059\u3044<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u3053\u306e\u69cb\u9020\u3092\u7406\u89e3\u3059\u308b\u3068\u300c\u306a\u305c\u30ed\u30fc\u30ab\u30eb\u30ed\u30b0\u30a4\u30f3\u4e2d\u306b xrdp \u30ed\u30b0\u30a4\u30f3\u304c\u5931\u6557\u3057\u5f97\u308b\u304b\u300d\u304c\u898b\u3048\u308b\u3002xrdp \u306f\u65b0\u3057\u3044 GUI \u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u7acb\u3061\u4e0a\u3052\u305f\u3044\u304c\u3001\u540c\u4e00\u30e6\u30fc\u30b6\u30fc\u306e\u65e2\u5b58 GUI \u30bb\u30c3\u30b7\u30e7\u30f3\u304c\u3059\u3067\u306b\u5b58\u5728\u3057\u3001\u3057\u304b\u3082 GUI \u306e\u521d\u671f\u5316\u306f Xorg\u3001DBus\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u30de\u30cd\u30fc\u30b8\u30e3\u7b49\u3092\u8de8\u3044\u3067\u8907\u96d1\u306b\u9023\u643a\u3059\u308b\u305f\u3081\u3001\u3069\u3053\u304b\u3067\u885d\u7a81\u6761\u4ef6\u304c\u767a\u751f\u3059\u308b\u3068\u4e00\u6c17\u306b\u5d29\u308c\u308b\u3002\u65e2\u5b58\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u518d\u5229\u7528\u30fb\u518d\u63a5\u7d9a\u306f\u3055\u3089\u306b\u96e3\u5ea6\u304c\u4e0a\u304c\u308a\u3001\u8b70\u8ad6\u30fb\u8a66\u884c\u932f\u8aa4\u304c\u591a\u3044\u9818\u57df\u3067\u3042\u308b<a href=\"#ref5\">[5]<\/a><a href=\"#ref6\">[6]<\/a>\u3002<\/p>\n<p>\u3053\u3053\u3067\u91cd\u8981\u306a\u306e\u306f\u300c\u539f\u56e0\u3092\u5b8c\u5168\u306b\u6f70\u3057\u8fbc\u3080\u300d\u3053\u3068\u304c\u5e38\u306b\u6700\u9069\u3067\u306f\u306a\u3044\u70b9\u3067\u3042\u308b\u3002\u3082\u3061\u308d\u3093\u30ed\u30b0\u3092\u8ffd\u3044\u3001\u69cb\u6210\u3092\u56fa\u5b9a\u3057\u3001\u4e8c\u91cd\u30bb\u30c3\u30b7\u30e7\u30f3\u3067\u3082\u52d5\u304f\u3088\u3046\u306b\u8a70\u3081\u308b\u3053\u3068\u306f\u53ef\u80fd\u3060\u304c\u3001\u74b0\u5883\u5dee\u5206\u3084\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u5dee\u5206\u306b\u5f31\u304f\u306a\u308a\u3001\u9577\u671f\u904b\u7528\u306e\u30b3\u30b9\u30c8\u304c\u4e0a\u304c\u308a\u3084\u3059\u3044\u3002\u4e00\u65b9\u3001\u904b\u7528\u3068\u3057\u3066\u518d\u73fe\u6027\u304c\u9ad8\u3044\u306e\u306f\u300c\u305d\u3082\u305d\u3082\u885d\u7a81\u6761\u4ef6\u3092\u4f5c\u3089\u306a\u3044\u300d\u3053\u3068\u3067\u3042\u308a\u3001\u5177\u4f53\u7684\u306b\u306f\u300c\u30ea\u30e2\u30fc\u30c8\u63a5\u7d9a\u304c\u5fc5\u8981\u306a\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u306f\u3001\u30ed\u30fc\u30ab\u30eb\u306e GUI \u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u4e00\u5ea6\u30ed\u30b0\u30a2\u30a6\u30c8\u3057\u3066\u304b\u3089 xrdp \u3067\u5165\u308b\u300d\u3068\u3044\u3046\u5272\u308a\u5207\u308a\u3067\u3042\u308b\u3002\u63a1\u7528\u3057\u305f\u306e\u306f\u3053\u306e\u65b9\u91dd\u3067\u3042\u308a\u3001\u305d\u306e\u5b9f\u88c5\u304c SSH \u7d4c\u7531\u3067\u306e\u5b89\u5168\u306a\u30ed\u30b0\u30a2\u30a6\u30c8\u3067\u3042\u308b<a href=\"#ref1\">[1]<\/a>\u3002<\/p>\n<hr>\n<h2>2. \u5bfe\u51e6\uff1aSSH \u304b\u3089\u300c\u30ed\u30b0\u30a4\u30f3\u4e2d\u306e GUI \u30bb\u30c3\u30b7\u30e7\u30f3\u300d\u3092\u5b89\u5168\u306b\u30ed\u30b0\u30a2\u30a6\u30c8\u3055\u305b\u308b<\/h2>\n<p>SSH \u7d4c\u7531\u3067\u30ed\u30fc\u30ab\u30eb\u306e Xfce4 \u3092\u30ed\u30b0\u30a2\u30a6\u30c8\u3055\u305b\u305f\u3044\u3001\u3068\u3044\u3046\u8981\u4ef6\u306f\u300cGUI \u3092\u64cd\u4f5c\u3059\u308b\u300d\u3088\u308a\u3082\u300c\u30ed\u30b0\u30a4\u30f3\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u7d42\u4e86\u3059\u308b\u300d\u306b\u8fd1\u3044\u3002\u3053\u3053\u3067\u6700\u3082\u5805\u3044\u624b\u6bb5\u306f\u3001Xfce \u56fa\u6709\u306e\u30b3\u30de\u30f3\u30c9\u3092\u53e9\u3044\u3066\u30ed\u30b0\u30a2\u30a6\u30c8\u3092\u771f\u4f3c\u308b\u3053\u3068\u3067\u306f\u306a\u304f\u3001Linux \u306e\u30ed\u30b0\u30a4\u30f3\u30bb\u30c3\u30b7\u30e7\u30f3\u7ba1\u7406\uff08systemd-logind\uff09\u306b\u5bfe\u3057\u3066\u300c\u3053\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u7d42\u4e86\u305b\u3088\u300d\u3068\u547d\u4ee4\u3059\u308b\u3053\u3068\u3067\u3042\u308b\u3002systemd-logind \u306f\u3001\u30ed\u30fc\u30ab\u30eb\u306e GUI\u3001TTY\u3001SSH \u306a\u3069\u306e\u30ed\u30b0\u30a4\u30f3\u72b6\u614b\u3092\u7d71\u4e00\u7684\u306b\u7ba1\u7406\u3057\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u5358\u4f4d\u3067\u30d7\u30ed\u30bb\u30b9\u3092\u675f\u306d\u3066\u6271\u3046\u3002loginctl \u306f\u305d\u306e\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u3067\u3042\u308a\u3001terminate-session \u306f\u5bfe\u8c61\u30bb\u30c3\u30b7\u30e7\u30f3\u914d\u4e0b\u306e\u30d7\u30ed\u30bb\u30b9\u3092\u307e\u3068\u3081\u3066\u7d42\u4e86\u3059\u308b\u306e\u3067\u3001\u7d50\u679c\u3068\u3057\u3066 Xfce4 \u3082\u7d42\u4e86\u3057\u3001\u30e6\u30fc\u30b6\u30fc\u8996\u70b9\u3067\u306f\u30ed\u30b0\u30a2\u30a6\u30c8\u306b\u306a\u308b\u3002loginctl \u306e\u4ed5\u69d8\u3068 logind \u306e\u5f79\u5272\u306f\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u304a\u3088\u3073 manpages \u306b\u307e\u3068\u307e\u3063\u3066\u3044\u308b<a href=\"#ref7\">[7]<\/a><a href=\"#ref8\">[8]<\/a>\u3002<\/p>\n<h3>2.1 \u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u7279\u5b9a\u3059\u308b\uff08\u5fc5\u9808\uff09<\/h3>\n<p>\u307e\u305a\u3001\u73fe\u5728\u306e\u30ed\u30b0\u30a4\u30f3\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u4e00\u89a7\u3059\u308b\u3002\u3053\u308c\u306b\u3088\u308a\u300c\u3069\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u304c\u30ed\u30fc\u30ab\u30eb GUI \u306a\u306e\u304b\u300d\u3092\u898b\u5206\u3051\u3089\u308c\u308b\u3002GUI \u30bb\u30c3\u30b7\u30e7\u30f3\u306f\u591a\u304f\u306e\u5834\u5408 seat0\uff08\u7269\u7406\u5e2d\uff09\u306b\u7d10\u3065\u304d\u3001TTY \u306f tty2 \u306a\u3069\u306e\u4eee\u60f3\u7aef\u672b\u306b\u306a\u308b\u304c\u3001\u74b0\u5883\u5dee\u306f\u3042\u308b\u3002\u91cd\u8981\u306a\u306e\u306f USER \u304c\u5bfe\u8c61\u30e6\u30fc\u30b6\u30fc\u3067\u3042\u308b\u3053\u3068\u3068\u3001\u30ea\u30e2\u30fc\u30c8\u3067\u843d\u3068\u3057\u305f\u3044\u30bb\u30c3\u30b7\u30e7\u30f3\u304c\u3069\u308c\u304b\u3092\u9593\u9055\u3048\u306a\u3044\u3053\u3068\u3067\u3042\u308b<a href=\"#ref7\">[7]<\/a>\u3002<\/p>\n<div class=\"codecolorer-container text geshi block\" style=\"overflow:auto;white-space:nowrap;width:1000px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\" style=\"white-space:nowrap\">&nbsp; loginctl<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>\u6163\u308c\u308b\u307e\u3067\u306f show-session \u3067\u8a73\u7d30\u3092\u78ba\u8a8d\u3057\u3066\u304b\u3089\u5b9f\u884c\u3059\u308b\u306e\u304c\u5b89\u5168\u3067\u3042\u308b\u3002\u30bb\u30c3\u30b7\u30e7\u30f3 ID\uff08\u6570\u5b57\uff09\u3092\u5165\u308c\u3066\u8a73\u7d30\u3092\u8868\u793a\u3057\u3001\u30e6\u30fc\u30b6\u30fc\u540d\u3001\u72b6\u614b\u3001\u7a2e\u985e\u306a\u3069\u304c\u60f3\u5b9a\u3069\u304a\u308a\u304b\u3092\u78ba\u8a8d\u3059\u308b<a href=\"#ref7\">[7]<\/a>\u3002<\/p>\n<div class=\"codecolorer-container text geshi block\" style=\"overflow:auto;white-space:nowrap;width:1000px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/><\/div><\/td><td><div class=\"text codecolorer\" style=\"white-space:nowrap\">&nbsp; loginctl show-session<br \/>\n&nbsp; &lt;session_id&gt;<br \/>\n&nbsp; &lt;\/session_id&gt;<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<h3>2.2 \u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u7d42\u4e86\u3059\u308b\uff08\u30ed\u30b0\u30a2\u30a6\u30c8\uff09<\/h3>\n<p>\u5bfe\u8c61\u30bb\u30c3\u30b7\u30e7\u30f3\u304c\u7279\u5b9a\u3067\u304d\u305f\u3089 terminate-session \u3067\u7d42\u4e86\u3059\u308b\u3002\u3053\u308c\u304c\u300cSSH \u304b\u3089 GUI \u3092\u30ed\u30b0\u30a2\u30a6\u30c8\u3055\u305b\u308b\u300d\u6700\u5c0f\u304b\u3064\u5805\u3044\u624b\u9806\u3067\u3042\u308b\u3002<\/p>\n<div class=\"codecolorer-container text geshi block\" style=\"overflow:auto;white-space:nowrap;width:1000px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/><\/div><\/td><td><div class=\"text codecolorer\" style=\"white-space:nowrap\">&nbsp; sudo loginctl terminate-session<br \/>\n&nbsp; &lt;session_id&gt;<br \/>\n&nbsp; &lt;\/session_id&gt;<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<h3>2.3 terminate-user \u306f\u614e\u91cd\u306b\u4f7f\u3046<\/h3>\n<p>\u30e6\u30fc\u30b6\u30fc\u5358\u4f4d\u3067\u5168\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u843d\u3068\u3059 terminate-user \u3082\u3042\u308b\u3002\u3053\u308c\u306f\u30ed\u30fc\u30ab\u30eb GUI \u3060\u3051\u3067\u306a\u304f\u3001\u305d\u306e\u30e6\u30fc\u30b6\u30fc\u306e tty \u30ed\u30b0\u30a4\u30f3\u3084\u4ed6\u306e SSH \u30bb\u30c3\u30b7\u30e7\u30f3\u307e\u3067\u843d\u3068\u3059\u53ef\u80fd\u6027\u304c\u3042\u308b\u305f\u3081\u3001\u76ee\u7684\u304c\u300c\u30ed\u30fc\u30ab\u30eb GUI \u306e\u885d\u7a81\u89e3\u6d88\u300d\u3060\u3051\u306a\u3089\u901a\u5e38\u306f\u4f7f\u308f\u306a\u3044\u3002\u305f\u3060\u3057\u7dca\u6025\u6642\u306b\u300c\u5bfe\u8c61\u30e6\u30fc\u30b6\u30fc\u306e\u30ed\u30b0\u30a4\u30f3\u72b6\u614b\u3092\u4e00\u6383\u3059\u308b\u300d\u7528\u9014\u3067\u306f\u6709\u52b9\u3067\u3042\u308b<a href=\"#ref7\">[7]<\/a>\u3002<\/p>\n<div class=\"codecolorer-container text geshi block\" style=\"overflow:auto;white-space:nowrap;width:1000px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\" style=\"white-space:nowrap\">&nbsp; sudo loginctl terminate-user username<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<h3>2.4 \u307e\u3068\u3081<\/h3>\n<table>\n<thead>\n<tr>\n<th>\u76ee\u7684<\/th>\n<th>\u63a8\u5968\u30b3\u30de\u30f3\u30c9<\/th>\n<th>\u7406\u7531<\/th>\n<th>\u526f\u4f5c\u7528<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u30ed\u30fc\u30ab\u30eb GUI \u3060\u3051\u3092\u843d\u3068\u3059<\/td>\n<td>terminate-session<\/td>\n<td>\u5f71\u97ff\u7bc4\u56f2\u304c\u6700\u5c0f\u3067\u518d\u73fe\u6027\u304c\u9ad8\u3044<\/td>\n<td>\u6307\u5b9a\u30bb\u30c3\u30b7\u30e7\u30f3\u4ee5\u5916\u306f\u6b8b\u308b<\/td>\n<\/tr>\n<tr>\n<td>\u30e6\u30fc\u30b6\u30fc\u306e\u30ed\u30b0\u30a4\u30f3\u3092\u4e00\u6383\u3059\u308b<\/td>\n<td>terminate-user<\/td>\n<td>\u7dca\u6025\u6642\u306b\u78ba\u5b9f\u306b\u6b62\u3081\u3089\u308c\u308b<\/td>\n<td>SSH \u4f5c\u696d\u4e2d\u306e\u81ea\u5206\u3082\u843d\u3061\u5f97\u308b<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr>\n<h2>3. SSH \u304b\u3089 Xfce4 \u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u300c\u5236\u5fa1\u3059\u308b\u300d\u305f\u3081\u306e\u8a2d\u8a08\u56f3<\/h2>\n<p>\u30ed\u30b0\u30a2\u30a6\u30c8\u306f\u3067\u304d\u305f\u3068\u3057\u3066\u3082\u3001SSH \u304b\u3089\u300c\u901a\u77e5\u3092\u51fa\u3059\u300d\u300c\u753b\u9762\u3092\u30ed\u30c3\u30af\u3059\u308b\u300d\u300c\u30d1\u30cd\u30eb\u3092\u518d\u8d77\u52d5\u3059\u308b\u300d\u300cGUI \u30a2\u30d7\u30ea\u3092\u8d77\u52d5\u3059\u308b\u300d\u3068\u3044\u3063\u305f\u64cd\u4f5c\u3092\u3057\u305f\u304f\u306a\u308b\u5834\u9762\u306f\u3042\u308b\u3002\u3053\u306e\u3068\u304d\u3001\u6700\u521d\u306b\u7406\u89e3\u3059\u3079\u304d\u306f\u300c\u30bb\u30c3\u30b7\u30e7\u30f3\u5883\u754c\u3092\u6271\u3046\u64cd\u4f5c\u300d\u3068\u300cGUI \u5185\u90e8\u3078\u547d\u4ee4\u3092\u9001\u308b\u64cd\u4f5c\u300d\u306f\u5225\u306e\u30ec\u30a4\u30e4\u3067\u3042\u308a\u3001\u5fc5\u8981\u306a\u524d\u63d0\u304c\u7570\u306a\u308b\u3068\u3044\u3046\u70b9\u3067\u3042\u308b\u3002\u30bb\u30c3\u30b7\u30e7\u30f3\u5883\u754c\u306f logind\uff08loginctl\uff09\u304c\u7ba1\u7406\u3057\u3066\u304a\u308a\u3001GUI \u306e\u69cb\u6210\u306b\u4f9d\u5b58\u3057\u306b\u304f\u3044\u3002GUI \u5185\u90e8\u64cd\u4f5c\u306f X11\uff08DISPLAY\uff09\u3068 DBus\uff08\u30bb\u30c3\u30b7\u30e7\u30f3\u30d0\u30b9\uff09\u306b\u4f9d\u5b58\u3057\u3001\u5bfe\u8c61\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u8aa4\u308b\u3068\u5225\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u64cd\u4f5c\u3059\u308b\u5371\u967a\u304c\u3042\u308b\u3002\u3057\u305f\u304c\u3063\u3066\u5b9f\u52d9\u3067\u306f\u3001\u307e\u305a\u30ec\u30a4\u30e4 A\uff08loginctl\uff09\u3092\u6a19\u6e96\u624b\u9806\u306b\u3057\u3001\u5fc5\u8981\u306a\u5834\u5408\u306e\u307f\u30ec\u30a4\u30e4 B\uff08DISPLAY \u3068 DBus\uff09\u3092\u7528\u3044\u308b\u3001\u3068\u3044\u3046\u4e8c\u6bb5\u69cb\u3048\u3067\u904b\u7528\u3059\u308b\u306e\u304c\u5b89\u5168\u3067\u3042\u308b<a href=\"#ref7\">[7]<\/a><a href=\"#ref9\">[9]<\/a>\u3002<\/p>\n<h3>3.1 \u307e\u3068\u3081<\/h3>\n<table>\n<thead>\n<tr>\n<th>\u30ec\u30a4\u30e4<\/th>\n<th>\u5bfe\u8c61<\/th>\n<th>\u4e3b\u306a\u64cd\u4f5c<\/th>\n<th>\u5fc5\u8981\u306a\u60c5\u5831<\/th>\n<th>\u4e8b\u6545\u30dd\u30a4\u30f3\u30c8<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>A<\/td>\n<td>\u30ed\u30b0\u30a4\u30f3\u30bb\u30c3\u30b7\u30e7\u30f3\uff08\u5883\u754c\uff09<\/td>\n<td>\u30ed\u30b0\u30a2\u30a6\u30c8\u3001\u30ed\u30c3\u30af\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u78ba\u8a8d<\/td>\n<td>SESSION ID<\/td>\n<td>\u8aa4\u3063\u305f SESSION ID \u3092\u6307\u5b9a\u3059\u308b\u3068\u5225\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u843d\u3068\u3059<\/td>\n<\/tr>\n<tr>\n<td>B<\/td>\n<td>GUI \u30bb\u30c3\u30b7\u30e7\u30f3\u5185\u90e8\uff08X11\/DBus\uff09<\/td>\n<td>\u901a\u77e5\u3001\u30ed\u30c3\u30af\u3001\u30d1\u30cd\u30eb\u518d\u8d77\u52d5\u3001GUI \u30a2\u30d7\u30ea\u8d77\u52d5<\/td>\n<td>DISPLAY\u3001DBUS_SESSION_BUS_ADDRESS\u3001\u5bfe\u8c61\u30e6\u30fc\u30b6\u30fc<\/td>\n<td>\u74b0\u5883\u5909\u6570\u306e\u53d6\u308a\u9055\u3048\u3067\u5225\u30bb\u30c3\u30b7\u30e7\u30f3\u3078\u547d\u4ee4\u304c\u98db\u3076<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr>\n<h2>4. \u30ec\u30a4\u30e4 A\uff1aloginctl \u306b\u3088\u308b\u30bb\u30c3\u30b7\u30e7\u30f3\u5883\u754c\u306e\u5236\u5fa1<\/h2>\n<p>\u30bb\u30c3\u30b7\u30e7\u30f3\u5883\u754c\u306e\u5236\u5fa1\u306f\u300c\u3053\u306e\u30ed\u30b0\u30a4\u30f3\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u7d42\u3048\u308b\u300d\u300c\u3053\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u30ed\u30c3\u30af\u3059\u308b\u300d\u3068\u3044\u3063\u305f\u64cd\u4f5c\u3067\u3042\u308a\u3001GUI \u3092\u76f4\u63a5\u64cd\u4f5c\u3059\u308b\u5fc5\u8981\u304c\u306a\u3044\u3002\u3057\u305f\u304c\u3063\u3066 SSH \u7d4c\u7531\u3067\u3082\u5b89\u5b9a\u3057\u3084\u3059\u3044\u3002\u57fa\u672c\u306f\u300c\u4e00\u89a7\u3067\u7279\u5b9a\u3057\u3001\u8a73\u7d30\u3067\u78ba\u8a8d\u3057\u3001\u5b9f\u884c\u3059\u308b\u300d\u3068\u3044\u3046 3 \u6bb5\u968e\u3067\u3042\u308b<a href=\"#ref7\">[7]<\/a>\u3002<\/p>\n<h3>4.1 \u4e00\u89a7\u3068\u8a73\u7d30<\/h3>\n<div class=\"codecolorer-container text geshi block\" style=\"overflow:auto;white-space:nowrap;width:1000px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/>4<br \/><\/div><\/td><td><div class=\"text codecolorer\" style=\"white-space:nowrap\">&nbsp; loginctl list-sessions<br \/>\nloginctl show-session<br \/>\n&nbsp; &lt;session_id&gt;<br \/>\n&nbsp; &lt;\/session_id&gt;<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<h3>4.2 \u30ed\u30b0\u30a2\u30a6\u30c8\uff08\u30bb\u30c3\u30b7\u30e7\u30f3\u7d42\u4e86\uff09<\/h3>\n<div class=\"codecolorer-container text geshi block\" style=\"overflow:auto;white-space:nowrap;width:1000px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/><\/div><\/td><td><div class=\"text codecolorer\" style=\"white-space:nowrap\">&nbsp; sudo loginctl terminate-session<br \/>\n&nbsp; &lt;session_id&gt;<br \/>\n&nbsp; &lt;\/session_id&gt;<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<h3>4.3 \u30ed\u30c3\u30af\uff08\u52b9\u304d\u65b9\u306f\u74b0\u5883\u4f9d\u5b58\uff09<\/h3>\n<p>lock-session \u306f logind \u306e\u300c\u30ed\u30c3\u30af\u8981\u6c42\u300d\u3092\u767a\u884c\u3059\u308b\u64cd\u4f5c\u3067\u3042\u308b\u3002\u74b0\u5883\u306b\u3088\u3063\u3066\u306f\u3053\u308c\u3067\u30b9\u30af\u30ea\u30fc\u30f3\u30ed\u30c3\u30af\u304c\u304b\u304b\u308b\u304c\u3001Xfce \u306e\u30b9\u30af\u30ea\u30fc\u30f3\u30bb\u30fc\u30d0\u69cb\u6210\uff08xfce4-screensaver\u3001xscreensaver \u7b49\uff09\u3084\u7d71\u5408\u72b6\u6cc1\u306b\u3088\u3063\u3066\u3001\u671f\u5f85\u3069\u304a\u308a\u306b\u52d5\u304b\u306a\u3044\u3053\u3068\u304c\u3042\u308b\u3002\u305d\u306e\u5834\u5408\u306f\u30ec\u30a4\u30e4 B \u306e\u30b9\u30af\u30ea\u30fc\u30f3\u30bb\u30fc\u30d0\u7cfb\u30b3\u30de\u30f3\u30c9\u306b\u5207\u308a\u66ff\u3048\u308b<a href=\"#ref7\">[7]<\/a><a href=\"#ref10\">[10]<\/a>\u3002<\/p>\n<div class=\"codecolorer-container text geshi block\" style=\"overflow:auto;white-space:nowrap;width:1000px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/><\/div><\/td><td><div class=\"text codecolorer\" style=\"white-space:nowrap\">&nbsp; sudo loginctl lock-session<br \/>\n&nbsp; &lt;session_id&gt;<br \/>\n&nbsp; &lt;\/session_id&gt;<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<hr>\n<h2>5. \u30ec\u30a4\u30e4 B\uff1aDISPLAY \u3068 DBus \u3092\u63b4\u3093\u3067 GUI \u5185\u90e8\u3078\u547d\u4ee4\u3092\u9001\u308b<\/h2>\n<p>GUI \u5185\u90e8\u64cd\u4f5c\u306f\u300c\u305d\u306e GUI \u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u4e2d\u306b\u3044\u308b\u300d\u3053\u3068\u3092\u524d\u63d0\u306b\u3057\u3066\u3044\u308b\u305f\u3081\u3001SSH \u304b\u3089\u5b9f\u884c\u3059\u308b\u5834\u5408\u306f\u524d\u63d0\u3092\u4eba\u5de5\u7684\u306b\u6e80\u305f\u3057\u3066\u3084\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002\u5177\u4f53\u7684\u306b\u306f\u3001\u5bfe\u8c61\u30bb\u30c3\u30b7\u30e7\u30f3\u306e DISPLAY\uff08\u3069\u306e X \u753b\u9762\u306b\u51fa\u3059\u304b\uff09\u3068 DBUS_SESSION_BUS_ADDRESS\uff08\u3069\u306e DBus \u30bb\u30c3\u30b7\u30e7\u30f3\u30d0\u30b9\u306b\u8a71\u3057\u304b\u3051\u308b\u304b\uff09\u3092\u53d6\u5f97\u3057\u3001\u305d\u306e\u74b0\u5883\u3067\u5bfe\u8c61\u30e6\u30fc\u30b6\u30fc\u3068\u3057\u3066\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3002DBus \u306f\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u74b0\u5883\u5185\u306e\u30d7\u30ed\u30bb\u30b9\u9023\u643a\uff08\u901a\u77e5\u3001\u8a2d\u5b9a\u3001\u30b5\u30fc\u30d3\u30b9\u547c\u3073\u51fa\u3057\uff09\u306b\u5e83\u304f\u4f7f\u308f\u308c\u308b\u305f\u3081\u3001\u3053\u3053\u3092\u5916\u3059\u3068\u300c\u30b3\u30de\u30f3\u30c9\u304c\u52d5\u304b\u306a\u3044\u300d\u304b\u300c\u5225\u30bb\u30c3\u30b7\u30e7\u30f3\u306b\u884c\u304f\u300d\u3002DBus \u306e\u6982\u5ff5\u306f freedesktop.org \u306e\u89e3\u8aac\u306b\u3042\u308b<a href=\"#ref9\">[9]<\/a>\u3002<\/p>\n<h3>5.1 \u307e\u305a\u300c\u5bfe\u8c61 GUI \u30bb\u30c3\u30b7\u30e7\u30f3\u300d\u3092\u9593\u9055\u3048\u306a\u3044<\/h3>\n<p>\u3053\u3053\u304c\u6700\u91cd\u8981\u3067\u3042\u308b\u3002\u7279\u306b\u300c\u30ed\u30fc\u30ab\u30eb GUI \u3068 xrdp \u306e GUI \u304c\u540c\u6642\u306b\u5b58\u5728\u3057\u5f97\u308b\u300d\u69cb\u6210\u3067\u306f\u3001xfce4-session \u304c\u8907\u6570\u8d77\u52d5\u3057\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u3002\u305d\u306e\u5834\u5408\u3001\u5358\u7d14\u306b 1 \u500b\u76ee\u306e PID \u3092\u62fe\u3046\uff08head -n1\uff09\u3068\u3044\u3046\u96d1\u306a\u65b9\u6cd5\u306f\u5371\u967a\u3067\u3042\u308b\u3002\u307e\u305a loginctl \u3067\u300c\u3069\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u304c\u5bfe\u8c61\u304b\uff08seat\u3001tty\u3001\u30e6\u30fc\u30b6\u30fc\uff09\u300d\u3092\u78ba\u5b9a\u3057\u3001\u5fc5\u8981\u306a\u3089 show-session \u306e\u60c5\u5831\u3092\u4f7f\u3063\u3066\u3001\u3069\u306e\u30d7\u30ed\u30bb\u30b9\u7fa4\u304c\u305d\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u914d\u4e0b\u304b\u3092\u610f\u8b58\u3057\u3066\u304b\u3089\u9032\u3080<a href=\"#ref7\">[7]<\/a>\u3002<\/p>\n<h3>5.2 xfce4-session \u306e\u74b0\u5883\u304b\u3089 DISPLAY \u3068 DBus \u3092\u53d6\u5f97\u3059\u308b<\/h3>\n<p>\u5b9f\u52d9\u4e0a\u3082\u3063\u3068\u3082\u7c21\u5358\u3067\u3001\u304b\u3064\u6210\u529f\u7387\u304c\u9ad8\u3044\u306e\u306f\u3001\u5bfe\u8c61\u30bb\u30c3\u30b7\u30e7\u30f3\u3067\u52d5\u3044\u3066\u3044\u308b xfce4-session \u30d7\u30ed\u30bb\u30b9\u306e\u74b0\u5883\u5909\u6570\u304b\u3089 DISPLAY \u3068 DBUS_SESSION_BUS_ADDRESS \u3092\u53d6\u308a\u51fa\u3059\u65b9\u6cd5\u3067\u3042\u308b\u3002pgrep \u306f\u30d7\u30ed\u30bb\u30b9\u691c\u7d22\u306e\u6a19\u6e96\u30c4\u30fc\u30eb\u3067\u3042\u308a\u3001manpages \u306b\u4ed5\u69d8\u304c\u3042\u308b<a href=\"#ref11\">[11]<\/a>\u3002<\/p>\n<div class=\"codecolorer-container text geshi block\" style=\"overflow:auto;white-space:nowrap;width:1000px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/><\/div><\/td><td><div class=\"text codecolorer\" style=\"white-space:nowrap\">&nbsp; PID=$(pgrep -u username -x xfce4-session | head -n1)<br \/>\ntr '\\0' '\\n'<br \/>\n&nbsp; \/proc\/&quot;$PID&quot;\/environ | grep -E '^(DISPLAY|DBUS_SESSION_BUS_ADDRESS)='<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>\u4e0a\u306e\u53d6\u5f97\u7d50\u679c\uff08DISPLAY \u3068 DBUS_SESSION_BUS_ADDRESS\uff09\u3092\u63a7\u3048\u3001\u4ee5\u964d\u306e\u30b3\u30de\u30f3\u30c9\u306b\u5fc5\u305a\u6e21\u3059\u3002\u7e70\u308a\u8fd4\u3057\u306b\u306a\u308b\u304c\u3001xfce4-session \u304c\u8907\u6570\u3042\u308b\u5834\u5408\u306f head -n1 \u3092\u3084\u3081\u3001\u3069\u306e PID \u304c\u5bfe\u8c61\u30bb\u30c3\u30b7\u30e7\u30f3\u304b\u3092\u78ba\u5b9a\u3057\u3066\u304b\u3089\u74b0\u5883\u3092\u62fe\u3046\u3002<\/p>\n<h3>5.3 \u5bfe\u8c61\u30e6\u30fc\u30b6\u30fc\u6a29\u9650\u3067\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\uff08sudo -u\uff09<\/h3>\n<p>GUI \u64cd\u4f5c\u306f\u5bfe\u8c61\u30e6\u30fc\u30b6\u30fc\u6a29\u9650\u3067\u8d70\u308b\u3053\u3068\u304c\u524d\u63d0\u306b\u306a\u308b\u3053\u3068\u304c\u591a\u3044\u3002\u305d\u306e\u305f\u3081 sudo -u \u3067\u30e6\u30fc\u30b6\u30fc\u3092\u5207\u308a\u66ff\u3048\u3001env \u3067 DISPLAY \u3068 DBus \u3092\u660e\u793a\u3059\u308b\u3002sudo \u306e\u6319\u52d5\u306f manpages \u306b\u3042\u308b<a href=\"#ref12\">[12]<\/a>\u3002<\/p>\n<div class=\"codecolorer-container text geshi block\" style=\"overflow:auto;white-space:nowrap;width:1000px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\" style=\"white-space:nowrap\">&nbsp; sudo -u username env DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=unix:path=... notify-send &quot;Title&quot; &quot;Body&quot;<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<hr>\n<h2>6. \u5177\u4f53\u4f8b\uff1aSSH \u304b\u3089\u3088\u304f\u3084\u308b\u64cd\u4f5c\u3092\u300c\u5b89\u5168\u306a\u9806\u5e8f\u300d\u3067\u307e\u3068\u3081\u308b<\/h2>\n<p>\u3053\u3053\u307e\u3067\u306e\u6982\u5ff5\u3092\u3001\u5b9f\u52d9\u3067\u305d\u306e\u307e\u307e\u4f7f\u3048\u308b\u5f62\u306b\u843d\u3068\u3059\u3002\u6700\u521d\u306b\u300c\u30bb\u30c3\u30b7\u30e7\u30f3\u5883\u754c\u3067\u7247\u4ed8\u304f\u3082\u306e\u306f loginctl \u3067\u7247\u4ed8\u3051\u308b\u300d\u3068\u6c7a\u3081\u308b\u3068\u3001\u5fc5\u8981\u4ee5\u4e0a\u306b DISPLAY\/DBus \u3092\u6271\u308f\u305a\u306b\u6e08\u307f\u3001\u904b\u7528\u304c\u5358\u7d14\u306b\u306a\u308b\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u76ee\u7684<\/th>\n<th>\u63a8\u5968\uff08\u7b2c\u4e00\u9078\u629e\uff09<\/th>\n<th>\u6761\u4ef6\u4ed8\u304d\uff08\u7b2c\u4e8c\u9078\u629e\uff09<\/th>\n<th>\u88dc\u8db3<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u30ed\u30fc\u30ab\u30eb GUI \u3092\u30ed\u30b0\u30a2\u30a6\u30c8\uff08\u78ba\u5b9f\uff09<\/td>\n<td>sudo loginctl terminate-session SID<\/td>\n<td>sudo -u username env &#8230; xfce4-session-logout &#8211;logout<\/td>\n<td>\u524d\u8005\u304c\u6700\u3082\u5805\u3044\u3002\u5f8c\u8005\u306f GUI \u5185\u90e8\u7d4c\u7531<a href=\"#ref7\">[7]<\/a><a href=\"#ref13\">[13]<\/a>\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u753b\u9762\u30ed\u30c3\u30af<\/td>\n<td>sudo loginctl lock-session SID<\/td>\n<td>sudo -u username env &#8230; xfce4-screensaver-command &#8211;lock \/ xscreensaver-command -lock<\/td>\n<td>\u30ed\u30c3\u30af\u7d71\u5408\u306f\u74b0\u5883\u4f9d\u5b58<a href=\"#ref10\">[10]<\/a><a href=\"#ref14\">[14]<\/a><a href=\"#ref15\">[15]<\/a>\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u901a\u77e5\u3092\u51fa\u3059<\/td>\n<td>sudo -u username env &#8230; notify-send &#8230;<\/td>\n<td>\u306a\u3057<\/td>\n<td>\u901a\u77e5\u4ed5\u69d8\u306f freedesktop \u306e\u898f\u7d04<a href=\"#ref16\">[16]<\/a><a href=\"#ref17\">[17]<\/a>\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u30d1\u30cd\u30eb\u518d\u8d77\u52d5<\/td>\n<td>sudo -u username env &#8230; xfce4-panel -r<\/td>\n<td>\u306a\u3057<\/td>\n<td>Xfce docs \u306b\u8a18\u8f09<a href=\"#ref18\">[18]<\/a>\u3002<\/td>\n<\/tr>\n<tr>\n<td>GUI \u30a2\u30d7\u30ea\u3092\u8d77\u52d5<\/td>\n<td>sudo -u username env &#8230;<app><\/app><\/td>\n<td>\u306a\u3057<\/td>\n<td>DISPLAY\/DBus \u304c\u5408\u3063\u3066\u3044\u306a\u3044\u3068\u5931\u6557\u3059\u308b<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>xfce4-session-logout \u306e\u4ed5\u69d8\u306f Debian manpages \u306b\u3042\u308b<a href=\"#ref13\">[13]<\/a>\u3002<\/p>\n<div class=\"codecolorer-container text geshi block\" style=\"overflow:auto;white-space:nowrap;width:1000px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\" style=\"white-space:nowrap\">&nbsp; sudo -u username env DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=unix:path=... xfce4-session-logout --logout<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>xfce4-screensaver \u3068 xscreensaver \u306f\u5225\u5b9f\u88c5\u3067\u3042\u308b\u3002\u3069\u3061\u3089\u3092\u63a1\u7528\u3057\u3066\u3044\u308b\u304b\u3067\u30ed\u30c3\u30af\u30b3\u30de\u30f3\u30c9\u304c\u5909\u308f\u308b\u305f\u3081\u3001\u904b\u7528\u3068\u3057\u3066\u300c\u63a1\u7528\u3057\u3066\u3044\u308b\u30b9\u30af\u30ea\u30fc\u30f3\u30ed\u30c3\u30af\u5b9f\u88c5\u300d\u3092\u628a\u63e1\u3057\u3066\u304a\u304f\u3002Xfce docs \u304a\u3088\u3073 xscreensaver \u306e\u30de\u30cb\u30e5\u30a2\u30eb\u304c\u4e00\u6b21\u60c5\u5831\u306b\u306a\u308b<a href=\"#ref14\">[14]<\/a><a href=\"#ref15\">[15]<\/a>\u3002<\/p>\n<div class=\"codecolorer-container text geshi block\" style=\"overflow:auto;white-space:nowrap;width:1000px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/><\/div><\/td><td><div class=\"text codecolorer\" style=\"white-space:nowrap\">&nbsp; sudo -u username env DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=unix:path=... xfce4-screensaver-command --lock<br \/>\nsudo -u username env DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=unix:path=... xscreensaver-command -lock<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<hr>\n<h2>7. \u904b\u7528\u30eb\u30fc\u30eb\uff1a\u4e8b\u6545\u3092\u9632\u304e\u3001\u518d\u73fe\u6027\u3092\u78ba\u4fdd\u3059\u308b<\/h2>\n<p>SSH \u304b\u3089 GUI \u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u6271\u3046\u3068\u304d\u306e\u4e8b\u6545\u306f\u3001\u307b\u307c\u300c\u5bfe\u8c61\u306e\u53d6\u308a\u9055\u3048\u300d\u3068\u300c\u5f37\u5236\u7d42\u4e86\u306e\u4e71\u7528\u300d\u306b\u96c6\u7d04\u3055\u308c\u308b\u3002\u3088\u3063\u3066\u904b\u7528\u30eb\u30fc\u30eb\u306f\u8907\u96d1\u306b\u3059\u308b\u5fc5\u8981\u304c\u306a\u304f\u3001\u3080\u3057\u308d\u56fa\u5b9a\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3068\u3057\u3066\u77ed\u304f\u6c7a\u3081\u305f\u65b9\u304c\u826f\u3044\u3002\u7b2c\u4e00\u306b\u3001xrdp \u63a5\u7d9a\u524d\u306b\u30ed\u30fc\u30ab\u30eb GUI \u3092\u843d\u3068\u3059\u5fc5\u8981\u304c\u3042\u308b\u306a\u3089\u3001\u307e\u305a loginctl terminate-session \u3092\u4f7f\u3046\u3002\u7b2c\u4e8c\u306b\u3001GUI \u5185\u90e8\u64cd\u4f5c\u304c\u5fc5\u8981\u306b\u306a\u3063\u305f\u3089\u3001loginctl \u3067\u5bfe\u8c61\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u78ba\u8a8d\u3057\u305f\u4e0a\u3067\u3001\u5bfe\u8c61\u30bb\u30c3\u30b7\u30e7\u30f3\u306e xfce4-session \u304b\u3089 DISPLAY \u3068 DBus \u3092\u53d6\u5f97\u3057\u3066\u5b9f\u884c\u3059\u308b\u3002\u7b2c\u4e09\u306b\u3001xfce4-session \u304c\u8907\u6570\u3042\u308b\u5834\u5408\uff08\u30ed\u30fc\u30ab\u30eb\u3068 xrdp \u306e\u540c\u6642\u5b58\u5728\uff09\u306f PID \u306e\u6c7a\u3081\u6253\u3061\u3092\u3057\u306a\u3044\u3002\u7b2c\u56db\u306b\u3001kill -9 \u306e\u3088\u3046\u306a\u5f37\u5236\u7d42\u4e86\u306f\u6700\u7d42\u624b\u6bb5\u3068\u3057\u3001\u57fa\u672c\u306f\u30bb\u30c3\u30b7\u30e7\u30f3\u5883\u754c\u3067\u9589\u3058\u308b\uff08terminate-session\uff09\u3053\u3068\u3067\u6574\u5408\u6027\u3092\u4fdd\u3064\u3002\u3053\u308c\u304c\u300c\u8a2d\u5b9a\u4fdd\u5b58\u300d\u300c\u5f8c\u7247\u4ed8\u3051\u300d\u300c\u6b21\u306e\u30ed\u30b0\u30a4\u30f3\u306e\u5b89\u5b9a\u300d\u306b\u52b9\u304f<a href=\"#ref7\">[7]<\/a><a href=\"#ref8\">[8]<\/a><a href=\"#ref12\">[12]<\/a>\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u30c1\u30a7\u30c3\u30af<\/th>\n<th>\u5177\u4f53\u7684\u306a\u78ba\u8a8d<\/th>\n<th>\u610f\u56f3<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u5bfe\u8c61\u30bb\u30c3\u30b7\u30e7\u30f3\u306f\u6b63\u3057\u3044\u304b<\/td>\n<td>loginctl \u2192 loginctl show-session<\/td>\n<td>\u8aa4\u64cd\u4f5c\uff08\u5225\u30e6\u30fc\u30b6\u30fc\u30fb\u5225\u30bb\u30c3\u30b7\u30e7\u30f3\uff09\u3092\u9632\u3050<\/td>\n<\/tr>\n<tr>\n<td>\u30ed\u30b0\u30a2\u30a6\u30c8\u306f loginctl \u3092\u512a\u5148\u3057\u305f\u304b<\/td>\n<td>terminate-session \u3092\u7b2c\u4e00\u9078\u629e\u306b\u56fa\u5b9a<\/td>\n<td>GUI \u69cb\u6210\u5dee\u306b\u4f9d\u5b58\u3057\u306a\u3044\u624b\u9806\u306b\u3059\u308b<\/td>\n<\/tr>\n<tr>\n<td>GUI \u64cd\u4f5c\u306f DISPLAY\/DBus \u3092\u53d6\u5f97\u3057\u305f\u304b<\/td>\n<td>\/proc\/<pid>\/environ \u304b\u3089\u53d6\u5f97<\/pid><\/td>\n<td>\u5225\u30bb\u30c3\u30b7\u30e7\u30f3\u3078\u547d\u4ee4\u304c\u98db\u3076\u306e\u3092\u9632\u3050<\/td>\n<\/tr>\n<tr>\n<td>\u8907\u6570 xfce4-session \u3092\u60f3\u5b9a\u3057\u305f\u304b<\/td>\n<td>PID \u3092\u78ba\u5b9a\u3057\u3066\u304b\u3089\u5b9f\u884c<\/td>\n<td>\u30ed\u30fc\u30ab\u30eb\u3068 xrdp \u306e\u53d6\u308a\u9055\u3048\u3092\u9632\u3050<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr>\n<h2>8. \u307e\u3068\u3081\uff1axrdp \u306e\u5931\u6557\u3068 SSH \u5236\u5fa1\u3092\u4e00\u3064\u306e\u7b4b\u3067\u7406\u89e3\u3059\u308b<\/h2>\n<p>\u30ed\u30fc\u30ab\u30eb\u3067 Xfce4 \u306b\u30ed\u30b0\u30a4\u30f3\u4e2d\u306e\u3068\u304d\u306b xrdp \u30ed\u30b0\u30a4\u30f3\u304c\u6210\u7acb\u3057\u306a\u3044\u73fe\u8c61\u306f\u3001xrdp \u304c\u4e00\u822c\u306b\u300c\u30ed\u30fc\u30ab\u30eb\u753b\u9762\u306e\u5171\u6709\u300d\u3067\u306f\u306a\u304f\u300c\u5225\u30bb\u30c3\u30b7\u30e7\u30f3\u306e GUI \u8d77\u52d5\u300d\u3067\u52d5\u304f\u8a2d\u8a08\u3067\u3042\u308b\u3053\u3068\u3001\u305d\u3057\u3066\u540c\u4e00\u30e6\u30fc\u30b6\u30fc\u306e\u4e8c\u91cd GUI \u30bb\u30c3\u30b7\u30e7\u30f3\u304c Xorg\u3001DBus\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u7ba1\u7406\u306e\u8907\u5408\u6761\u4ef6\u3067\u885d\u7a81\u3057\u5f97\u308b\u3053\u3068\u306b\u7531\u6765\u3059\u308b<a href=\"#ref2\">[2]<\/a><a href=\"#ref3\">[3]<\/a><a href=\"#ref5\">[5]<\/a>\u3002<\/p>\n<p>\u3053\u308c\u3092\u904b\u7528\u3067\u78ba\u5b9f\u306b\u56de\u907f\u3059\u308b\u65b9\u6cd5\u3068\u3057\u3066\u300c\u30ea\u30e2\u30fc\u30c8\u63a5\u7d9a\u524d\u306b\u30ed\u30fc\u30ab\u30eb GUI \u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u7d42\u4e86\u3059\u308b\u300d\u304c\u3042\u308a\u3001\u305d\u306e\u5b9f\u88c5\u3068\u3057\u3066 SSH \u304b\u3089 loginctl terminate-session \u3092\u4f7f\u3046\u306e\u304c\u6700\u3082\u5805\u3044<a href=\"#ref7\">[7]<\/a><a href=\"#ref8\">[8]<\/a>\u3002<\/p>\n<p>\u3055\u3089\u306b SSH \u304b\u3089\u901a\u77e5\u3084\u30ed\u30c3\u30af\u306a\u3069 GUI \u5185\u90e8\u64cd\u4f5c\u3092\u884c\u3046\u5834\u5408\u306f\u3001\u5bfe\u8c61\u30bb\u30c3\u30b7\u30e7\u30f3\u306e DISPLAY \u3068 DBus \u30bb\u30c3\u30b7\u30e7\u30f3\u60c5\u5831\u3092\u6b63\u3057\u304f\u53d6\u5f97\u3057\u3001\u5bfe\u8c61\u30e6\u30fc\u30b6\u30fc\u6a29\u9650\u3067\u547d\u4ee4\u3092\u9001\u308b\uff08\u305f\u3060\u3057\u5bfe\u8c61\u53d6\u308a\u9055\u3048\u306b\u6ce8\u610f\u3059\u308b\uff09\u3068\u3044\u3046\u4e8c\u6bb5\u69cb\u3048\u3067\u6574\u7406\u3059\u308b\u3068\u3001\u7406\u89e3\u3068\u904b\u7528\u306e\u4e21\u65b9\u304c\u5b89\u5b9a\u3059\u308b<a href=\"#ref9\">[9]<\/a><a href=\"#ref12\">[12]<\/a>\u3002<\/p>\n<hr>\n<h2>\u53c2\u8003\u6587\u732e<\/h2>\n<ol>\n<li id=\"ref1\">id774, \u300cmacOS \u304b\u3089 Debian \u3078\u306e\u30ea\u30e2\u30fc\u30c8\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u63a5\u7d9a\u300d (2025-09-09). <a href=\"https:\/\/blog.id774.net\/entry\/2025\/09\/09\/2999\/\">https:\/\/blog.id774.net\/entry\/2025\/09\/09\/2999\/<\/a><\/li>\n<li id=\"ref2\">neutrinolabs\/xrdp. <a href=\"https:\/\/github.com\/neutrinolabs\/xrdp\">https:\/\/github.com\/neutrinolabs\/xrdp<\/a><\/li>\n<li id=\"ref3\">neutrinolabs\/xorgxrdp. <a href=\"https:\/\/github.com\/neutrinolabs\/xorgxrdp\">https:\/\/github.com\/neutrinolabs\/xorgxrdp<\/a><\/li>\n<li id=\"ref4\">Debian Packages: xrdp. <a href=\"https:\/\/packages.debian.org\/stable\/xrdp\">https:\/\/packages.debian.org\/stable\/xrdp<\/a><\/li>\n<li id=\"ref5\">xrdp Wiki. <a href=\"https:\/\/github.com\/neutrinolabs\/xrdp\/wiki\">https:\/\/github.com\/neutrinolabs\/xrdp\/wiki<\/a><\/li>\n<li id=\"ref6\">c-nergy.be: xrdp \u3068\u518d\u63a5\u7d9a\u30fb\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u8003\u3048\u65b9. <a href=\"https:\/\/c-nergy.be\/blog\/?p=4471\">https:\/\/c-nergy.be\/blog\/?p=4471<\/a><\/li>\n<li id=\"ref7\">loginctl(1) (man7). <a href=\"https:\/\/man7.org\/linux\/man-pages\/man1\/loginctl.1.html\">https:\/\/man7.org\/linux\/man-pages\/man1\/loginctl.1.html<\/a><\/li>\n<li id=\"ref8\">systemd-logind.service (systemd upstream docs). <a href=\"https:\/\/www.freedesktop.org\/software\/systemd\/man\/latest\/systemd-logind.service.html\">https:\/\/www.freedesktop.org\/software\/systemd\/man\/latest\/systemd-logind.service.html<\/a><\/li>\n<li id=\"ref9\">D-Bus\uff08freedesktop.org\uff09. <a href=\"https:\/\/www.freedesktop.org\/wiki\/Software\/dbus\/\">https:\/\/www.freedesktop.org\/wiki\/Software\/dbus\/<\/a><\/li>\n<li id=\"ref10\">logind.conf(5) (Debian manpages). <a href=\"https:\/\/manpages.debian.org\/testing\/systemd\/logind.conf.5.en.html\">https:\/\/manpages.debian.org\/testing\/systemd\/logind.conf.5.en.html<\/a><\/li>\n<li id=\"ref11\">pgrep(1) (Debian manpages). <a href=\"https:\/\/manpages.debian.org\/stable\/procps\/pgrep.1.en.html\">https:\/\/manpages.debian.org\/stable\/procps\/pgrep.1.en.html<\/a><\/li>\n<li id=\"ref12\">sudo(8) (Debian manpages). <a href=\"https:\/\/manpages.debian.org\/stable\/sudo\/sudo.8.en.html\">https:\/\/manpages.debian.org\/stable\/sudo\/sudo.8.en.html<\/a><\/li>\n<li id=\"ref13\">xfce4-session-logout(1) (Debian manpages). <a href=\"https:\/\/manpages.debian.org\/testing\/xfce4-session\/xfce4-session-logout.1.en.html\">https:\/\/manpages.debian.org\/testing\/xfce4-session\/xfce4-session-logout.1.en.html<\/a><\/li>\n<li id=\"ref14\">xfce4-screensaver (Xfce docs). <a href=\"https:\/\/docs.xfce.org\/apps\/xfce4-screensaver\/start\">https:\/\/docs.xfce.org\/apps\/xfce4-screensaver\/start<\/a><\/li>\n<li id=\"ref15\">xscreensaver-command(1) (jwz.org). <a href=\"https:\/\/www.jwz.org\/xscreensaver\/man1.html\">https:\/\/www.jwz.org\/xscreensaver\/man1.html<\/a><\/li>\n<li id=\"ref16\">Desktop Notifications Specification (freedesktop.org). <a href=\"https:\/\/specifications.freedesktop.org\/notification-spec\/latest\/\">https:\/\/specifications.freedesktop.org\/notification-spec\/latest\/<\/a><\/li>\n<li id=\"ref17\">notify-send(1) (Debian manpages). <a href=\"https:\/\/manpages.debian.org\/stable\/libnotify-bin\/notify-send.1.en.html\">https:\/\/manpages.debian.org\/stable\/libnotify-bin\/notify-send.1.en.html<\/a><\/li>\n<li id=\"ref18\">xfce4-panel (Xfce docs). <a href=\"https:\/\/docs.xfce.org\/xfce\/xfce4-panel\/start\">https:\/\/docs.xfce.org\/xfce\/xfce4-panel\/start<\/a><\/li>\n<li id=\"ref19\">Debian Wiki: Xorg. <a href=\"https:\/\/wiki.debian.org\/Xorg\">https:\/\/wiki.debian.org\/Xorg<\/a><\/li>\n<li id=\"ref20\">logind.conf (systemd upstream docs). <a href=\"https:\/\/www.freedesktop.org\/software\/systemd\/man\/latest\/logind.conf.html\">https:\/\/www.freedesktop.org\/software\/systemd\/man\/latest\/logind.conf.html<\/a><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Debian\u306eXfce4\u3092\u666e\u6bb5\u306f\u30ed\u30fc\u30ab\u30eb\uff08\u7269\u7406\u30de\u30b7\u30f3\uff09\u3067\u4f7f\u3044\u3001\u5fc5\u8981\u306a\u3068\u304d\u3060\u3051\u5225\u306e\u30de\u30b7\u30f3\u304b\u3089 xrdp\uff08RDP\uff09\u3067\u30ea\u30e2\u30fc\u30c8\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u63a5\u7d9a\u3057\u305f\u3044\u3001\u3068\u3044\u3046\u904b\u7528\u306f\u5408\u7406\u7684\u3067\u3042\u308b\u3002\u3057\u304b\u3057\u73fe\u5b9f\u306b\u306f\u300c\u30ed\u30fc\u30ab\u30eb\u3067 GUI \u306b\u30ed\u30b0\u30a4\u30f3\u4e2d\u306e &#8230; <a title=\"Debian + Xfce4 \u3067\u30ed\u30b0\u30a4\u30f3\u4e2d\u306e GUI \u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u5236\u5fa1\u3059\u308b\" class=\"read-more\" href=\"https:\/\/harpuia.id774.net\/entry\/2026\/02\/08\/3493\/\" aria-label=\"Debian + Xfce4 \u3067\u30ed\u30b0\u30a4\u30f3\u4e2d\u306e GUI \u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u5236\u5fa1\u3059\u308b \u306b\u3064\u3044\u3066\u3055\u3089\u306b\u8aad\u3080\">\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"class_list":["post-3493","post","type-post","status-publish","format-standard","hentry","category-tech"],"_links":{"self":[{"href":"https:\/\/harpuia.id774.net\/entry\/wp-json\/wp\/v2\/posts\/3493","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/harpuia.id774.net\/entry\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/harpuia.id774.net\/entry\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/harpuia.id774.net\/entry\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/harpuia.id774.net\/entry\/wp-json\/wp\/v2\/comments?post=3493"}],"version-history":[{"count":8,"href":"https:\/\/harpuia.id774.net\/entry\/wp-json\/wp\/v2\/posts\/3493\/revisions"}],"predecessor-version":[{"id":4205,"href":"https:\/\/harpuia.id774.net\/entry\/wp-json\/wp\/v2\/posts\/3493\/revisions\/4205"}],"wp:attachment":[{"href":"https:\/\/harpuia.id774.net\/entry\/wp-json\/wp\/v2\/media?parent=3493"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/harpuia.id774.net\/entry\/wp-json\/wp\/v2\/categories?post=3493"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/harpuia.id774.net\/entry\/wp-json\/wp\/v2\/tags?post=3493"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}