"rdesktop -s notepad" logs on to the normal Desktop

Jonas Neumann <[email protected]> Mon, 9 Dec 2013 18:37:18 +0100
Newsgroups gmane.network.rdesktop.user
Message-ID <CAOOES9y-3Wdjv3E-JbwEEqkd2ahpf3WeXMgd5sAgtmk3tWpiZA@mail.gmail.com>
--===============2868248317738478674==
Content-Type: multipart/alternative; boundary=047d7bd7581e8a34cc04ed1d7271

--047d7bd7581e8a34cc04ed1d7271
Content-Type: text/plain; charset=ISO-8859-1

Hello List,
I got a problem with rdesktop:
rdesktop -u $USER -p USER -s notepad $IP
still starts the normal Windows desktop. "notepad" is just an expamle,
other Programs won't work as well.

I also tried following variations:
rdesktop -u $USER -p $PASSWORD -s "notepad" $IP
rdesktop -u $USER -p $PASSWORD -s 'notepad' $IP
rdesktop -u $USER -p $PASSWORD -s "notepad.exe" $IP
rdesktop -u $USER -p $PASSWORD -s 'notepad.exe' $IP
rdesktop -u $USER -p $PASSWORD -s notepad.exe $IP

There is no output in the shell that I start rdesktop with. As far as I
know there is no possibility to achieve a higher Log Level - is this
correct?

I tried two Clients both with Ubuntu 12.04.3 LTS.
I used rdesktop 1.7.0, 1.7.1 and 1.8.1 - they all just start the Windows
desktop, notepad is not even started.
As a RDP Server I tried Windows XP SP3 and Windows Server 2003, both just
showing the Windows Desktop.

Using SeamlessRDP (http://www.cendio.com/seamlessrdp/) did not help:
rdesktop -u $USER -p $PASSWORD -A -s 'c:\Programme\ThinLinc\
WTSTools\seamlessrdpshell.exe notepad' $IP
lead to the same situation.

I found someone who seemed to have the same problem:
http://howtoforums.net/viewtopic.php?t=52
> I tried your seamess setup instructions. They work when the server is
Windows 2003 but not when it is XP SP2. I have fast user switching turned
on on the XP box. It shows the full screen instead of the singe app (say
notepad).
He solved it with ensuring that no user was currently logged on:
>After some trial and error I was able to start an app on XP box by
ensuring that no user is currently logged onto the XP box.
This does not work for me.

I also found: https://help.ubuntu.com/community/SeamlessVirtualization
> Enable Terminal Services: in the control panel, click User Accounts.
Ensure that Use the Welcome Screen and Fast User Switching are both
checked. Click OK. Note: Fast User Switching is not available to computers
that are part of a network domain.
This does not solve my Problem either :(.

To me it seems, that the "-s" is lost somewhere between the Client and the
Server. In the Windows Log I can not find any errors, there is just the
information that someone logged on via RDP. In the Windows Logs there is no
hint, that the user wanted to start notepad.

Does someone have some pointers for me where to look for the cause of this
problem? Did anyone have the same Problem and got so solve it? I'd
appreciate every help :)

--

Jonas N.

--047d7bd7581e8a34cc04ed1d7271
Content-Type: text/html; charset=ISO-8859-1

<div dir="ltr">Hello List,<br>
I got a problem with rdesktop:<br>
rdesktop -u $USER -p USER -s notepad $IP<br>
still starts the normal Windows desktop. &quot;notepad&quot; is just an expamle, other Programs won&#39;t work as well.<br>
<br>
I also tried following variations:<br>
rdesktop -u $USER -p $PASSWORD -s &quot;notepad&quot;
$IP<br>
rdesktop -u $USER -p $PASSWORD -s &#39;notepad&#39;
$IP<br>
rdesktop -u $USER -p $PASSWORD -s &quot;notepad.exe&quot;
$IP<br>

rdesktop -u $USER -p $PASSWORD -s &#39;notepad.exe&#39;
$IP<br>
rdesktop -u $USER -p $PASSWORD -s notepad.exe $IP<br>
<br>
There is no output in the shell that I start rdesktop with. As far as I 
know there is no possibility to achieve a higher Log Level - is this 
correct?<br>
<br>
I tried two Clients both with Ubuntu 12.04.3 LTS.<br>
I used rdesktop 1.7.0, 1.7.1 and 1.8.1 - they all just start the Windows desktop, notepad is not even started.<br>
As a RDP Server I tried Windows XP SP3 and Windows Server 2003, both just showing the Windows Desktop.<br>
<br>
Using SeamlessRDP (<a href="http://www.cendio.com/seamlessrdp/" target="_blank">http://www.cendio.com/seamlessrdp/</a>) did not help:<br>
rdesktop -u $USER -p $PASSWORD -A -s &#39;c:\Programme\ThinLinc\<div dir="ltr">WTSTools\seamlessrdpshell.exe notepad&#39; $IP<br>
lead to the same situation.<br>
<br>
I found someone who seemed to have the same problem:<br>
<a href="http://howtoforums.net/viewtopic.php?t=52" target="_blank">http://howtoforums.net/viewtopic.php?t=52</a><br>
&gt; I tried your seamess setup instructions. They work when the server is 
Windows 2003 but not when it is XP SP2. I have fast user switching 
turned on on the XP box. It shows the full screen instead of the singe 
app (say notepad).<br>
He solved it with ensuring that no user was currently logged on:<br>
&gt;After some trial and error I was able to start an app on XP box by 
ensuring that no user is currently logged onto the XP box.<br>
This does not work for me.<br>
<br>
I also found: <a href="https://help.ubuntu.com/community/SeamlessVirtualization" target="_blank">https://help.ubuntu.com/community/SeamlessVirtualization</a><br>
&gt; Enable Terminal Services: in the control panel, click User Accounts. 
Ensure that Use the Welcome Screen and Fast User Switching are both 
checked. Click OK. Note: Fast User Switching is not available to 
computers that are part of a network domain.<br>
This does not solve my Problem either :(.<br>
<br>
To me it seems, that the &quot;-s&quot; is lost somewhere between the Client and 
the Server. In the Windows Log I can not find any errors, there is just 
the information that someone logged on via RDP. In the Windows Logs 
there is no hint, that the user wanted to start notepad.<br>
<br>
Does someone have some pointers for me where to look for the cause of 
this problem? Did anyone have the same Problem and got so solve it? I&#39;d 
appreciate every help :)<br><br>--<br><br></div><div>Jonas N.<br></div></div>

--047d7bd7581e8a34cc04ed1d7271--


--===============2868248317738478674==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
--===============2868248317738478674==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============2868248317738478674==--