LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   XRDP issue on Centos 6 (https://www.linuxquestions.org/questions/linux-newbie-8/xrdp-issue-on-centos-6-a-943050/)

ovod88 05-03-2012 03:38 AM

XRDP issue on Centos 6
 
Hello, everybody.
I have downloaded Centos 6 and want to connect to it via xrdp. So I downloaded epel and xrdp.rpm packet for this. However when I try to install xrdp, I get an error (epel is downloaded):
No group mockbuild is created - use root
No user mockbuild is created - use root
and that's it. No package is installed. Please help.

acid_kewpie 05-03-2012 03:49 AM

where does it say "error"? Looks like it installed just fine if that's the only output.

does "rpm -ql xrdp" not show anything?

ovod88 05-04-2012 12:38 AM

[root@security_server ~]# rpm -ql xrdp
/etc/pam.d/sesman
/etc/xrdp
/etc/xrdp/rsakeys.ini
/etc/xrdp/sesman.ini
/etc/xrdp/xrdp.ini
/usr/lib/xrdp
/usr/lib/xrdp/Tahoma-10.fv1
/usr/lib/xrdp/ad256.bmp
/usr/lib/xrdp/cursor0.cur
/usr/lib/xrdp/cursor1.cur
/usr/lib/xrdp/librdp.so
/usr/lib/xrdp/libscp.so
/usr/lib/xrdp/libvnc.so
/usr/lib/xrdp/libxrdp.so
/usr/lib/xrdp/libxup.so
/usr/lib/xrdp/sesman
/usr/lib/xrdp/startwm.sh
/usr/lib/xrdp/xrdp
/usr/lib/xrdp/xrdp256.bmp
/usr/share/doc/xrdp-0.4.0
/usr/share/doc/xrdp-0.4.0/COPYING
/usr/share/doc/xrdp-0.4.0/design.txt
/usr/share/doc/xrdp-0.4.0/install.txt
/usr/share/doc/xrdp-0.4.0/prog_std.txt
/usr/share/doc/xrdp-0.4.0/readme.txt
/usr/share/doc/xrdp-0.4.0/xrdp_control.sh
/usr/share/doc/xrdp-0.4.0/xrdp_control1.sh
/usr/share/man/man5/sesman.ini.5.gz
/usr/share/man/man5/xrdp.ini.5.gz
/usr/share/man/man8/sesman.8.gz
/usr/share/man/man8/sesrun.8.gz
/usr/share/man/man8/xrdp.8.gz
It is seemed to be installed, but no RDP is working. I am not enable to connect from Windows to Centos using RDP.

acid_kewpie 05-04-2012 02:07 AM

it's not going to just magically start working. read the docs that have been provided.

BTW, I'd not recommend using xrdp ever, from remote desktop connectivity to Linux, I'd very very strongly suggest the free version of NX from nomachine.org

ovod88 07-02-2012 04:40 PM

I will try this prog...

hwyhobo 07-22-2012 08:33 PM

Quote:

Originally Posted by acid_kewpie (Post 4670003)
BTW, I'd not recommend using xrdp ever, from remote desktop connectivity to Linux, I'd very very strongly suggest the free version of NX from nomachine.org

Hi acid_kewpie, I am interested in a bit more information, if you don't mind. We are setting up a training environment where users will connect to a remote deskop on Linux VMs from Windows or Macs. In my limited testing xrdp seemed to work okay. However, I saw your recommendations for NoMachine NX in preference to xrdp. I prefer not to force users to install NX clients (users will change every week) for time and support reasons. They will only access a browser and a terminal on the Linux VM.

However, if there are overwhelming reasons why NX would be superior, reasons that would affect functionality, I would love to know them.

jeauxbleaux 08-14-2012 01:00 PM

Try this:

edit ~/.rpmmacros and comment out:

%__arch_install_post /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot

to

# %__arch_install_post /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot


Not really kosher, or good practice, but worked for me.

Also given your client population it's understandable to stick with xrdp and x11rdp for the reasons you outlined.

As a side note I'd never, ever recommend the NX stuff. I've never been able to get it to work, and after a point it simply isn't worth the time and aggravation any more.

Good luck!

hwyhobo 08-14-2012 04:53 PM

Quote:

Originally Posted by jeauxbleaux (Post 4754048)
As a side note I'd never, ever recommend the NX stuff. I've never been able to get it to work, and

Out of curiosity I installed it and got it to work on CentOS 6.3. It took a little work, but now the remote desktop can be accessed from both PC and Mac. My main problem with xrdp was that while it worked nicely from PC, I could not get it to work from a Mac using MS rdp.

Problem with nx is that your audience has to install it. In training that can be a challenge depending on where you go (policies regarding installing unapproved software). rdp avoids that issue.

acid_kewpie 08-15-2012 01:56 AM

the main issue with NX i find is that people keep using FreeNX when there is no reason to. With the real NX free service the SSH keys are predistributed so for a basic setup there's just about no config to do. But with FreeNX there's the need to configure new SSH keys.


All times are GMT -5. The time now is 08:19 AM.