Discussion

Run chrome in linux with root login

One reason for still sticking with firefox has been that chrome does not run when you are logged in as root. I know the implications of running as root, so I had to find some way of still using chrome.

Here is a neat trick.. pretty simple actually.

just ssh into localhost with the user id with X enabled.

ssh [email protected] -X Chrome runs just as you would expect it to. Before running chrome you will need to change permission of /tmp folder with the command "chmod 1777 /tmp".. run this command before ssh'ing into user login..

cheers

1 points hobbyist 14 years ago 2 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton