rdesktop gives ERROR: Failed to open display: Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Remote Ubuntu 12.04 desktop cannot display X on local laptopGateway Server in rdesktopProblem connecting to remote desktoprdesktop: windows server does not answerrdesktop full screen not centered, everything leaning to rightRemote desktop using Remmina and VNC through SSH tunelling. Is my LAN blocking VNC?Front-end for rdesktoprdesktop, credSSP and kerberosUbuntu SSH GUI issue

How do pianists reach extremely loud dynamics?

Fundamental Solution of the Pell Equation

Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?

How does the math work when buying airline miles?

How do I find out the mythology and history of my Fortress?

Dating a Former Employee

Wu formula for manifolds with boundary

Would "destroying" Wurmcoil Engine prevent its tokens from being created?

Maximum summed powersets with non-adjacent items

Does classifying an integer as a discrete log require it be part of a multiplicative group?

old style "caution" boxes

Significance of Cersei's obsession with elephants?

What is the meaning of the simile “quick as silk”?

How to find all the available tools in mac terminal?

When the Haste spell ends on a creature, do attackers have advantage against that creature?

What does "lightly crushed" mean for cardamon pods?

How to react to hostile behavior from a senior developer?

First console to have temporary backward compatibility

Is "Reachable Object" really an NP-complete problem?

How to compare two different files line by line in unix?

What's the meaning of "fortified infraction restraint"?

Is it common practice to audition new musicians one-on-one before rehearsing with the entire band?

Do jazz musicians improvise on the parent scale in addition to the chord-scales?

How to convince students of the implication truth values?



rdesktop gives ERROR: Failed to open display:



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Remote Ubuntu 12.04 desktop cannot display X on local laptopGateway Server in rdesktopProblem connecting to remote desktoprdesktop: windows server does not answerrdesktop full screen not centered, everything leaning to rightRemote desktop using Remmina and VNC through SSH tunelling. Is my LAN blocking VNC?Front-end for rdesktoprdesktop, credSSP and kerberosUbuntu SSH GUI issue



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








11















I have a .bash_aliases file with several aliases which I use to connect to Windows machines. The aliases are set up like this:



rdesktop -d domain -u username -p password -k fr-be -g 1920x1024 -T Customer-SupportPC -a 24 IP


Yesterday the connection was working fine, today the connection gives me following error:



ERROR: Failed to open display:


SSH sessions are no problem, it's only a problem with rdesktop to a Windows server. X11 forwarding is set to yes in /etc/ssh/sshd_config










share|improve this question






















  • Have you tried to set display DISPLAY=:0.0 rdesktop <server>? Your didn't change something? How was your last time connection? How you terminate your session? Does any rdesktop is still running? if yes, you would need to kill those sessions first as it caused the DISPLAY used by that session still and doesn't allocate same display thought

    – αғsнιη
    Sep 17 '17 at 15:39












  • @αғsнιη I have set DISPLAY to 0 but not for a specific server, makes no difference except it shows display:0 in the error. No, I did not change something. What do you mean by last time connection? I usually terminate my session by closing the rdesktop screen but when I get this error I use ctrl + c. There are no rdesktop procs in ps -ef

    – Noosrep
    Sep 18 '17 at 6:54











  • Are you in GNU screen or tmux? Do you get the same error when you run xclock?

    – Adam Katz
    Oct 26 '17 at 19:54






  • 1





    AFAIK you need to export the DISPLAY variable, not set it. Otherwise child processes, like your rdesktop, won't inherit it.

    – Robert Riedl
    Jan 27 '18 at 14:44

















11















I have a .bash_aliases file with several aliases which I use to connect to Windows machines. The aliases are set up like this:



rdesktop -d domain -u username -p password -k fr-be -g 1920x1024 -T Customer-SupportPC -a 24 IP


Yesterday the connection was working fine, today the connection gives me following error:



ERROR: Failed to open display:


SSH sessions are no problem, it's only a problem with rdesktop to a Windows server. X11 forwarding is set to yes in /etc/ssh/sshd_config










share|improve this question






















  • Have you tried to set display DISPLAY=:0.0 rdesktop <server>? Your didn't change something? How was your last time connection? How you terminate your session? Does any rdesktop is still running? if yes, you would need to kill those sessions first as it caused the DISPLAY used by that session still and doesn't allocate same display thought

    – αғsнιη
    Sep 17 '17 at 15:39












  • @αғsнιη I have set DISPLAY to 0 but not for a specific server, makes no difference except it shows display:0 in the error. No, I did not change something. What do you mean by last time connection? I usually terminate my session by closing the rdesktop screen but when I get this error I use ctrl + c. There are no rdesktop procs in ps -ef

    – Noosrep
    Sep 18 '17 at 6:54











  • Are you in GNU screen or tmux? Do you get the same error when you run xclock?

    – Adam Katz
    Oct 26 '17 at 19:54






  • 1





    AFAIK you need to export the DISPLAY variable, not set it. Otherwise child processes, like your rdesktop, won't inherit it.

    – Robert Riedl
    Jan 27 '18 at 14:44













11












11








11








I have a .bash_aliases file with several aliases which I use to connect to Windows machines. The aliases are set up like this:



rdesktop -d domain -u username -p password -k fr-be -g 1920x1024 -T Customer-SupportPC -a 24 IP


Yesterday the connection was working fine, today the connection gives me following error:



ERROR: Failed to open display:


SSH sessions are no problem, it's only a problem with rdesktop to a Windows server. X11 forwarding is set to yes in /etc/ssh/sshd_config










share|improve this question














I have a .bash_aliases file with several aliases which I use to connect to Windows machines. The aliases are set up like this:



