TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Run chrome in linux with root login

1 点作者 hobbyist大约 13 年前
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.<p>Here is a neat trick.. pretty simple actually.<p>just ssh into localhost with the user id with X enabled.<p>ssh user@127.0.0.1 -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..<p>cheers

1 comment

ez77大约 13 年前
Why would you want to run a browser as root?
评论 #3782285 未加载