Bug 333681 - krdc mount only /media shared dir
Summary: krdc mount only /media shared dir
Status: RESOLVED FIXED
Alias: None
Product: krdc
Classification: Applications
Component: RDP (other bugs)
Version First Reported In: 4.13.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Urs Wolfer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-21 09:46 UTC by fate2
Modified: 2016-05-01 20:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fate2 2014-04-21 09:46:32 UTC
krdc tries to mount /media shared dir instead of my custom /shared dir which i set in settings  of current rdp connection

Reproducible: Always

Steps to Reproduce:
1. open new connection
2. change shared dir from /media to /shared
3. krdc tries to mount /media
Comment 1 fate2 2014-05-20 04:41:54 UTC
i updated krdc to 4.13.0 version. the same issue
Comment 2 AceLan Kao 2016-02-04 06:21:46 UTC
I believe this issue had been fixed if you use freerdp v1.1.0 or above, I can share my home directory without any problem.

krdc(2843)/krdc (RDP backend) RdpView::start: Use FreeRDP 1.1+ compatible arguments
krdc(2843)/krdc (RDP backend) RdpView::start: Starting xfreerdp with arguments:  "-decorations /w:1864 /h:1295 +smart-sizing /kbd:0x00000409 /u:acelan /parent-window:134217766 /bpp:24 /audio-mode:0 /drive:media,/home/acelan /network:lan /rfx /cert-ignore +clipboard /port:3389 /v:192.168.2.118"
Comment 3 hrvooje 2016-04-29 10:50:54 UTC
(In reply to AceLan Kao from comment #2)
> I believe this issue had been fixed if you use freerdp v1.1.0 or above, I
> can share my home directory without any problem.
> 
> krdc(2843)/krdc (RDP backend) RdpView::start: Use FreeRDP 1.1+ compatible
> arguments
> krdc(2843)/krdc (RDP backend) RdpView::start: Starting xfreerdp with
> arguments:  "-decorations /w:1864 /h:1295 +smart-sizing /kbd:0x00000409
> /u:acelan /parent-window:134217766 /bpp:24 /audio-mode:0
> /drive:media,/home/acelan /network:lan /rfx /cert-ignore +clipboard
> /port:3389 /v:192.168.2.118"

And how to do that, plese?
Comment 4 AceLan Kao 2016-04-29 10:56:04 UTC
Just set the media directory to whatever you want to share, it will be present in windows as "media" drive
Comment 5 hrvooje 2016-04-29 12:39:44 UTC
No, it does not work in KRDC 4.14.16 when trying to connect to Win Server 2003. How do I know if I use freerdp or rdesktop with KDRC?
Comment 6 fate2 2016-04-29 12:42:50 UTC
check ps -ef

my krdc uses rdesktop
Comment 7 fate2 2016-04-29 12:45:00 UTC
sorry, disinformation.
my krdc uses xfreerdp(FreeRDP 1.0.2)
Comment 8 AceLan Kao 2016-05-01 11:35:08 UTC
are you able to upgrade the xfreerdp to v1.1.0+?
Comment 9 hrvooje 2016-05-01 12:49:17 UTC
(In reply to AceLan Kao from comment #8)
> are you able to upgrade the xfreerdp to v1.1.0+?

I upgraded my system apt-get update, apt-get dist-upgrade. How do I upgrade only one package and what if that package is not in distro repos?
Comment 10 AceLan Kao 2016-05-01 14:01:15 UTC
I think you can use ubuntu version of xfreerdp
https://launchpad.net/ubuntu/+source/freerdp

You can try 
   apt-get install freerdp-x11
to install xfreerdp if you use ubuntu

You can download the .deb file to install as well
http://launchpadlibrarian.net/220258046/freerdp-x11_1.1.0~git20140921.1.440916e+dfsg1-5ubuntu1_amd64.deb
   dpkg -i freerdp-x11_1.1.0~git20140921.1.440916e+dfsg1-5ubuntu1_amd64.deb
Comment 11 hrvooje 2016-05-01 20:30:33 UTC
Well, it seems I have the latest version. This is what I get in Kubuntu 16.04:

user@probook:~$ man xfreerdp | grep version
       /version
user@probook:~$ xfreerdp /version
This is FreeRDP version 2.0.0-dev (git n/a)