rdesktop -d domain -u username -p password -k fr-be -g 1920x1024 -T Customer-SupportPC -a 24 IP


Yesterday the connection was working fine, today the connection gives me following error:



ERROR: Failed to open display:


SSH sessions are no problem, it's only a problem with rdesktop to a Windows server. X11 forwarding is set to yes in /etc/ssh/sshd_config







16.04 remote-desktop rdesktop






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Sep 14 '17 at 8:50









NoosrepNoosrep

1,52221334




1,52221334












  • Have you tried to set display DISPLAY=:0.0 rdesktop <server>? Your didn't change something? How was your last time connection? How you terminate your session? Does any rdesktop is still running? if yes, you would need to kill those sessions first as it caused the DISPLAY used by that session still and doesn't allocate same display thought

    – αғsнιη
    Sep 17 '17 at 15:39












  • @αғsнιη I have set DISPLAY to 0 but not for a specific server, makes no difference except it shows display:0 in the error. No, I did not change something. What do you mean by last time connection? I usually terminate my session by closing the rdesktop screen but when I get this error I use ctrl + c. There are no rdesktop procs in ps -ef

    – Noosrep
    Sep 18 '17 at 6:54











  • Are you in GNU screen or tmux? Do you get the same error when you run xclock?

    – Adam Katz
    Oct 26 '17 at 19:54






  • 1





    AFAIK you need to export the DISPLAY variable, not set it. Otherwise child processes, like your rdesktop, won't inherit it.

    – Robert Riedl
    Jan 27 '18 at 14:44

















  • Have you tried to set display DISPLAY=:0.0 rdesktop <server>? Your didn't change something? How was your last time connection? How you terminate your session? Does any rdesktop is still running? if yes, you would need to kill those sessions first as it caused the DISPLAY used by that session still and doesn't allocate same display thought

    – αғsнιη
    Sep 17 '17 at 15:39












  • @αғsнιη I have set DISPLAY to 0 but not for a specific server, makes no difference except it shows display:0 in the error. No, I did not change something. What do you mean by last time connection? I usually terminate my session by closing the rdesktop screen but when I get this error I use ctrl + c. There are no rdesktop procs in ps -ef

    – Noosrep
    Sep 18 '17 at 6:54











  • Are you in GNU screen or tmux? Do you get the same error when you run xclock?

    – Adam Katz
    Oct 26 '17 at 19:54






  • 1





    AFAIK you need to export the DISPLAY variable, not set it. Otherwise child processes, like your rdesktop, won't inherit it.

    – Robert Riedl
    Jan 27 '18 at 14:44
















Have you tried to set display DISPLAY=:0.0 rdesktop <server>? Your didn't change something? How was your last time connection? How you terminate your session? Does any rdesktop is still running? if yes, you would need to kill those sessions first as it caused the DISPLAY used by that session still and doesn't allocate same display thought

– αғsнιη
Sep 17 '17 at 15:39






Have you tried to set display DISPLAY=:0.0 rdesktop <server>? Your didn't change something? How was your last time connection? How you terminate your session? Does any rdesktop is still running? if yes, you would need to kill those sessions first as it caused the DISPLAY used by that session still and doesn't allocate same display thought

– αғsнιη
Sep 17 '17 at 15:39














@αғsнιη I have set DISPLAY to 0 but not for a specific server, makes no difference except it shows display:0 in the error. No, I did not change something. What do you mean by last time connection? I usually terminate my session by closing the rdesktop screen but when I get this error I use ctrl + c. There are no rdesktop procs in ps -ef

– Noosrep
Sep 18 '17 at 6:54





@αғsнιη I have set DISPLAY to 0 but not for a specific server, makes no difference except it shows display:0 in the error. No, I did not change something. What do you mean by last time connection? I usually terminate my session by closing the rdesktop screen but when I get this error I use ctrl + c. There are no rdesktop procs in ps -ef

– Noosrep
Sep 18 '17 at 6:54













Are you in GNU screen or tmux? Do you get the same error when you run xclock?

– Adam Katz
Oct 26 '17 at 19:54





Are you in GNU screen or tmux? Do you get the same error when you run xclock?

– Adam Katz
Oct 26 '17 at 19:54




1




1





AFAIK you need to export the DISPLAY variable, not set it. Otherwise child processes, like your rdesktop, won't inherit it.

– Robert Riedl
Jan 27 '18 at 14:44





AFAIK you need to export the DISPLAY variable, not set it. Otherwise child processes, like your rdesktop, won't inherit it.

– Robert Riedl
Jan 27 '18 at 14:44










1 Answer
1






active

oldest

votes


















0














I have never had any luck with the rdesktop program. I have great luck with the remmina package. If you don't mind, I suggest you try that and see if it solves this.






share|improve this answer























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f955722%2frdesktop-gives-error-failed-to-open-display%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    I have never had any luck with the rdesktop program. I have great luck with the remmina package. If you don't mind, I suggest you try that and see if it solves this.






    share|improve this answer



























      0














      I have never had any luck with the rdesktop program. I have great luck with the remmina package. If you don't mind, I suggest you try that and see if it solves this.






      share|improve this answer

























        0












        0








        0







        I have never had any luck with the rdesktop program. I have great luck with the remmina package. If you don't mind, I suggest you try that and see if it solves this.






        share|improve this answer













        I have never had any luck with the rdesktop program. I have great luck with the remmina package. If you don't mind, I suggest you try that and see if it solves this.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Oct 26 '18 at 1:46









        pauljohn32pauljohn32

        2,4691026




        2,4691026



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f955722%2frdesktop-gives-error-failed-to-open-display%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Tamil (spriik) Luke uk diar | Nawigatjuun

            Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

            Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?