LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-19-2023, 10:24 AM   #1
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,659

Rep: Reputation: 255Reputation: 255Reputation: 255
Which web browser can be X11 forwarded over SSH?


Hello,

There is falkon, but chromium and firefox in ubuntu cannot be forwarded.

What else more?

Kind regards
 
Old 11-20-2023, 12:14 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,047

Rep: Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348
I don't understand. All of them are simple X apps, works the same way (from this point of view). If ssh x11 forwarding configured properly every and each app can be used that way. But probably nee more details what are you trying.
 
Old 11-20-2023, 12:23 AM   #3
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,383

Rep: Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763
In my experience, Firefox can be sluggish when using X11 forwarded over SSH. I recommend trying VNC tunneled through a SSH connection.
 
1 members found this post helpful.
Old 11-20-2023, 12:24 AM   #4
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,359
Blog Entries: 3

Rep: Reputation: 3767Reputation: 3767Reputation: 3767Reputation: 3767Reputation: 3767Reputation: 3767Reputation: 3767Reputation: 3767Reputation: 3767Reputation: 3767Reputation: 3767
Any graphical package can use X11 forwarding, if it is using X. However, some more recent distros have been chasing down the Wayland dead end. If the remote system has Wayland, then you will not be able to forward the graphical output as-is.

There are some fatal shortcomings in X11 which have not and probably cannot (given the lack of people with the skill) be fixed. Wayland was supposed to replace it but has been "under development" for over 15 years yet without becoming a viable alternative.

The situation is dire, as there are fewer skilled IT people every year. The tiny group that are able to evade being rounded up and broken by the frauds, poseurs, and charlatans now leading most education programmmes are very few each year, and certainly not enough to replace those that age out of the field. Those that are subject to such programmes spend their time contributing to the global mess created by javascript (today's BASIC) rather than studying advanced maths and C.

Whoa. I digress.

If the remote system is running Wayland then there might be some kind of bridge like XWayland which is rumored to provide some kind of X11 compatibility.
 
2 members found this post helpful.
Old 11-20-2023, 07:52 AM   #5
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,659

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by allend View Post
In my experience, Firefox can be sluggish when using X11 forwarded over SSH. I recommend trying VNC tunneled through a SSH connection.
You mean ?
Code:
ssh -C -X  myusername@distant 

export DISPLAY=:0 ; screen -d -m     x11vnc 

export DISPLAY=:0 ; screen -d -m     firefox freemails.org

Code:
xtightvncviewer distant:0
or maybe:

Code:
  ssh -C -X  myusername@distant   xtightvncviewer localhost:0
Right?

Last edited by Xeratul; 11-20-2023 at 07:54 AM.
 
Old 11-20-2023, 07:55 AM   #6
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,359
Blog Entries: 3

Rep: Reputation: 3767Reputation: 3767Reputation: 3767Reputation: 3767Reputation: 3767Reputation: 3767Reputation: 3767Reputation: 3767Reputation: 3767Reputation: 3767Reputation: 3767
Try without screen and without overriding the $DISPLAY defaults. The latter will definitely prevent X forwarding from working.

Code:
$ ssh -X  myusername@distant 
$ firefox freemails.org &
$ echo $DISPLAY
That'll test your basic forwarding capabilities using Firefox.
 
Old 11-21-2023, 05:49 PM   #7
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,383

Rep: Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763
This is what I do for VNC through SSH tunnel .
 
Old 11-22-2023, 12:38 AM   #8
lvm_
Member
 
Registered: Jul 2020
Posts: 985

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
Any browser will work provided it is set up not to use hardware video acceleration which bypasses X11 and outputs straight to the hardware (not entirely true, actually, but mostly true)
 
Old 11-23-2023, 03:53 AM   #9
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,659

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by Turbocapitalist View Post
Try without screen and without overriding the $DISPLAY defaults. The latter will definitely prevent X forwarding from working.

Code:
$ ssh -X  myusername@distant 
$ firefox freemails.org &
$ echo $DISPLAY
That'll test your basic forwarding capabilities using Firefox.
isn't it slow? VNC needed?

But, firefox (modern one on ubuntu or manjaro) does not allow X11 forward any longer.
 
Old 11-23-2023, 04:04 AM   #10
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,359
Blog Entries: 3

Rep: Reputation: 3767Reputation: 3767Reputation: 3767Reputation: 3767Reputation: 3767Reputation: 3767Reputation: 3767Reputation: 3767Reputation: 3767Reputation: 3767Reputation: 3767
Forwarding seems to work as recently as Mozilla Firefox 119.0.1 on Linux Mint 21.2. Which one do you have and does in not work in practice?
 
  


Reply



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
[SOLVED] /usr/bin/X11/X11/....... 10 X11 subsets & counting walter74 Linux - General 2 06-07-2015 12:36 AM
How do I get KDE/KDM forwarded with x11 SSH? cf5nedy6i54yi Linux - Newbie 6 01-21-2011 09:48 AM
Finding out where ssh X11 sessions are forwarded to jgombos Linux - Networking 0 06-10-2009 01:58 AM
Can sound be forwarded through a SSH tunnel? greenhornet Linux - Networking 1 10-06-2004 09:14 AM
Using Grip (X forwarded) to rip CDs remotely over ssh ? chazza Linux - Software 4 05-02-2004 06:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:45 PM.

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