Running Firefox In A Ubuntu LXC Container

Jared9922

New Member
Aug 11, 2021
9
0
1
22
Hello,

I was just wondering if anyone had a tutorial I could follow to use the Firefox web browser in a lxc ubuntu container. I have been looking around for an answer on Google but everything seems to have to do with docker rather than lxc containers. Any help would be greatly appreciated.

Thanks,
Jared
 
Hi,

At least with Ubuntu 20.04, you can just install firefox with APT, and forward the application over SSH with ssh -X <user>@<ip_address> firefox. Note that you may also have to enable root login over ssh if using the root user of the container. Is this the solution you were looking for, or did you have another idea in mind?
 
Thank you for the response! I currently have an SSH server setup on my windows machine. I am trying to ssh into the windows machine from my Linux container. I can ssh from my windows machine to the Linux container but not the other way around. When I try to ssh into the windows machine from my linux machine I get this error:

Code:
jared@<Windows Machine IP> password:

Permission denied, please try again.

jared@<Windows Machine IP> password:

Permission denied, please try again.

jared@<Windows Machine IP> password:

jared@<Windows Machine IP> password: Permission denied (publickey,password,keyboard-interactive).

I have already checked and both the Windows machine and the Linux machine can ping one another so I am assuming the windows ssh is somehow blocking this. Any help would be greatly appreciated.

Thanks,
Jared
 
Thanks for the reply oguz. I am unable to ssh into the Windows machine at all. I am able to ssh from my windows machine into the linux machine but the linux machine can not ssh into the windows machine. Both machines can ping one another. I have tried messing with the username and password and I am just about positive that they are correct. The user, Jared, is an admin account and is the only account on the Windows machine. The lines that aren't commented in my Windows ssh config file are shown below:

Code:
AllowUsers jared@<Jared'sIp>
PermitRootLogin yes
PubkeyAuthentication yes
AuthorizedKeysFile    .ssh/authorized_keys
PasswordAuthentication yes
Match Group administrators
       AuthorizedKeysFile __PROGRAMDATA__/ssh/administrators_authorized_keys

Here is the entire command line while trying to ssh into the windows machine from the Linux machine:
Code:
root@CT103:~# ssh jared@<Jared'sIp>
jared@<Jared'sIp> password:
Permission denied, please try again.
jared@<Jared'sIp> password:
Permission denied, please try again.
jared@<Jared'sIp> password:
jared@<Jared'sIp>: Permission denied (publickey,password,keyboard-interactive).

I have tried sshing from another machine and I wasn't allowed to so I am sure it is a problem with Windows. For testing I have completely disabled windows firewall. Any suggestions?
 
why do you want to ssh to the windows machine? it seems unrelated to the goal of the thread (running firefox in the container).

since it seems to be a specific windows issue it's not a proxmox problem, you should ask in a windows forum
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!