Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-03-2007, 06:23 AM   #1
Registered: Nov 2007
Distribution: Ubuntu Server and Desktop
Posts: 41

Rep: Reputation: 15
rdesktop problems

Hi there

I'm Trying to use rdesktop on my linux machine but the problem it's the following

$rdesktop <server>
Autoselected keyboard map pt
ERROR: Failed to open display:

Can anyone help

Old 12-03-2007, 07:36 AM   #2
Senior Member
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
Are you running a GUI on your Linux machine (i.e. not just logged in at text console)?

If you are running a GUI (an X server), and it is a typical configuration, and you are logged in as the same user which is running the GUI, it should just be a mater of setting the DISPLAY environment variable. It is a little strange that this is not set already, hence my question about being logged in at the console.

To set the DISPLAY and run the rdesktop, do this:
DISPLAY=:0.0 rdesktop <server>
By the way, it would be helpful if you could put your distribution in your profile. it will then appear on the left when you post, and save time / improve the accuracy of answers.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rdesktop shishirkotkar Linux - Networking 0 10-29-2007 11:31 AM
problems with rdesktop.. can anyone help djlotek Linux - Software 2 10-15-2005 06:28 PM
Where's rdesktop? GuestFox Slackware 2 03-07-2005 10:32 PM
disp&keyboard problems rdesktop in RH 7.1 naveentpr Linux - Newbie 0 11-18-2003 03:06 AM
rdesktop? tdanco Linux - General 5 02-22-2003 09:36 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration