VPS 9 (Atlanta) - Problem with Remote Desktop Connection - Printable Version +- Post4VPS Forum | Free VPS Provider (https://post4vps.com) +-- Forum: VPS Discussion (https://post4vps.com/Forum-VPS-Discussion) +--- Forum: VPS Support (https://post4vps.com/Forum-VPS-Support) +--- Thread: VPS 9 (Atlanta) - Problem with Remote Desktop Connection (/Thread-VPS-9-Atlanta-Problem-with-Remote-Desktop-Connection) |
VPS 9 (Atlanta) - Problem with Remote Desktop Connection - Sn1F3rt - 04-01-2020 Hello, I'm running into errors with my VPS 9 while trying to RDP. I installed XRDP and TigerVNC and proceeded with the installation of XFCE desktop environment. However, here's the strange thing that's happening. I am able to get the XRDP login screen and after a successful login, I am just getting a black screen and the session disconnects. I googled a few articles on the web and a few bug fixes ask us to comment out the line `channel_code=1` in `/etc/xrdp/xrdp.ini` however, to my dismay there's no such line in the config file. As a side note, the last time GNOME did work as a desktop environment on my VPS. This time I installed XFCE as it is lighter than GNOME, which was hogging resources on my VPS the last time. After the latest OS installation, I'm facing this problem, dunno if it's related to XFCE particularly. BTW SELinux is disabled on my VPS. Hope y'all are able to help me. Regards, RE: VPS 9 (Atlanta) - Problem with Remote Desktop Connection - rudra - 04-01-2020 i guess you followed some tutorial. please mention that with link and also mention your operating system. Your should plan it before you make a post requesting support. Those are necessary basic information one should think of providing. and don't forget the logs. Also what are steps, if any, you took while trying to troubleshoot this issue ? RE: VPS 9 (Atlanta) - Problem with Remote Desktop Connection - ikk157 - 04-01-2020 (04-01-2020, 04:15 PM)rudra Wrote: i guess you followed some tutorial. please mention that with link and also mention your operating system. His VPS runs on centos 7 (I know that because I constantly chat with him). @sohamb03 I’m curious as to what you’d use a desktop environment running on a VPS for. I’ve seen it done before but it didn’t really run that well (on Bengy’s HelioHost VPS to be exact). Which makes sense considering that VPSs aren’t really made for such a thing. I’m not blaming you or being negative or any of that, I’m just curious as to what you’re using it for. RE: VPS 9 (Atlanta) - Problem with Remote Desktop Connection - Sn1F3rt - 04-01-2020 Ah yeah, I'd missed out on a number of things while making this support request. Sorry for that, I'd been hurrying for my classes at that time. As @ikk157 said, my VPS runs CentOS 7. Indeed I followed a tutorial which is this - https://hostpresto.com/community/tutorials/using-a-desktop-environment-on-a-centos-7-vps/ The same tutorial worked perfectly fine last time for GNOME and hence, I'm sensing if it has something to do with XFCE in particular. As for the error logs, yeah I did forget to mention in the OP, but there isn't anything in the error logs, which makes it even more creepy (unlike the various troubleshooting options on the web, where there's a bunch of stuff in the error log). Code: [root@sohamb03 ~]# ls -a . cyberpanel sohamb03.ovpn As for the troubleshooting done myself, I did mention that I did see a few fixes, which suggest commenting out the line `channel_code=1`. However, that's missing in my config file, hence not a possible fix for me. @ikk157 Besides web developing, I'm also learning to develop GUI applications in Python. Sadly, my Dad's office blocks Installation of every software on our PC as he works from home (not for Corona outbreak, he's home-based) and so I can't install any of my stuff there. And that's the reason. I know desktop environment isn't necessarily meant for a VPS, but XFCE being extremely light weight should be good. Doesn't hog resources like GNOME. Regards, RE: VPS 9 (Atlanta) - Problem with Remote Desktop Connection - youssefbasha - 04-02-2020 Why don't you use vnc and do the steps of hidden's tutorial? Link: https://post4vps.com/Thread-CentOS-7-with-XFCE-VNC RE: VPS 9 (Atlanta) - Problem with Remote Desktop Connection - Sn1F3rt - 04-03-2020 Well, that's alright, maybe I'll use later, but as of now, I'm more interested in knowing why this isn't working. Regards, RE: VPS 9 (Atlanta) - Problem with Remote Desktop Connection - Mashiro - 04-11-2020 The issue has been solved. I will publish guides for CentOS 7/8 + XFCE with XRDP soon. RE: VPS 9 (Atlanta) - Problem with Remote Desktop Connection - Sn1F3rt - 04-11-2020 Just to follow up, this issue has been fixed by @"Hidden Refuge". I'm posting the fix on his behalf, for anyone who might face a similar problem in the future. All credits to him for fixing this issue. As he pointed out, the configuration to tell XRDP what's to be done after a successful connection wasn't there. The fix is as simple as below. Code: echo "xfce4-session" > ~/.Xclients And then it works. @deanhills, you can close this thread now. EDIT : Didn't realize both of us were posting at the same time, but nevermind. Regards, RE: VPS 9 (Atlanta) - Problem with Remote Desktop Connection - Mashiro - 04-11-2020 The guide for the latest CentOS versions is now available: https://post4vps.com/Thread-CentOS-7-8-with-XFCE-XRDP |