Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #241522 > unrolled thread
| Started by | Julius Hamilton <juliushamilton100@gmail.com> |
|---|---|
| First post | 2021-10-20 10:10 +0200 |
| Last post | 2021-10-21 00:50 +0200 |
| Articles | 5 — 4 participants |
Back to article view | Back to linux.debian.user
GUI browser in VNC Julius Hamilton <juliushamilton100@gmail.com> - 2021-10-20 10:10 +0200
Re: GUI browser in VNC Hans <hans.ullrich@loop.de> - 2021-10-20 10:40 +0200
Re: GUI browser in VNC Anssi Saari <as@sci.fi> - 2021-10-20 10:40 +0200
Re: GUI browser in VNC Chuck Zmudzinski <brchuckz@netscape.net> - 2021-10-20 22:10 +0200
Re: GUI browser in VNC Chuck Zmudzinski <brchuckz@netscape.net> - 2021-10-21 00:50 +0200
| From | Julius Hamilton <juliushamilton100@gmail.com> |
|---|---|
| Date | 2021-10-20 10:10 +0200 |
| Subject | GUI browser in VNC |
| Message-ID | <DaePE-2K0-13@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
Hey, I’d like to run a desktop in VNC and open GUI browsers like Firefox in it. I succeeded in setting up the VNC server but after installing Firefox, Chromium and Chrome I find they don’t open when I launch them. Is this because I am root user? Is it just because you should always run browsers as non-root? Thanks very much, Julius
[toc] | [next] | [standalone]
| From | Hans <hans.ullrich@loop.de> |
|---|---|
| Date | 2021-10-20 10:40 +0200 |
| Message-ID | <DafiF-2T9-1@gated-at.bofh.it> |
| In reply to | #241522 |
Am Mittwoch, 20. Oktober 2021, 10:06:27 CEST schrieb Julius Hamilton: Could be an environment problem. Try to open a shell, then start firefox or chrome from the commandline. Maybe then you might see, why it does not start. If the other system is a linux system, you can also connect with ssh and start gui applications. Note, you must use the tag -X with ssh, like ssh -X -l myusername host_or_IP Good luck! Hans > Hey, > > I’d like to run a desktop in VNC and open GUI browsers like Firefox in it. > > I succeeded in setting up the VNC server but after installing Firefox, > Chromium and Chrome I find they don’t open when I launch them. > > Is this because I am root user? > > Is it just because you should always run browsers as non-root? > > Thanks very much, > Julius
[toc] | [prev] | [next] | [standalone]
| From | Anssi Saari <as@sci.fi> |
|---|---|
| Date | 2021-10-20 10:40 +0200 |
| Message-ID | <DafiG-2T9-7@gated-at.bofh.it> |
| In reply to | #241522 |
Julius Hamilton <juliushamilton100@gmail.com> writes: > Hey, > > I’d like to run a desktop in VNC and open GUI browsers like Firefox in it. > > I succeeded in setting up the VNC server but after installing Firefox, Chromium and Chrome I find they don’t open when I launch them. > > Is this because I am root user? Possibly. Is it too hard to try that out? Can you run any GUI app like xterm or xclock for example?
[toc] | [prev] | [next] | [standalone]
| From | Chuck Zmudzinski <brchuckz@netscape.net> |
|---|---|
| Date | 2021-10-20 22:10 +0200 |
| Message-ID | <Daq4q-12l-7@gated-at.bofh.it> |
| In reply to | #241522 |
On 10/20/2021 4:06 AM, Julius Hamilton wrote: > Hey, > > I’d like to run a desktop in VNC and open GUI browsers like Firefox in it. > > I succeeded in setting up the VNC server but after installing Firefox, > Chromium and Chrome I find they don’t open when I launch them. > > Is this because I am root user? > > Is it just because you should always run browsers as non-root? > > Thanks very much, > Julius > > I use the tigervnc-standalone-server package for VNC access. It allows a VNC server to be run as a normal user. It works fine with firefox on my system. Set up the VNC password and the xstartup script in the $HOME/.vnc configuration directory. The package provides tools such as vncpasswd to help set it up, and you can set the xstartup script to start any installed desktop environment. I have used it with gnome, lxde, and lxqt and it works fine. I don't think the package provides encrypted connections, though, so I only use it on a trusted private network or with a VPN that provides security and encryption. After installing and configuring it, start the server as an ordinary user: $ vncserver -geometry 1024x768 You can adjust the geometry as desired and connect to it from any VNC viewer. I also use Xen and Xen's built-in VNC server also works fine with firefox in my experience - Xen's built-in VNC server allows access to Debian running in Xen unprivileged domains from any VNC viewer, but that is probably a niche use case. Cheers, Chuck
[toc] | [prev] | [next] | [standalone]
| From | Chuck Zmudzinski <brchuckz@netscape.net> |
|---|---|
| Date | 2021-10-21 00:50 +0200 |
| Message-ID | <Daszf-2ng-7@gated-at.bofh.it> |
| In reply to | #241533 |
On 10/20/2021 4:01 PM, Chuck Zmudzinski wrote: > On 10/20/2021 4:06 AM, Julius Hamilton wrote: >> Hey, >> >> I’d like to run a desktop in VNC and open GUI browsers like Firefox >> in it. >> >> I succeeded in setting up the VNC server but after installing >> Firefox, Chromium and Chrome I find they don’t open when I launch them. >> >> Is this because I am root user? >> >> Is it just because you should always run browsers as non-root? >> >> Thanks very much, >> Julius >> >> > > I use the tigervnc-standalone-server package for VNC access. It allows > a VNC server to be run as a normal user. It works fine with firefox on > my system. > > Set up the VNC password and the xstartup script in the $HOME/.vnc > configuration directory. The package provides tools such as vncpasswd > to help set it up, and you can set the xstartup script to start any > installed desktop environment. I have used it with gnome, lxde, and > lxqt and it works fine. I don't think the package provides encrypted > connections, though, Actually, looking at the man pages for tigervncserver, there are options to provide encrypted connections using X509 certs or TLS. This would also presumably require the VNC viewer to support X509 or TLS security, but I have not tried it. > > After installing and configuring it, start the server as an ordinary > user: > > $ vncserver -geometry 1024x768 > > You can adjust the geometry as desired and connect to it from any > VNC viewer. Also, as normal (non-root) user, you stop it with: $ vncserver -kill :1 Cheers, Chuck
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web