Skip to contentSkip to conversation

Remote desktop via Bluez

Bluez-users Raymond Ingles 3 participants 4 messages Jun 19, 2008 – Jun 20, 2008 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw
Quoted 4 lines · umeshyv

I think everyone are aware of windows vista ,you can access its desktop using your mobile with bluetooth enabled on your mobile and on your host using Remote Desktop application on your mobile is it possible to do the same on suse linux 10.1.waiting for your suggestions

Yes, depending on what kind of 'mobile' you have. First, get
networking to work. For example, if you have a Palm-based system, if you can remote hotsync over bluetooth, then you should be able to do remote desktop. There are several ways to remotely view the screen with Linux. There's a linux RDP (Microsofts' "Remote Desktop Protocol") server here: http://xrdp.sourceforge.net/

However, I think the VNC stuff is a bit more mature. VNC is a
different implementation of the same 'remote desktop' idea. I've used this on my Palm: http://palmvnc2.free.fr/

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#1 lore raw

[Bluez-users] How to using security "Auto" in pairing , I tried but not working ?

Hi

I do not have passkey-agent running , so I try to use auto for security
and hope it can send back the passkey auto.

My setting in hcid.conf is as below :

options {
# Automatically initialize new devices
autoinit yes;

# Security Manager mode
# none - Security manager disabled
# auto - Use local PIN for incoming connections
# user - Always ask user for a PIN
#
security auto;

# Pairing mode
# none - Pairing disabled
# multi - Allow pairing with already paired devices
# once - Pair once and deny successive attempts
pairing multi;

# Do the same as "hciconfig hci0 down" when SetMode("off") # is called.
offmode devdown;

# Default PIN code for incoming connections passkey "1234";
}

But this don't work :

When I try to start the bonding process following
http://wiki.bluez.org/wiki/HOWTO/Bonding
The output of hcidump :

~ # dbus-send --system --type=method_call --print-reply --dest=org.bluez /org/bluez/hci0 org.bluez.Adapter.CreateBonding string:00:02:72:B0:00:26 < HCI Command: Create Connection (0x01|0x0005) plen 13
bdaddr 00:02:72:B0:00:26 ptype 0xcc18 rswitch 0x01 clkoffset 0x0000 Packet type: DM1 DM3 DM5 DH1 DH3 DH5

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

    Create Connection (0x01|0x0005) status 0x00 ncmd 1
Quoted 1 line

HCI Event: Connect Complete (0x03) plen 11

    status 0x00 handle 42 bdaddr 00:02:72:B0:00:26 type ACL encrypt 0x00

< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
handle 42

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

    Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 0
Quoted 1 line

HCI Event: Max Slots Change (0x1b) plen 3

handle 42 slots 5

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

    Unknown (0x00|0x0000) status 0x00 ncmd 1

< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
handle 42 policy 0x0f
Link policy: RSWITCH HOLD SNIFF PARK

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 6

    Write Link Policy Settings (0x02|0x000d) ncmd 1
    status 0x00 handle 42
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
    bdaddr 00:02:72:B0:00:26 mode 2 clkoffset 0x0000
Quoted 1 line

HCI Event: Read Remote Supported Features (0x0b) plen 11

    status 0x00 handle 42
    Features: 0xff 0xff 0x05 0x38 0x18 0x18 0x00 0x00
Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

    Remote Name Request (0x01|0x0019) status 0x00 ncmd 1

< HCI Command: Authentication Requested (0x01|0x0011) plen 2
handle 42

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

    Authentication Requested (0x01|0x0011) status 0x00 ncmd 1
Quoted 1 line

HCI Event: Link Key Request (0x17) plen 6

    bdaddr 00:02:72:B0:00:26
< HCI Command: Link Key Request Negative Reply (0x01|0x000c) plen 6
    bdaddr 00:02:72:B0:00:26
Quoted 1 line

HCI Event: Remote Name Req Complete (0x07) plen 255

    status 0x00 bdaddr 00:02:72:B0:00:26 name 'Raymond-pc'
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 10

    Link Key Request Negative Reply (0x01|0x000c) ncmd 1
    status 0x00 bdaddr 00:02:72:B0:00:26
Quoted 1 line

HCI Event: PIN Code Request (0x16) plen 6

    bdaddr 00:02:72:B0:00:26
< HCI Command: PIN Code Request Negative Reply (0x01|0x000e) plen 6
    bdaddr 00:02:72:B0:00:26
Quoted 1 line

HCI Event: Command Complete (0x0e) plen 10

    PIN Code Request Negative Reply (0x01|0x000e) ncmd 1
    status 0x00 bdaddr 00:02:72:B0:00:26
Quoted 1 line

HCI Event: Auth Complete (0x06) plen 3

status 0x06 handle 42
Error: PIN or Key Missing

According to the wiki, this is the senario that : no passkey agent available or rejection

But , Since I using security "auto", why it still looking for an agent ?

Raymond

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#2 lore raw

Re: [Bluez-users] How to using security "Auto" in pairing , I tried but not working ?

Hi

I found in some way , it works, as below:

Quoted 17 lines

Hi

I do not have passkey-agent running , so I try to use auto for security
and hope it can send back the passkey auto.

My setting in hcid.conf is as below :

options {
       # Automatically initialize new devices
       autoinit yes;
       security auto;
       pairing multi;
       offmode devdown;
       # Default PIN code for incoming connections
       passkey "1234";
}
Quoted 1 line

But this don't work :

I found the behavior is :

If I initiate a bonding through dbus, this won't working. But if the bonding request is initiate from remote, this auto security setting can work , and will send the passkey as in the conf file.

If I using security user, and use passkey-agent --default <pin> as the agent.
Then , no matter the bonding is initiate from which side , it will always working.

Is the auto procedure designed to doing so ?

Thanks.

Raymond

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#3 lore raw
In reply to Raymond Ingles

Hi Mr.Raymond,

I have sony erricisson k750i mobile and bluetooth enabled on my mobile and laptop's bluetooth and from my mobile i used remote desktop application (under entertainment this demo is available in youtube.com) and the same thing i want to use on suse linux with usb bluetooth dongle.As you suggested RDP and VNC will these both support suse linux 10.1 .How do I proceed.

--
Umesh

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users