全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 1505|回复: 6

关于自动登录 gnome

[复制链接]
发表于 2010-8-19 19:49:55 | 显示全部楼层 |阅读模式
小弟刚买了个vps , debian5 + gnome, 专门用来在gnome环境里运行 wine Mt4 ,  wine mt4  需要图形环境。
母机重启后,没自动登录gnome, wine mt4也没自动运行了。 请问怎样在母机重启后自动登录 gnome ?
 楼主| 发表于 2010-8-19 22:18:37 | 显示全部楼层
各位同学 知道怎样 vps 自动登录 gnome 的吗? 十分感谢。
发表于 2010-8-19 22:21:58 | 显示全部楼层
楼下可以帮你
你想用什么登陆?
发表于 2010-8-19 22:27:48 | 显示全部楼层
启动项配置到 init 5。

评分

参与人数 1威望 +15 收起 理由
won.cc + 15 我很赞同

查看全部评分

 楼主| 发表于 2010-8-19 22:45:13 | 显示全部楼层
配置到 init5 无效 。是要 Vps 母即重启后自动登录 gnome, 目的是运行需要图形环境的 Wine MT4 。
用gdm自动登录
daemon.log
Aug 19 06:40:47 vs188141 avahi-daemon[11963]: Server startup complete. Host name is vs188141.local. Local service cookie is 4076303070.
Aug 19 06:40:47 vs188141 mysqld_safe[12110]: started
Aug 19 06:40:47 vs188141 mysqld[12113]: 100819  6:40:47 [Note] /usr/sbin/mysqld: ready for connections.
Aug 19 06:40:47 vs188141 mysqld[12113]: Version: '5.0.51a-24+lenny4'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  (Debian)
Aug 19 06:40:48 vs188141 /etc/mysql/debian-start[12174]: Upgrading MySQL tables if necessary.
Aug 19 06:40:48 vs188141 /etc/mysql/debian-start[12180]: Looking for 'mysql' in: /usr/bin/mysql
Aug 19 06:40:48 vs188141 /etc/mysql/debian-start[12180]: Looking for 'mysqlcheck' in: /usr/bin/mysqlcheck
Aug 19 06:40:48 vs188141 /etc/mysql/debian-start[12180]: This installation of MySQL is already upgraded to 5.0.51a, use --force if you still need to run mysql_upgrade
Aug 19 06:40:48 vs188141 /etc/mysql/debian-start[12219]: Checking for insecure root accounts.
Aug 19 06:40:48 vs188141 /etc/mysql/debian-start[12223]: WARNING: mysql.user contains 3 root accounts without password!
Aug 19 06:40:48 vs188141 /etc/mysql/debian-start[12224]: Triggering myisam-recover for all MyISAM tables
Aug 19 06:40:49 vs188141 xinetd[13835]: Reading included configuration file: /etc/xinetd.d/chargen [file=/etc/xinetd.conf] [line=14]
Aug 19 06:40:49 vs188141 xinetd[13835]: Reading included configuration file: /etc/xinetd.d/daytime [file=/etc/xinetd.d/daytime] [line=28]
Aug 19 06:40:49 vs188141 xinetd[13835]: Reading included configuration file: /etc/xinetd.d/discard [file=/etc/xinetd.d/discard] [line=26]
Aug 19 06:40:49 vs188141 xinetd[13835]: Reading included configuration file: /etc/xinetd.d/echo [file=/etc/xinetd.d/echo] [line=25]
Aug 19 06:40:49 vs188141 xinetd[13835]: Reading included configuration file: /etc/xinetd.d/time [file=/etc/xinetd.d/time] [line=26]
Aug 19 06:40:49 vs188141 xinetd[13835]: removing chargen
Aug 19 06:40:49 vs188141 xinetd[13835]: removing chargen
Aug 19 06:40:49 vs188141 xinetd[13835]: removing daytime
Aug 19 06:40:49 vs188141 xinetd[13835]: removing daytime
Aug 19 06:40:49 vs188141 xinetd[13835]: removing discard
Aug 19 06:40:49 vs188141 xinetd[13835]: removing discard
Aug 19 06:40:49 vs188141 xinetd[13835]: removing echo
Aug 19 06:40:49 vs188141 xinetd[13835]: removing echo
Aug 19 06:40:49 vs188141 xinetd[13835]: removing time
Aug 19 06:40:49 vs188141 xinetd[13835]: removing time
Aug 19 06:40:49 vs188141 xinetd[13835]: xinetd Version 2.3.14 started with libwrap loadavg options compiled in.
Aug 19 06:40:49 vs188141 xinetd[13835]: Started working: 0 available services
Aug 19 06:40:49 vs188141 init: no more processes left in this runlevel
Aug 19 06:41:01 vs188141 gdm[13854]: WARNING: Failed to start X server several times in a short time period; disabling display :0

gdm.conf 配置 以下 也没用。
[daemon]
GdmXserverTimeout=50
AutomaticLoginEnable=true
AutomaticLogin=jackffz
 楼主| 发表于 2010-8-19 22:49:18 | 显示全部楼层
用 freenx 登录后,发现 wine mt4 没有在母机重启的时候自动运行。 用freenx 登录后才运行。 感谢各位同学的回答。
 楼主| 发表于 2010-8-20 16:40:47 | 显示全部楼层
不知道怎样在母机 reboot 后 自动进入 gnome , 继续等待解决方法。。。。。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-4-29 14:22 , Processed in 0.087852 second(s), 10 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表