Find the answer to your Linux question:
Results 1 to 4 of 4
I'm new to the linux command line and I need to open up a server (let's call it "school.it.so.edu") where important css files are placed. From my laptop, I already ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2011
    Posts
    1

    Red face Opening rdesktop windows through linux-command line


    I'm new to the linux command line and I need to open up a server (let's call it "school.it.so.edu") where important css files are placed. From my laptop, I already have the remote desktop command from Windows, so I just plug in the "computer/connection" ("schoolsc.so.edu") and I am automatically connected to the server.

    I need to be able to do that through the linux command line and I'm using the manual given ($rdesktop help) but I type it and it doesn't seem to work.

    Any thoughts, ideas??


    Thank you.

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,763
    Code:
    rdesktop --help
    rdesktop: invalid option -- '-'
    rdesktop: A Remote Desktop Protocol client.
    Version 1.6.0. Copyright (C) 1999-2008 Matthew Chapman.
    See http://www.rdesktop.org/ for more information.
    
    Usage: rdesktop [options] server[:port]
       -u: user name
       -d: domain
       -s: shell
       -c: working directory
       -p: password (- to prompt)
       -n: client hostname
       -k: keyboard layout on server (en-us, de, sv, etc.)
       -g: desktop geometry (WxH)
       -f: full-screen mode
       -b: force bitmap updates
       -L: local codepage
       -A: enable SeamlessRDP mode
       -B: use BackingStore of X-server (if available)
       -e: disable encryption (French TS)
       -E: disable encryption from client to server
       -m: do not send motion events
       -C: use private colour map
       -D: hide window manager decorations
       -K: keep window manager key bindings
       -S: caption button size (single application mode)
       -T: window title
       -N: enable numlock syncronization
       -X: embed into another window with a given id.
       -a: connection colour depth
       -z: enable rdp compression
       -x: RDP5 experience (m[odem 28.8], b[roadband], l[an] or hex nr.)
       -P: use persistent bitmap caching
       -r: enable specified device redirection (this flag can be repeated)
             '-r comport:COM1=/dev/ttyS0': enable serial redirection of /dev/ttyS0 to COM1
                 or      COM1=/dev/ttyS0,COM2=/dev/ttyS1
             '-r disk:floppy=/mnt/floppy': enable redirection of /mnt/floppy to 'floppy' share
                 or   'floppy=/mnt/floppy,cdrom=/mnt/cdrom'
             '-r clientname=<client name>': Set the client name displayed
                 for redirected disks
             '-r lptport:LPT1=/dev/lp0': enable parallel redirection of /dev/lp0 to LPT1
                 or      LPT1=/dev/lp0,LPT2=/dev/lp1
             '-r printer:mydeskjet': enable printer redirection
                 or      mydeskjet="HP LaserJet IIIP" to enter server driver as well
             '-r sound:[local[:driver[:device]]|off|remote]': enable sound redirection
                         remote would leave sound on server
                         available drivers for 'local':
                         alsa:	ALSA output driver, default device: default
                         oss:	OSS output driver, default device: /dev/dsp or $AUDIODEV
             '-r clipboard:[off|PRIMARYCLIPBOARD|CLIPBOARD]': enable clipboard
                          redirection.
                          'PRIMARYCLIPBOARD' looks at both PRIMARY and CLIPBOARD
                          when sending data to server.
                          'CLIPBOARD' looks at only CLIPBOARD.
       -0: attach to console
       -4: use RDP version 4
       -5: use RDP version 5 (default)
       -y: use raw keyboard (default no)
    Code:
    rdesktop schoolsc.so.edu

  3. #3
    Linux Enthusiast
    Join Date
    Jan 2005
    Location
    Saint Paul, MN
    Posts
    679
    Also see:
    grdesktop which does use rdesktop but has a GUI screen to launch the rdesktop window.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Aug 2007
    Posts
    6
    And here is one example:

    alias backup_k='rdesktop -g1280x900 192.168.254.10:33891 -u zduric -p password'

    -g1280x900 ==resolution
    :33891 part after the IP (or in your case hostname) == port if not default

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •